|
I want to do face-detection, and I don't want to implement it myself. What is the best freely available face-detector implementation? Bonus points for source code that is open. |
|
OpenCV has a nice implementation of Viola-Jones style face detection. (Basiscally this uses a boosted cascade of Haar features -- allowing for fairly robust and computationally efficient object detection.) http://opencv.willowgarage.com/documentation/cpp/object_detection.html The code is open-source, although there may be IP issues to consider if you want to use this algorithm in a commercial app. Haar-based methods are ridiculously fast too, which is always nice. The downside is that training is very involved, but for faces someone already did that for you.
(Jul 01 '10 at 19:19)
sbirch
|
|
Yann LeCun has some supervised deep convolutional neural nets that seem to work really well on the face detection task. For instance the LeNet5 architecture seems to work fine for this. AFAIK there is ready to run push button implementation of such a model but it should be possible to train one with either theano or eblearn and a faces databases such as one of those referenced here or there. There is a face detection demo for eblearn: http://eblearn.sourceforge.net/demos/face/index.shtml
(Jul 03 '10 at 05:27)
zeno
Very nice. Thx for the pointer.
(Jul 03 '10 at 08:36)
ogrisel
|
|
There is also a LGPL Java implementation of the Viola-Jones algorithm available. It further comes with the ability to load the cascade model files from the OpenCV project. |
|
If you want to think a little outside the box of Viola and Jones(!) you should definitely look into t-SNE methods (and neighbor embedding in general) Although I kind of agree that viola and Jones is hard to beat. There are MATLAB and Python implementations available on that website t-SNE not for face detection.
(Dec 19 '12 at 03:56)
mrgloom
|
|
Try libface (http://sourceforge.net/projects/libface/). Also I've modified one of their examples to save the coordinates of faces detected from the input images (http://github.com/andrewharvey/perlmisc/tree/master/detectfaces/). |
|
This is not freely available, but you should definitely check out http://pittpatt.com/ not valid anymore
(Dec 19 '12 at 03:57)
mrgloom
|
You can find Matlab toolboxes at http://www.face-rec.org/source-codes/
Check this for more information on face recognition: http://www.face-rec.org/