Maximum distance a face can be detected (from camera)?
Hello,
I am currently working on a project in which I am trying to detect a person face using OpenCV. I am able to detect the face successfully using the detectMultiScale function as long as the person is less than about 3.5 meters from the camera. Since I am new to OpenCV, I wanted to know if there was a way to increase the distance at which the user can stand? or is this a limitation of the lbpcascade_frontalface.xml file?
Thanks in advance!
there is a minimum Size limit of 24x24 pixels.
(you can't detect something smaller than the cascades were trained upon.)
... but you can train a cascade with smaller data
^^ probably not that much. 20 seems to be lower limit
well I've trained an 14x18 LBP, and it worked pretty nice, ofcourse with a svm classifier
oooh, so, that's no more a Cascade or such, just a 2-class SVM ? for faces ? using integral images, too ? sounds pretty interesting !
no-no-no, I have trained an LBP cascade for faces, but because there were many false-detections, I have also trained a classifier for improve the detection.
That makes sense. Thanks for your replies. I might train on smaller data or just use some other feature to detect the user.
do not go very far in the size, you'll not get anymore the faces centered or you'll going to loose information