views:

367

answers:

2

Hello, everybody.

Does someone here knows a face detection API for Objective-C? I just want to detect one or more faces inside a photo, so it's not necessary face recognition.

I want to build something similar to the iPhoto's feature that puts a square on all faces in a photo.

It would be nice if the API can be used on iPhone apps too.

Regards.

+4  A: 

Your best bet is to look into the following tutorial. It outlines how to port OpenCV to the iPhone. Also the OpenCV Wiki has an example of using OpenCV for face recognition. I realize that it is written in C but this is probably the best you are going to get.

Alex Winston
I've edited the link into your answer. Please let me know if it's the wrong one.
Peter Hosey
That's the one, thanks.
Alex Winston
A: 

If a web service would be suitable for your app, you could checkout face.com which provides an RESTful API.

Twelve47