I wish to access camera frames and do some processing on the frames. My problem is that for the specified time and frame rate given I am unable to obtain the estimated number of frames (when there is no processing done the number of frames dropped/lost is much lesser compared to when processing is enabled). A glimpse of the problem is shared on another thread which was specific to camera object identification code. However based on the discussion on that thread I believe this issue is prevalent when I use other sample codes as well. I felt it is appropriate to create a separate thread for the same reason.
Earlier post can be referred here :
In this context I have the following queries :
How to detect frame drops ?
Is there a way to estimate the exact number of frames (and time) lost between two frames which are successfully processed ( may be using any metadata which is supplied along with the frame) ?
Is there a mechanism to prevent loss of frames ? Can a queue implementation solve this problem to some extent ? If yes, can someone refer me to some implementation which I can refer to ?