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

The "test_dnn_out.avi" file created in demo suggests that demo is skipping frames. #38

Open
shahzaib-aslam-confiz opened this issue Oct 2, 2019 · 0 comments

Comments

@shahzaib-aslam-confiz
Copy link

shahzaib-aslam-confiz commented Oct 2, 2019

I ran the out of the box demo on a 2 minutes video which has 8 fps. After demo is complete the "test_dnn_out.avi" file is of 30 seconds. I am writing the "test_dnn_out.avi" in 8 fps. So this suggests that the demo is skipping some frames while processing. On investigating the code I didn't find any areas where this might be happening. Is it true that the demo skips frames by default? If so then how to stop this behavior and make it run detection on all frames.
I have added a counter variable in "void *fetch_in_thread(void *ptr);" function. My video has total of 936 frames. But at the end of the demo the counter in the fetch_in_thread function has value around 200. And after multiple runs the value does vary from 195-250.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant