How does Face recognition technology work?

The bird-eye view of the process of facial recognition is as follows:

  • Face detection and face representation : Find the face(s) in the photo, and create a representation (also known as face signature).

  • Model training : convert several examples of a person's face into a single model)

  • Recognition : compare a face representation of a new photo to the models of a list of candidate identities.


Face detection


Many confuses this with face recognition. detection is the process of finding the face, recognition is the process of finding whom the face belongs to.

Face detection involves passing a sliding window of various sizes across the image, each time trying to answer the question "is there a face at this size at this position".

This is an expensive operation, and is typically dominating the CPU cost of facial recognition systems.

This step may involve an initial quick filtering stage, that will result in a fairly large number of candidate faces, and a following step that will run a more expensive test on each candidate face to confirm it's a face.

Face detection is considered a solved problem, there are very good face detectors available.

Once a face is detected, we need to extract a face signature. The best facial recognition systems are aligning the faces before extracting the face signature as it makes the face signature much better.

Aligning is the process of rotating and scaling the face in order to bring all of the key features into the same places (eyes, nose, mouth etc).

This is important because it allows the the function generating the face signature to work on much cleaner input, and makes recognition perform much better.

Representing the face is probably the most important step in facial recognition. A good representation will allow us to distinguish between faces is different people even if they are similar.

Typically the face is represented as a vector of floating point numbers, where the meaning of each number depends on the representation itself.

Many people think that facial recognition is working by looking at the distance between the eyes, ratio of mouth size to it and so on.

We can indeed represent a face like this (lets say the first number is the distance between the eyes, the second number of the ratio between that distance and the size of the mouth and so forth).

In reality - classic facial recognition systems does nothing like this.

instead of trying to engineer the features, they run a low level descriptor such as LBP, which encodes the gradient direction around each pixel.

There are other descriptors, but LBP have been one of the more successful ones for a while. Other techniques involved using several such descriptors and combining them into one big representation.

About a year ago, with the publication of the Deep Face paper it became clear that the best representation can be generated using a neural network.

f4ea0238cf1f21a11a1f17848009eb60

Model training


Simply put, model training is the process of taking several face representation belonging to the same person, and creating a classifier that can recognize more examples of face representation from the same person. The most popular approach is to use a linear SVM.

Recognition:


Given a new face representation and a list of candidate identities, recognition will 'compare' the face models of the identities with the new face representation and will generate a score for each one. The score if passing a certain threshold is an indication of a recognition.

This is very fast operation, and depending on the size of the representation - modern systems can obtain scores for millions of candidates per second.

How good the scores are for recognition depends on the quality of all the preceding steps, and especially on the quality of the representation function.

Comments

Popular posts from this blog

Essay and Letter Writing (KD Campus)

आठवें वेतन आयोग (8th Pay Commission) में इतना होगा न्यूनतम वेतन

कॉमिक्स की तलाश – पुराना टाइम, जब सुपरहीरो हमारे दोस्त होते थे

Labels

BOOK8 Class Notes8 MATERIAL8 UPSC8 ENGINEERING7 PRATIYOGITA DARPAN7 PREVIOUS7 Positive Thought7 करेंट अफेयर्स7 ALP6 BANK6 CURRENT AFFAIRS6 Essay6 general studies6 math6 GENERAL KNOWLEDGE5 GROUP D5 Writing5 rakesh yadav5 CHSL4 CLASSROOM NOTES4 DESCRIPTIVE4 IAS4 KD Campus4 Lucent4 ENGLISH3 HINDI3 Letter3 PDF3 TECHNICIAN3 TEST SERIES3 VISION IAS3 all book3 analysis3 bpsc3 geography3 history3 jpsc jssc3 tier 23 100 golden rules2 APTITUDE2 Antonyms2 CA2 DECEMBER 2017 ENGLISH EDITION2 ECONOMY2 ELECTRICAL ENGINEERING2 EXAM2 GA2 MADE EASY2 MONTHLY2 NTPC2 SATISH CHANDRA2 TITAB ROY2 adda2472 assistant loco pilot2 bihar2 bssc2 cbt 12 class notes pdf2 computer2 january2 jharkhand2 kd campus English2 math notes2 mathematics2 mazagine2 new Delhi2 physics2 polity2 practice set2 quantitative2 rrb je2 sbi clerk2 scientific assistant2 ssc cgl2 ssc mts2 synonyms2 ARIHANT1 ART CULTURE1 Abhinay maths1 BIHAR GK1 BOOKS1 BSC1 DRISTI NOTES1 Disha1 ECOSYSTEM1 ELECTRICAL1 English Version1 Feb 20181 GKTODAY1 HINDI CA DAILY1 INSIGHTS IAS1 JAN- MAY1 KRISHNA NANDAN CHAUHAN1 MB1 MOTIVATIONAL1 NCERT1 PUBLICATION1 QUESTION BANK1 Quote1 RPF CONSTABLE1 RPF SI1 Reasoning1 SAMBIDHAN1 SOLVED PAPER1 SPEEDY1 SSC JE1 TRICK1 advance math1 all1 audio notes1 award1 bankers adda1 cbt 21 cbt21 clerk1 cloze test1 compitition power1 cpo1 csat1 december1 electronic engineering1 exam review1 first sift1 ghatna chakra1 ibps1 india today1 interview1 jan 20191 jan-june1 latest1 mahesh mishra1 mains1 mcq1 mock test1 model1 morning sift1 non-verbal1 one word Substitutions1 oscars1 oscars 20191 po1 pre1 question paper1 review1 rrb alp review1 rukmini prakashan1 saar sangrah1 science1 speed1 ssc gd1 state level1 study iq1 the platform1 trade1 upkar1 verbal1 yadav1 प्रतियोगिता दर्पण1
Show more