Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[FIX] VideoManager read function failed on multiple videos #107
This happens because of the bug in video_manager.py around lines 750. If one of the captured videos is over, an empty numpy.ndarray is returned on line 745 and its further use leads to the aforementioned error.
Great find!! I have one small favour to ask - as part of the review, I think the if statement should be changed to a while to handle the case where a video doesn't have any frames for some reason.
Do you agree/disagree? Just want to get your feedback on that before merging this.
Thank you so much for the fix, much appreciated!