iPhone Face Detection

iPhone Face Detection

02/17/09 | by zveriu | Categories: Software, iPhone, Hack

iPhone Face Detection

I think it is pretty amazing, since as far as I know and searched, it seems that it is the first face detection app to be running on iPhone itself.

Regarding comparison with iFace and iPhoto - it looks like these apps snap the picture and send it to a central server for processing and etc. (I am not going to go in a detailed description and comparison of all these apps features though)

Also, it seems like hotels far away from home may act as energy and ideas boosters. One year back once setting up my site, I proposed myself to make the code portable and run on as many platforms, including iPhone which I got at that time. One year of delaying and finally few days of hotel lock-up and I have it working for the iPhone.

Feeling of satisfaction is unbeatable.

Few notes:

  • Code is almost 100% portable. Yes, few minor tweaks of settings for the compiling environments, but overall the same routines are used for all these platforms: Windows, Linux, Cygwin, iPhone (FW 1.1.2), Mac OSX.
  • It is good to see false-positives and missed true-positives if talking from research point of view, since this means there is room to improve and study. The percentages of detected true-positive, missed true-positives and false-positives seems to be around 80%/15%/5%.
  • Still have to check and properly evaluate processing times. No figures here yet
  • Compilers used are gcc flavors for the corresponding platform/architecture
  • For the iPhone I used iphone-dev team’s toolchain for iPhone FW 1.x
  • Unfortunatelly, I cannot share or release code at this point. Please don’t ask for it at least for the moment
  • However, if you have any serious research or commercial offers, don’t hesitate to contact me (contacts on right panel)
  • Click here for related links of my previous work


  • Seems like last minute hassle made my facial features (eyes-mouth triangle) not to work properly. Hopefully will be fixed next time I touch the code (never know when it happens)
  • Face recognition. I have some experimental code for PCA method, though I want more research on this.
  • Face and flow tracking in video feed from iPhone (crappy) camera

Stay tuned…

Tags: iPhone face detection recognition tracking iFace iPhoto iFaceFriend image video processing computer vision digi-face digiface digi-face.net digi-face.org andrei costin andreicostin.com

Comments, Pingbacks:

Comment from: Igoriok [Visitor] Email
Super!!! Bravo!!!
BTW! Happy Birthday! :)
Da.. mi-era dor de Stefan cel Mare :)
PermalinkPermalink 02/17/09 @ 12:05
Comment from: Adrian [Visitor] Email
pe padruga cu palarie o cunosc, matinca e din freeimagem, corect? ;)

bravo shi HB!
PermalinkPermalink 02/18/09 @ 16:32
Comment from: zveriu [Member] · http://www.andreicostin.com
Igoriok : Stefan cel mare ruleste mereu =))

Adrian : Lena (padruga cu palarie) e un icon in lumea image processing :) ->



PermalinkPermalink 02/20/09 @ 21:37
Comment from: Adrian [Visitor] Email
cred ca pe timpurile celea era imaginea cu cea mai mare relozitzie de pe net, de asta :D
PermalinkPermalink 02/22/09 @ 20:15
Comment from: Ghita [Visitor] Email
wow, super! + muzica vasheee ruleste (personal i-mi aminteste de keygen-uri :D)
Faithless tipa ;)

dv, success,
let your software come into our mobiles!!!
haleluia :D!!!
PermalinkPermalink 02/25/09 @ 12:41
Comment from: banque et credit [Visitor] Email · http://banqueetcredit.com/
Interesting and informative post, thanks for share!
PermalinkPermalink 09/18/09 @ 12:34
Comment from: Term Papers [Visitor] Email
It’s great to see good information being shared.
PermalinkPermalink 12/11/09 @ 16:23
Comment from: Victor [Visitor]
Nice technology!
PermalinkPermalink 12/22/09 @ 04:51
This will obviously be for a power user in the beginning. Have you thought about what commercial application you would market first?

Great work BTW.
PermalinkPermalink 12/31/09 @ 02:53
Comment from: cheap computers [Visitor] Email
I proposed myself to make the code portable and run on as many platforms, including iPhone which I got at that time.
PermalinkPermalink 01/05/10 @ 01:53
Comment from: Iphonekönig [Visitor]
Nice post and thanks a lot for sharing it!

Greetings from germany!
PermalinkPermalink 01/11/10 @ 22:53
Comment from: penny stock picks [Visitor]
It's good to see that other people are helping the collective community make better software to utilize great hardware. Thanks a ton, this could be very powerful.
PermalinkPermalink 01/15/10 @ 22:07
Comment from: orem auto [Visitor] Email
This is such great information. I am wondering why there aren't more sites like this, that provide valuable information for readers.
PermalinkPermalink 02/13/10 @ 01:17
Comment from: Ann [Visitor] Email · http://www.google.com
Thanks for informaion!
PermalinkPermalink 02/18/10 @ 11:02
Comment from: jack [Visitor] · http://www.ipadgames.blogspot.com
thanks for informations.
PermalinkPermalink 03/13/10 @ 18:08
Comment from: iklan [Visitor] Email
cool, nice share
PermalinkPermalink 04/24/10 @ 09:18
Comment from: Online Casino [Visitor] Email
Wonderful Article! I have bookmarked this page and I love to share this with my friends and circle of influence.
PermalinkPermalink 05/05/10 @ 20:36
Comment from: maysam [Visitor] Email
why can't this be done using normal sdk? can u answer to my email address?
PermalinkPermalink 05/14/10 @ 23:43
Comment from: ed hardy [Visitor] Email
Thanks for your post!
PermalinkPermalink 06/01/10 @ 12:01
Comment from: Houston Home Security [Visitor] Email
Is there also a blink detection for this?
PermalinkPermalink 06/07/10 @ 06:53
Comment from: Home Security New York [Visitor] Email
Thanks for this video.
PermalinkPermalink 06/07/10 @ 09:43
Comment from: zveriu [Member] · http://www.andreicostin.com
@Houston Home Security:

No, there is no blink detection, but can be implemented. Interested in investing into that kind of feature? :)
PermalinkPermalink 06/12/10 @ 16:24
Comment from: Glen [Visitor] Email
I think it is a very good idea, and I also love the videos. But this could and must be a infringement of peoples rights. I did see a program on TV and it allows you to get info about a person from face book just by their photo, Total amazing tech and well worth while in lawinforment.
PermalinkPermalink 06/19/10 @ 18:51
Comment from: Iphone [Visitor] Email
iFace and iPhone......face detection...I definately do like this, especially if some programs/games/apps on the iPhone would be able to recognize your face, and utilize it in it's program. I'm hoping in particular for a game to come out with facial features
PermalinkPermalink 07/02/10 @ 00:15

This post has 63 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)


Cognitive and Scientific Brainology

A deep dive into brain's curiosities

July 2017
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          



XML Feeds

What is RSS?

powered by b2evolution free blog software