Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix FileVideoStream last frame being None #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 11, 2021

  1. fix last frame being None

    When FileVideoStream reaches the end of the file, it takes one more frame (which is NoneType) and tries to transform and add it to the queue. This has also been noted in issue PyImageSearch#251 . This causes an error if the transform expects a valid frame, or if the main script does not expect the last frame in the Queue to be NoneType.
    tapani-hopkins authored Nov 11, 2021
    Configuration menu
    Copy the full SHA
    1947b6a View commit details
    Browse the repository at this point in the history