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.
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.