|
|
Subscribe / Log in / New account

Linux Photo Tools (The H)

Linux Photo Tools (The H)

Posted Jun 9, 2011 15:35 UTC (Thu) by dashesy (guest, #74652)
In reply to: Linux Photo Tools (The H) by knobunc
Parent article: Linux Photo Tools (The H)

Face recognition is a much more difficult problem than tracking, and is generally known as cognition.

First, the image should be registered (you may avoid this if you have a very good quality image with enough resolution and the person has not moved her face in an awkward angle)
Second, features are extracted (to reduce the dimension); you may want to get some heuristic approach for this, or rely on a statistical approaches or on some eigenvalue decomposition, or wavelet transformed (thus reduced) feature space, or a combination.
Third, you have to perform steps 1 and 2 for a set of people you are interested in, and record the features in a database
Fourth, when you have a test image (to recognize the face) you can again perform the first two steps then compare the result against your database.
If your feature extraction is hierarchical with low-to-high (fast-to-slow, coarse-to-fine) approach then recognition may be fast enough to be practical.

Now, with OpenCV you can do all of the above!
And if you have an Intel CPU you can get the best from OpenCV using IPP.


to post comments

Linux Photo Tools (The H)

Posted Jun 9, 2011 16:55 UTC (Thu) by knobunc (guest, #4678) [Link] (1 responses)

If you have any good pointers for books or articles or documentation explaining OpenCV to a relative lay person that would be great.

I followed the DigiKam lead and found libface that may do some of what I want. I had to fix a couple of bugs in the sample code, so I haven't managed to see how good the software is at recognizing people yet.

Linux Photo Tools (The H)

Posted Jun 9, 2011 18:25 UTC (Thu) by dashesy (guest, #74652) [Link]

It might be a good idea to read the first few chapters from the classical Learning OpenCV, and that is more than enough because more likely no body needs all the features. Since the notation and class hierarchy is more important I found the cheat sheet more useful :) I have done pattern matching (not for face actually) and cannot tell anything regarding the performance of libface. Since there are many ways to extract the features you should find one that meets your needs regarding the speed and quality.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds