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

Empty output file on "detect_video" function #93

Open
alexandoikon13 opened this issue Aug 5, 2021 · 3 comments
Open

Empty output file on "detect_video" function #93

alexandoikon13 opened this issue Aug 5, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@alexandoikon13
Copy link

When running the "detect_video" function as given in the tutorial, I define the input and output file but the latter is empty.

@alexandoikon13 alexandoikon13 added the bug Something isn't working label Aug 5, 2021
@alankbi
Copy link
Owner

alankbi commented Aug 6, 2021

Would you be able to share the code that causes this issue? So is the output file missing completely or generated but has no frames?

@alexandoikon13
Copy link
Author

The code I use is the following:
visualize.detect_video(model, './videos/video1.mp4', './videos/output1.avi', score_filter=0.8)
It outputs an empty file.

@alankbi
Copy link
Owner

alankbi commented Aug 10, 2021

Could you check to make sure all the paths to files are correct? If a file is being written but is empty, then that probably means there's an issue when it comes to reading in the original video file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants