My app has the ability to store passwords. But these are important passwords, so I do not want the user to be hacked. I thought of being able to use facial recognition, than answering security questions or a passcode to enter. I am fine with the last two options, just stuck on facial recognition.
I have setup the view as a full camera view.
How can I perform facial recognition, is there an API out there, or some sample code? How can I make sure it is the same face I see?
One last thing, will holding up a picture recognize the face?
Facial recognition is a bad idea to store | recover any kind of important data…
Even if you have the best recognition algorithm, a simple picture can break your security!
But… answering to your question, Apple has released a face recognition API to iOS 6… to older iOS, you'll probably have to create your own algorithm.
Facial recognition algorithms are usually based on eye, eyebrow, nose-point and mouth distances.