1 | initial version |
Are you using the default OpenCV cascades? If not, you can train you own cascade, here is the guide. And take as much positives as you can, FDDB is a good database, but you can augment it with others. You should also use a large number of negatives during the training.
Another possible way (and preferable) is to apply tracking of faces. You can keep a list of faces and compare them between frames. Than, if face is detected regularly (i.e. 5 detections in a row), you consider it as a real face. BTW, check the DetectionBasedTracker class, it probably does what you want.