Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7828971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:34:04+00:00 2026-06-02T10:34:04+00:00

How can I do facial recognition on the iPhone. Could someone provide me with

  • 0

How can I do facial recognition on the iPhone. Could someone provide me with references/articles to point me in the right direction please? I have done research and realised that I need to do face detection first to extract the image and then do facial recognition by comparing it with other images within a database.

I have realised that I have do the face detection by using OpenCV or by utilising iOS 5.0 and upwards to detect the face. I am unsure on the facial recognition (I plan on storing images on a remote database and then doing the comparison against the remote database).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:34:06+00:00Added an answer on June 2, 2026 at 10:34 am

    Face detection

    I would use the Haarcascades available in open CV to perform quick and accurate face detection.

    http://opencv.willowgarage.com/wiki/FaceDetection

    Face recognition

    I would use a method such as Principal Component Analysis (PCA) a.k.a eigenfaces.

    http://www.cognotics.com/opencv/servo_2007_series/part_5/index.html

    That link shows a tutorial on how to get that working with OpenCV – I think this is written for C but i’m sure you can get the basic jist of it.

    You could also look at implementing it yourself if you feel brave (it’s not too bad)…

    http://www.face-rec.org/algorithms/PCA/jcn.pdf

    http://blog.zabarauskas.com/eigenfaces-tutorial/

    Database

    I actually did something similar to you albeit on a PC not an iPhone but its still the same concept. I stored all my images in the database as Blob data types then loaded them into my program when necessary.

    Edit

    The database is a particularly tricky part of the system as this is where the biggest bottleneck is. In my application, I would go through the following steps…

    1. Open application and grab training images from database
    2. Generate training set based on these images
    3. Once 1 and 2 have been completed the system is very quick as it just performs recognition against the training set.

    Fortunately for me, my database server was located on a LAN therefore speed wasn’t a problem, however I can see why you have an issue due to the fact that on a mobile device you have a limited data connection (speed/bandwidth). You can compress the images however this may lead to a worse recognition rate, due to image quality reduction and also you will have to decode on the device. There is also the issue of how to expose the remote database to the application, however I do believe this is possible using PHP and JSON (and other technologies, see below).

    Retrieving data from a remote database

    Maybe you could do an initial synchronize with the database so that the images are cached on the phone? One way or another I think you are probably going to have to have the images on the phone at some point regardless.

    Figuring out the best way to store the recognition data/images in the database was one of the biggest challenges I faced so I would be interested to hear if you find a good method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone point me in the right direction of some facial recognition libraries &
Possible Duplicate: Where can I find facial detection software, algorithms, etc? Does anyone have
Can someone please explain to me in a simple way why constants don't matter
Can this be done? It seems like this should be possible. In general, I
Can someone explain it succinctly? Can it be used with non-Silverlight clients?
Can someone recommend an up to date library for data Sanitization in PHP ?
I am new to facial recognition. I am working on a project in which
I am trying to do some facial recognition using EmguCV. I was wondering if
I have a broken image in IE that I can't seem to fix. I
Can anybody shed some light on getDay() in Javascript please. Here datepicker is textbox

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.