frameskipping
I wanted to use something like
for(;;) {
cap << frame; if (frameno % 3 == 0) frameNo++; { Do all our stuff } imshow
Depending how high i set my frames to be skipped the face rectangle just flickers more. This is of course expected, but not desired. I just want it to process less frames (it would still get all of them of course) but have no impact on my display.
What am i missing?
I would do
That makes sense! So this would still include the actual face detection correct, just not the face recognition processing.
Thanks a lot
I don't understand your comment but to avoid flickering you have to draw the rectangle each frame you show. Where the rectangle is placed when you skip the frame is it's up do you.
You need to apply a tracker on top of your detections that smooth your detections over time. The jitter is normal due to the pixel difference in found detection regions!