7
5

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.

asked May 19 '10 at 19:11

Joseph%20Turian's gravatar image

Joseph Turian ♦♦
579051125146

edited Aug 27 '10 at 12:11

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/

(Jul 07 '10 at 00:42) psan

6 Answers:
10

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.

answered May 22 '10 at 21:17

rmstar's gravatar image

rmstar
151112

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.

answered Jun 30 '10 at 18:45

ogrisel's gravatar image

ogrisel
498995591

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.

answered Jul 02 '10 at 15:22

ogrisel's gravatar image

ogrisel
498995591

edited Jul 02 '10 at 15:22

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

answered Jul 03 '10 at 06:09

Mark%20Alen's gravatar image

Mark Alen
1323234146

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/).

answered Jul 07 '10 at 07:28

AndrewHarvey's gravatar image

AndrewHarvey
161

This is not freely available, but you should definitely check out http://pittpatt.com/
Their online demo of their face detector is pretty impressive (I love the scroll bar which lets you make precision-recall tradeoffs)
( Maybe their product comes up with a reasonable price-tag or they have big discounts for academia )

answered Jul 05 '10 at 02:33

Aditya%20Mukherji's gravatar image

Aditya Mukherji
2251612

edited Jul 05 '10 at 02:34

not valid anymore

Pittsburgh Pattern Recognition has been acquired by Google, Inc.

(Dec 19 '12 at 03:57) mrgloom
Your answer
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.