CN100561502C - A kind of method and apparatus of face authentication - Google Patents

A kind of method and apparatus of face authentication Download PDF

Info

Publication number
CN100561502C
CN100561502C CNB2007101798095A CN200710179809A CN100561502C CN 100561502 C CN100561502 C CN 100561502C CN B2007101798095 A CNB2007101798095 A CN B2007101798095A CN 200710179809 A CN200710179809 A CN 200710179809A CN 100561502 C CN100561502 C CN 100561502C
Authority
CN
China
Prior art keywords
target
training sample
fisher
matching degree
certified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2007101798095A
Other languages
Chinese (zh)
Other versions
CN101187977A (en
Inventor
邓亚峰
黄英
王浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG ZHONGXING ELECTRONICS Co Ltd
Original Assignee
Vimicro Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2007101798095A priority Critical patent/CN100561502C/en
Publication of CN101187977A publication Critical patent/CN101187977A/en
Application granted granted Critical
Publication of CN100561502C publication Critical patent/CN100561502C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a kind of method of face authentication, this method comprises: utilize the Fei Sheer fisher eigenface method based on pivot analysis, calculate the Fei Sheer fisher coefficient of target to be certified; The similar matching degree that the phenotype Weak Classifier calculates described fisher coefficient correspondence is searched in utilization; More described similar matching degree and pre-set threshold draw authentication result.The present invention also discloses a kind of device of face authentication simultaneously, and this device comprises: coefficients calculation block, calculate the Fei Sheer fisher coefficient of target to be certified; The output computing module utilizes and searches the similar matching degree that the phenotype Weak Classifier calculates described fisher coefficient correspondence; Authentication module, more described similar matching degree and pre-set threshold draw authentication result.The method and apparatus of this face authentication of the present invention, by introduce than single threshold represent ability stronger search the phenotype Weak Classifier, can better classify to training sample, thereby improve the discrimination of face authentication, reduced false detection probability.

Description

A kind of method and apparatus of face authentication
Technical field
The present invention relates to mode identification technology, be specifically related to a kind of method and apparatus of face authentication.
Background technology
Along with computer technology rapid development, computer process ability is greatly improved, and many emerging technological means such as pattern-recognition, motion detection occurred.Wherein, people's face detects a kind of as mode identification technology, is one of convenient mode of man-machine interaction in the computer vision system.
People's face detects, be meant in image or image sequence information such as the position of determining everyone face, size, people's face detects the prerequisite of being not only technology such as face authentication, Expression Recognition, gesture recognition and people's face synthesize, and the detection of people's face originally has important practical value in each field such as intelligent human-machine interaction, intelligent video monitoring, video conference and picture and video frequency searching etc.Face authentication, the technology such as the detection of employing people face, face feature point location that are meant are obtained people's face positional information in the image, and serve as that the information that facial image was comprised is extracted on the basis with people's face positional information, and further adopt information that facial image comprises determine object whether by a kind of method of statement identity.
Face authentication at first needs to utilize people's to be certified face image that sorter is trained, and sets up this people's sorter model.
When someone carries out face authentication, usually state the identity information of oneself earlier, Verification System finds the sorter model of this information correspondence from validation database according to the information of statement, adopt this sorter model that this people is carried out face authentication, if the authentication result identity information of people's statement is therewith coincide, then the expression authentication is passed through, otherwise the expression authentication is not passed through.Described people to be certified, target hereinafter referred to as to be certified.
For each target to be certified of carrying out face authentication, all need to be this target P to be certified nTrain a model, and for this target to be certified, all training samples can be divided into two classes: the first kind is this P nCorresponding facial image, second class is that all are not this P nThe facial image of people's correspondence.
Usually the method for the face authentication that adopts be based on pivot analysis (Principal ComponentsAnalysis, face identification method PCA), PCA are a kind of linear data dimensionality reduction and feature extracting methods, and this method is divided into to be trained and use two stages:
At first training obtains the PCA space: the width of the training image (being generally rectangular image) during the supposition training is l, highly is h, with this two dimension input picture according to each pixel from left to right, from top to bottom sequential deployment is a dimensional vector, obtain
X = x 1 x 2 . . . x M - 1 x M
Make M=l*h, then the length of this one dimension row image vector is M.The number of supposing input picture is N, and then N image column vector is respectively X 1, X 2... .X N, the mean vector of N vector is u = 1 N Σ n = 1 N X n , Deduct mean vector respectively with described N image column vector, form the capable vector Z of an one dimension=[X 1-u, X 2-u ... .X N-u], then the covariance matrix of image vector is S t=ZZ TObviously, S tBe symmetric matrix, carry out obtaining after the characteristic value decomposition: S t=W ∧ W T, make Y=W TX, then YY T=∧ promptly passes through linear transformation W TAfter, eliminated between data redundant.
Suppose among the above-mentioned eigenvectors matrix W that obtains, total k of nonzero eigenvalue characteristic of correspondence vector, in order further to reduce the number of the proper vector that adopts in the algorithm, to reduce operand, preceding t proper vector can also further selecting the eigenwert maximum is as the final face characteristic vector (claiming eigenface again) that uses.
Then, face authentication is carried out in the PCA space of using training to obtain: a dimensional vector X who obtains the input picture correspondence, described column vector X to above-mentioned t the space projection that proper vector is formed that is obtained by training, is obtained a projection vector of being made up of t coefficient.Discerning as feature with this t dimension projection vector, is described face identification method based on PCA.
Wherein, for face authentication, described input picture is for extracting the facial image that human face region and scaling obtain after the fixed size according to face feature point positions such as eyes, faces.
Though the face authentication method based on PCA is a recognition of face field comparative maturity, the also more stable method of while performance, this method discrimination is not high, and flase drop takes place easily.Therefore, it is a lot of to carry out improved algorithm on the basis of PCA, such as the method for core pivot element analysis or the method for binary pivot analysis, but, most widely used PCA and Fei Sheer (Fisher) linear discriminant analysis (Linear Discriminant Analysis, face authentication method LDA) of being based on.
The following linear discriminant analysis method of introducing earlier based on PCA.
So-called Fisher linear discriminant analysis method is to seek a linear transformation sample is carried out conversion, makes the easier classification of sample characteristics after the conversion for example to have d dimension sample X 1, X 2... X n, N wherein 1The individual ω that belongs to 1Class, N 2The individual ω that belongs to 2Class.Respectively each sample is done projection on direction W, obtain scalar y n=W TX n, N d dimension sample can obtain N scalar like this, then set { y 1, y 2... y nCan be divided into two subclass Y 1And Y 2
The target of Fisher method is in order to seek classification direction W *Make Y 1, Y 2Classified best, for this reason: in the definition d dimension X space,
All kinds of sample averages m i = 1 N i Σ X j ∈ ω i X j , i = 1,2 ;
Sample within class scatter matrix S iFor: S i = Σ X i ∈ ω i ( X j - m i ) * ( X j - m i ) T , i = 1,2 ;
Total within class scatter matrix S wBe S W=S 1+ S 2
Dispersion matrix S between the sample class bBe S b=(m 1-m 2) * (m 1-m 2) T
To one dimension Y space, the definition sample average m i ′ = 1 N i Σ y ∈ Y i y , i = 1,2 ;
Dispersion in the sample class S i ′ = Σ y ∈ Y i ( y - m i ′ ) 2 , i = 1,2 ;
Dispersion S in total class w'=S 1'+S 2'.
Further define the Fisher criterion function J F ( w ) = ( m 1 ′ - m 2 ′ ) 2 S W ′ ;
In order to make the data after the projection be more prone to classification, therefore require described Fisher criterion function J F(w) get minimum value, thereby need the interior dispersion S of total class of the one-dimensional data after the projection w' try one's best little and between class dispersion as far as possible big.
The Fisher criterion function can be deformed into J F ( w ) = W T S b W W T S w W , W then *=arg max (J F(w)).Because J F(w) be Generalized Rayleigh Quotient, can adopt Lagrange (Lagrange) multiplier method to find the solution.Obtain at last w * = R λ * S w - 1 * ( m 1 - m 2 ) , R=(m wherein 1-m 2) T* w *Be scalar, then w *Direction be S w -1* (m 1-m 2).
Described face authentication method, flow process based on PCA and Fisher LDA as shown in Figure 1, comprising:
Step 101: adopt the training sample training to obtain the PCA space, calculate the proper vector in PCA space, get preceding t maximum eigenwert characteristic of correspondence vector constitutive characteristic face space.
Step 102:, calculate classification direction W according to described sample X according to the sample X in the eigenface SPATIAL CALCULATION fisher method *
According to described fisher method, need to calculate W *, so that to Y 1, Y 2Best classification is carried out in two set.Therefore in face authentication, for an image to be certified, the result of determination that need obtain is that the people's face in this image is the someone, to the result's of the yes or no that produces behind every image authentication to be certified set, is exactly described Y 1, Y 2Set.In order to reach the effect of best face authentication, just must be to Y 1Set, Y 2Correct classification is carried out in set, to avoid producing flase drop.
Therefore, the described method of step 102 is specially:
The facial image that training is used projects on the eigenface space, the projection vector that to obtain a length be t, the projection vector that with described length is t by this sample X, calculates classification direction S according to the formula that defines in the fisher method as the sample X in the fisher eigenface method w -1* (m 1-m 2).
Because the facial image that training is used all is to have carried out the input picture of demarcating, that is, for the people of a known identities, whether the facial image that uses during training is that people's face of the people of this known identities is known.Therefore, the classification direction W that finally calculates according to the good input picture of described demarcation *Have suitable differentiation, can distinguish Y more accurately 1Set and Y 2Set, the accuracy when having improved face authentication.
Step 103: obtain facial image to be certified, it is projected to the eigenface space obtain the projection vector that length is t, and then this projection vector is projected to the classification direction W that step 102 calculates *On, obtain a scalar (being called the Fisher coefficient).
Step 104: the magnitude relationship according to described fisher coefficient and the threshold value T that sets in advance draws authentication result.
A kind of method of described definite threshold value T is: the two good class facial images of demarcation that use during for training, obtain their projections respectively in the classification direction, and write down the Fisher coefficient that obtains after all projections; Suppose that the Fisher coefficient after the two class facial image projections meets Gaussian distribution, then data after the projection are carried out Gauss curve fitting after, select position that two class posterior probability equate as threshold value T.
The authentication method of PCA+Fisher shown in Figure 1 is than simple good based on the method effect of PCA, but, in the process of described definite threshold value T, need to suppose that the Fisher coefficient after the two class facial image projections meets Gaussian distribution, this can not be met in actual applications, has therefore influenced the scope of application of this method; In addition, the quantity of information that single threshold value T can represent only relies on threshold value T often can not exactly two class facial images be made a distinction very little, has therefore influenced the accuracy of this authentication method, occurs flase drop easily.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of face authentication, and better face authentication effect can be provided.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of method of face authentication, this method comprises:
Utilization is calculated the fisher coefficient of target to be certified based on the face authentication method of pivot analysis and Fei Sheer fisher linear discriminant analysis;
Calculating is used to train the training sample of the target to be certified of described sorter to concentrate, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described interval is divided into the sub-range of predetermined number, and determines the sub-range at the fisher coefficient place of described target to be certified;
Calculate the histogram of the training sample distribution of target to be certified in determined this sub-range;
According to described histogram, calculate the similar matching degree of searching the phenotype Weak Classifier;
More described similar matching degree and pre-set threshold draw authentication result.
The respectively corresponding sequence number in described each sub-range;
The method in the sub-range at the fisher coefficient place of described definite described target to be certified is:
Determine the sub-range corresponding sequence number at the fisher coefficient place of described target to be certified according to the following equation:
Utilize j = min ( HNUM - 1 , FLOOR ( ( F coeff - F min ) * HNUM F max - F min ) ) , Wherein min () is for getting minimum operation, and FLOOR () is downward rounding operation, and j is the sub-range corresponding sequence number at the fisher coefficient place of described target to be certified, F CoeffBe the fisher coefficient of described target to be certified, HNUM is the quantity in described sub-range.
The histogrammic method that the training sample of target to be certified distributes in determined this sub-range of described calculating is:
Add up in the sub-range at fisher coefficient place of described target to be certified, the number of the fisher coefficient of two classes target training sample to be certified, obtain the histogram that the fisher coefficient of described two class training samples distributes in this sub-range, described two class training samples comprise: first kind training sample corresponding with target to be certified and the second corresponding class training sample of all non-described targets.
Described according to described histogram, the method that calculates the similar matching degree of searching the phenotype Weak Classifier is:
Utilize h ( j ) = Hist 1 ( j ) Hist 2 ( j ) , Or h ( j ) = Hist 1 ( j ) + σ Hist 2 ( j ) + σ , Or h ( j ) = arctan ( ln ( Hist 1 ( j ) + σ Hist 2 ( j ) + σ ) ) The similar matching degree of phenotype Weak Classifier is searched in calculating, and wherein σ is the positive number greater than 0, and ln is the natural logarithm computing, and arctan is an arctangent cp cp operation, Hist 1(j) the expression sequence number is the histogram of first kind training sample in the sub-range of j, Hist 2(j) the expression sequence number is the histogram of the second class training sample in the sub-range of j, and h (j) is the described similar matching degree that calculates.
The method of setting described threshold value is: the similar matching degree of the sorter of the fisher coefficient correspondence in the calculation training sample set, the similar matching degree of the sorter of the fisher coefficient correspondence of concentrating according to described training sample is determined interval [TF Min, TF Max], described TF MinBe the minimum value of the similar matching degree of the sorter of fisher coefficient correspondence in the described training sample, TF MaxMaximal value for the similar matching degree of the sorter of fisher coefficient correspondence;
From interval [TF Min, TF Max] in select the point of predetermined number, calculate the classification error rate of described each point respectively; Described classification error rate is to be included into the number of training purpose summation of error category;
The value of setting the point that training sample classification error rate is minimum in the described each point is described threshold value.
Described target to be certified comprises target human face region and target eyes zone;
The method that described similar matching degree and pre-set threshold draw authentication result is:
The similar matching degree of the fisher coefficient correspondence of target human face region is made as h f, the similar matching degree of the fisher coefficient correspondence in target eyes zone is made as h e, set h fAnd h eEach self-corresponding weights calculates the result after their weighted, the result after the described weighted and pre-set threshold is compared draw authentication result.
A kind of device of face authentication, this device comprises:
Coefficients calculation block, output computing module and authentication module; And described output computing module comprises: the interval is provided with unit, sub-range determining unit, histogram calculation unit and sorter output computing unit;
Described coefficients calculation block is utilized the face authentication method based on pivot analysis and Fei Sheer fisher linear discriminant analysis, calculates the fisher coefficient of target to be certified;
Described interval dispensing unit calculates the training sample of the target to be certified be used to train described sorter and concentrates, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described sub-range determining unit is divided into the sub-range of predetermined number with the described interval of determining, and determines the sub-range at the fisher coefficient place of described target to be certified;
Described histogram calculation unit calculates the histogram of the training sample distribution of target to be certified in determined this sub-range;
Described sorter output computing unit draws the similar matching degree of searching the phenotype Weak Classifier according to described histogram calculation;
Described authentication module, more described similar matching degree and pre-set threshold draw authentication result.
Described authentication module comprises: threshold value is provided with the unit;
Described threshold value is provided with the unit, the similar matching degree of the sorter of the fisher coefficient correspondence in the calculation training sample set, and the similar matching degree of the sorter of the fisher coefficient correspondence of concentrating according to described training sample is determined interval [TF Min, TF Max], described TF MinBe the minimum value of the similar matching degree of the sorter of fisher coefficient correspondence in the described training sample, TF MaxMaximal value for the similar matching degree of the sorter of fisher coefficient correspondence; From interval [TF Min, TF Max] in select the point of predetermined number, calculate the classification error rate of described each point respectively; Described classification error rate is to be included into the number of training purpose summation of error category;
The value of setting the point that training sample classification error rate is minimum in the described each point is described threshold value.
Described coefficients calculation block is calculated the Fei Sheer fisher coefficient of target to be certified, and described target to be certified comprises target human face region and target eyes zone;
Described output computing module utilizes and to search the phenotype Weak Classifier and calculate the similar matching degree of fisher coefficient correspondence of described target human face region and the similar matching degree of the fisher coefficient correspondence in described target eyes zone respectively.
Further comprise authentication ' unit in the described authentication module;
Described authentication ' unit, preestablish each self-corresponding weights of similar matching degree of the fisher coefficient correspondence in the similar matching degree of fisher coefficient correspondence of target human face region and target eyes zone, calculate the result after their weighted, the result after the described weighted and described threshold value are compared draw authentication result.
As seen from the above technical solutions, the method and apparatus of this face authentication of the embodiment of the invention, by introduce than single threshold represent ability stronger search the phenotype Weak Classifier, can better classify to training sample, thereby improved the discrimination of face authentication, reduced false detection probability.
Description of drawings
Fig. 1 is the synoptic diagram of prior art PCA+Fisher eigenface method.
Fig. 2 is the schematic flow sheet of the method for face authentication in the embodiment of the invention.
Fig. 3 is the composition structural representation of the device of face authentication in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
On the basis of method shown in Figure 1, the embodiment of the invention proposes a kind of method of face authentication, and this method is utilized PCA+Fisher and in conjunction with searching the phenotype Weak Classifier, flow process as shown in Figure 2, comprising:
Step 201: utilize face authentication method, calculate the fisher coefficient of target to be certified based on pivot analysis and Fei Sheer fisher linear discriminant analysis;
The embodiment of the invention authenticates the target human face region, but because in the target human face region, the eyes zone is the zone that comprises the quantity of information maximum, therefore in order further to improve discrimination, the embodiment of the invention also further authenticates target eyes zone.Therefore, described target to be certified both can be the target human face region image that extracts from input picture, also can further comprise the target eyes area image that extracts from described input picture.
The method of the fisher coefficient of described calculating target to be certified is: the PCA coefficient of target to be certified is projected to the eigenface space, obtain again this projection vector being projected to fisher classification direction behind the projection vector, obtain the fisher coefficient of described target to be certified, concrete grammar is same as the prior art, repeats no more herein.
Step 202: utilize and search the similar matching degree that the phenotype Weak Classifier calculates the fisher coefficient correspondence of described target to be certified;
Describedly search the sorter that the phenotype Weak Classifier is to use the training sample training in advance to obtain, when carrying out face authentication, when comprising target human face region and target eyes zone in the described target to be certified simultaneously, naturally need target human face region training sample and two groups of training samples of target eyes regional training sample during training in advance, described target eyes regional training sample both can obtain separately in advance, also can from described target human face region training sample, extract, training obtains two and searches the phenotype Weak Classifier respectively, though described two sorters structure is also inequality, the authentication method of their training method when carrying out face authentication is identical.
It is to be noted simultaneously, though described target human face region is identical with the disposal route in target eyes zone, but when actual utilization searching the phenotype Weak Classifier and handle separately, these two processes are separate, do not have any relation between mutually.
Step 203: more described similar matching degree and pre-set threshold draw authentication result.
Should select to make the minimum threshold value of training sample classification error rate when determining threshold value S, the classification error rate of training sample be defined as all under this threshold value by the number of samples sum of misclassification, promptly be divided into first kind sample the second class sample number be divided into the number sum of the first kind sample of the second class sample.Because target to be certified may comprise target human face region and target eyes zone simultaneously, therefore the classification error rate of described training sample is in two groups of training samples, by the summation of the wrong number of samples of sorting out.
The described method of obtaining described threshold value is: the similar matching degree of the sorter of the fisher coefficient correspondence in the calculation training sample set, the similar matching degree of the sorter of the fisher coefficient correspondence of concentrating according to described training sample is determined interval [TF Min, TF Max], described TF MinBe the minimum value of the similar matching degree of the sorter of fisher coefficient correspondence in the described training sample, TF MaxMaximal value for the similar matching degree of the sorter of fisher coefficient correspondence;
Since comprise infinite a plurality of point in the interval, in order to reduce calculated amount, can be from interval [TF Min, TF Max] in select a certain number of point, calculate the classification error rate of described each point respectively, the value of setting the point that training sample classification error rate is minimum in the described each point is described threshold value.
For example, a kind of feasible scheme of obtaining threshold value is as follows:
With interval [TF Min, TF Max] be divided into FN sub-range, then total FN+1 end points, the value of each end points is respectively TF min + ( TF max - TF min ) * fn FN , Fn=0,1...FN, wherein fn is the end points sequence number;
Calculate the classification error rate of described FN+1 end points correspondence respectively, and the endpoint value of record sort error rate minimum, this endpoint value is made as threshold value.
Understand easily, this method for for example, is not the establishing method that is used to limit described threshold value only.
Correspondingly, the described method that draws authentication result according to described similar matching degree and pre-set threshold is: the similar matching degree of establishing the fisher coefficient correspondence of target human face region is h f, the similar matching degree of the fisher coefficient correspondence in target eyes zone is h e, set h fAnd h eEach self-corresponding weights calculates the result after their weighted, the result after the described weighted and preset threshold is compared draw authentication result.
Understand easily, when target to be certified only comprises the target human face region, the similar matching degree h of the fisher coefficient in target eyes zone eTherefore be 0, to the did not influence as a result of last weighted.
Following mask body place of matchmakers states in step 202~203, and the method that the phenotype Weak Classifier calculates the similar matching degree of described coefficient correspondence and draws authentication result is searched in a kind of possible utilization:
One, calculating is used to train the target training sample to be certified of described sorter to concentrate, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described interval is divided into the sub-range of predetermined number, for example described interval is divided into H NUMIndividual sub-range.Described H NUMValue rule of thumb select usually, the embodiment of the invention is not done concrete qualification, according to interval [F Min, F Max] the length value selecting to be of moderate size get final product, for example can get H usually NUM=32,48 or 64 etc.
When target to be certified comprised target human face region and target eyes zone, the independent respectively fisher coefficient that calculates separately correspondingly obtain two class intervals, and the H that the sub-range is divided was carried out in two class intervals NUMValue also separate.Also be same situation in each follow-up step, each step all is applicable to the treatment scheme in described target human face region and target eyes zone, therefore hereinafter no longer statement.
Two, determine the sub-range at the fisher coefficient place of described target to be certified;
The method in the sub-range at the fisher coefficient place of described definite described target to be certified is: the fisher coefficient corresponding sequence number j in described interval that calculates target to be certified.
Interval [F Min, F Max] be divided into H NUMIndividual sub-range, each section corresponding sequence number are j (0≤j≤H NUM-1, j is an integer), the fisher coefficient corresponding sequence number j that calculates target to be certified can adopt following formula:
j = min ( HNUM - 1 , FLOOR ( ( F coeff - F min ) * HNUM F max - F min ) ) , Wherein min () is for getting minimum operation, and FLOOR () is downward rounding operation, as FLOOR (1.9)=1, and FLOOR (2.2)=2.Need to prove, calculate described fisher coefficient corresponding sequence number j and can also adopt alternate manner, do not enumerate one by one that therefore, the formula of aforementioned calculation sequence number j for for example, is not to be used for limiting only herein.
Three, calculate on determined this sub-range the histogram Hist that two class training samples of described target to be certified distribute 1(j) and Hist 2(j).
The method of described compute histograms is: in all first kind training samples, the number of samples that the corresponding sequence number of fisher coefficient is j equals Hist 1(j); And similarly, in the second all class training samples, the number of samples that the corresponding sequence number of fisher coefficient is j equals Hist 2(j).Because described interval is divided into H NUMTherefore section understands Hist easily 1And Hist 2Be H NUMDimensional vector.
Four,, calculate and search the phenotype Weak Classifier according to described histogram h ( j ) = Hist 1 ( j ) Hist 2 ( j ) .
As shown in the above description, in the step 202, described utilization is searched the method that the phenotype Weak Classifier calculates the similar matching degree of described coefficient correspondence and is:
Step 202a (not shown): maximum, minimum value according to target training sample fisher coefficient to be certified obtain [F Min, F Max] interval, according to the H that sets NUM, calculate described coefficient corresponding sequence number j in described sub-range;
Step 202b (not shown): calculate in the sub-range of sequence number j the histogram that described two class training samples distribute.
Need to prove that when the practical application of people's face checking, the Fisher coefficient of some image to be verified may exceed interval [F Min, F Max] scope, when described Fisher coefficient exceeds [F Min, F Max] scope the time, think that promptly described image to be verified is not this people.
Further, the histogram Hist on the interval sequence number j 2(j) be zero, a kind of preferable definition mode of searching the phenotype Weak Classifier can further be set: h ( j ) = Hist 1 ( j ) + σ Hist 2 ( j ) + σ , Wherein σ be greater than zero on the occasion of, as get σ=0.006, but the present invention do not limit, equally also can get other values.
Perhaps, in order to obtain the expression mode that DATA DISTRIBUTION is more optimized, can also define to search the phenotype Weak Classifier be h ( j ) = arctan ( ln ( Hist 1 ( j ) + σ Hist 2 ( j ) + σ ) ) , This moment h (j) span be (0, π).Wherein ln is the natural logarithm computing, and arctan is an arctangent cp cp operation.
Preferably, the histogram Hist that can further obtain to statistics 1And Hist 2Adopt wave filter to carry out smoothing processing, for example adopt mean filter that described histogram is handled.
Equally, can also adopt mean filter to carry out smothing filtering to searching the phenotype Weak Classifier.
As seen, the method for this face authentication of the embodiment of the invention combines with PCA+Fisher by searching the phenotype Weak Classifier, makes the present invention go for the input picture that various sample probabilities distribute; Simultaneously, introducing than single threshold represent ability stronger search the phenotype Weak Classifier, can improve the discrimination of face authentication, reduce flase drop, in addition, when target to be certified comprised target human face region and target eyes zone simultaneously, preferred embodiment of the present invention can also further improve the discrimination of face authentication.
The present invention also provides a kind of device of face authentication, as shown in Figure 3, comprising: coefficients calculation block 310, output computing module 320 and authentication module 330;
Described coefficients calculation block 310 is calculated the Fei Sheer fisher coefficient of target to be certified;
Described output computing module 320 utilizes and searches the similar matching degree that the phenotype Weak Classifier calculates described fisher coefficient correspondence;
Described authentication module 330, more described similar matching degree and pre-set threshold draw authentication result.
Described output computing module 320 comprises: the interval is provided with unit 321, sub-range determining unit 322, histogram calculation unit 323 and sorter output computing unit 324;
Described interval is provided with unit 321, calculates the training sample of the target to be certified be used to train described sorter and concentrates, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described sub-range determining unit 322 is divided into the sub-range of predetermined number with the described interval of determining, and determines the sub-range corresponding sequence number at the fisher coefficient place of described target to be certified according to the following equation:
Utilize j = min ( HNUM - 1 , FLOOR ( ( F coeff - F min ) * HNUM F max - F min ) ) , Wherein min () is for getting minimum operation, and FLOOR () is downward rounding operation, and j is described sequence number, and the respectively corresponding sequence number in described each sub-range;
Described histogram calculation unit 323, fisher coefficient according to each training sample, add up in the sub-range at fisher coefficient place of described target to be certified, the number of the fisher coefficient of two classes target training sample to be certified, obtain the histogram that the fisher coefficient of described two class training samples distributes in this sub-range, described two class training samples comprise: first kind training sample corresponding with target to be certified and the second corresponding class training sample of all non-described targets;
Described sorter output computing unit 324 utilizes h ( j ) = Hist 1 ( j ) Hist 2 ( j ) , Or h ( j ) = Hist 1 ( j ) + σ Hist 2 ( j ) + σ , Or h ( j ) = arctan ( ln ( Hist 1 ( j ) + σ Hist 2 ( j ) + σ ) ) The similar matching degree of phenotype Weak Classifier is searched in calculating, and wherein σ is the positive number greater than 0, and ln is the natural logarithm computing, and arctan is an arctangent cp cp operation, Hist 1(j) the expression sequence number is the histogram of first kind training sample in the sub-range of j, Hist 2(j) the expression sequence number is the histogram of the second class training sample in the sub-range of j.
When described target to be certified comprises target human face region and target eyes zone simultaneously, at this moment:
Described coefficients calculation block 310 is used to calculate the Fei Sheer fisher coefficient of target to be certified, and described target to be certified comprises target human face region and target eyes zone;
Correspondingly, described output computing module 320 utilized and to search the phenotype Weak Classifier and calculate the similar matching degree of fisher coefficient correspondence of described target human face region and the similar matching degree of the fisher coefficient correspondence in described target eyes zone respectively this moment.
Described authentication module 330 comprises: threshold value is provided with unit 331 and authentication determination unit 332;
Described threshold value is provided with unit 331, makes the minimum value of target training sample classification error rate to be certified be set to described threshold value, and described training sample classification error rate is to be included into the number of training purpose summation of error category.
Described authentication determination unit 332, preestablish each self-corresponding weights of similar matching degree of the fisher coefficient correspondence in the similar matching degree of fisher coefficient correspondence of target human face region and target eyes zone, calculate the result after their weighted, the result after the described weighted and described threshold value are compared draw authentication result.
As seen, the device of this face authentication of the embodiment of the invention combines with PCA+Fisher by searching the phenotype Weak Classifier, makes the present invention go for the input picture that various sample probabilities distribute; Simultaneously, introducing than single threshold represent ability stronger search the phenotype Weak Classifier, can improve the discrimination of face authentication, reduce flase drop, in addition, when target to be certified comprised target human face region and target eyes zone simultaneously, preferred embodiment of the present invention can also further improve the discrimination of face authentication.
Simultaneously; understand easily, the above is preferred embodiment of the present invention only, is not to be used to limit spirit of the present invention and protection domain; equivalent variations that any those of ordinary skill in the art made or replacement all should be considered as being encompassed within protection scope of the present invention.

Claims (10)

1, a kind of method of face authentication is characterized in that, this method comprises:
Utilization is calculated the fisher coefficient of target to be certified based on the face authentication method of pivot analysis and Fei Sheer fisher linear discriminant analysis;
Calculating is used to train the training sample of the target to be certified of described sorter to concentrate, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described interval is divided into the sub-range of predetermined number, and determines the sub-range at the fisher coefficient place of described target to be certified;
Calculate the histogram of the training sample distribution of target to be certified in determined this sub-range;
According to described histogram, calculate the similar matching degree of searching the phenotype Weak Classifier;
More described similar matching degree and pre-set threshold draw authentication result.
2, method according to claim 1 is characterized in that, the respectively corresponding sequence number in described each sub-range;
The method in the sub-range at the fisher coefficient place of described definite described target to be certified is:
Determine the sub-range corresponding sequence number at the fisher coefficient place of described target to be certified according to the following equation:
Utilize j = min ( HNUM - 1 , FLOOR ( ( F coeff - F min ) * HNUM F max - F min ) ) , Wherein min () is for getting minimum operation, and FLOOR () is downward rounding operation, and j is the sub-range corresponding sequence number at the fisher coefficient place of described target to be certified, F CoeffBe the fisher coefficient of described target to be certified, HNUM is the quantity in described sub-range.
3, method according to claim 2 is characterized in that, the histogrammic method that the training sample of target to be certified distributes in determined this sub-range of described calculating is:
Add up in the sub-range at fisher coefficient place of described target to be certified, the number of the fisher coefficient of two classes target training sample to be certified, obtain the histogram that the fisher coefficient of described two class training samples distributes in this sub-range, described two class training samples comprise: first kind training sample corresponding with target to be certified and the second corresponding class training sample of all non-described targets.
4, method according to claim 3 is characterized in that, and is described according to described histogram, and the method that calculates the similar matching degree of searching the phenotype Weak Classifier is:
Utilize h ( j ) = Hist 1 ( j ) Hist 2 ( j ) , Or h ( j ) = Hist 1 ( j ) + σ Hist 2 ( j ) + σ , Or h ( j ) = arctan ( ln ( Hist 1 ( j ) + σ Hist 2 ( j ) + σ ) ) The similar matching degree of phenotype Weak Classifier is searched in calculating, and wherein σ is the positive number greater than 0, and 1n is the natural logarithm computing, and arctan is an arctangent cp cp operation, Hist 1(j) the expression sequence number is the histogram of first kind training sample in the sub-range of j, Hist 2(j) the expression sequence number is the histogram of the second class training sample in the sub-range of j, and h (j) is the described similar matching degree that calculates.
5, method according to claim 4 is characterized in that, the method for setting described threshold value is:
The similar matching degree of the sorter of the fisher coefficient correspondence in the calculation training sample set, the similar matching degree of the sorter of the fisher coefficient correspondence of concentrating according to described training sample is determined interval [TF Min, TF Max], described TF MinBe the minimum value of the similar matching degree of the sorter of fisher coefficient correspondence in the described training sample, TF MaxMaximal value for the similar matching degree of the sorter of fisher coefficient correspondence;
From interval [TF Min, TF Max] in select the point of predetermined number, calculate the classification error rate of described each point respectively; Described classification error rate is to be included into the number of training purpose summation of error category;
The value of setting the point that training sample classification error rate is minimum in the described each point is described threshold value.
According to each described method in the claim 1 to 5, it is characterized in that 6, described target to be certified comprises target human face region and target eyes zone;
The method that described similar matching degree and pre-set threshold draw authentication result is:
The similar matching degree of the fisher coefficient correspondence of target human face region is made as h f, the similar matching degree of the fisher coefficient correspondence in target eyes zone is made as h e, set h fAnd h eEach self-corresponding weights calculates the result after their weighted, the result after the described weighted and pre-set threshold is compared draw authentication result.
7, a kind of device of face authentication is characterized in that, this device comprises: coefficients calculation block, output computing module and authentication module; And described output computing module comprises: the interval is provided with unit, sub-range determining unit, histogram calculation unit and sorter output computing unit;
Described coefficients calculation block is utilized the face authentication method based on pivot analysis and Fei Sheer fisher linear discriminant analysis, calculates the fisher coefficient of target to be certified;
Described interval dispensing unit calculates the training sample of the target to be certified be used to train described sorter and concentrates, and the fisher coefficient of each training sample is determined interval [F according to the fisher coefficient that described training sample is concentrated Min, F Max], described F MinBe the minimum value of fisher coefficient in the described training sample, F MaxMaximal value for fisher coefficient in the described training sample;
Described sub-range determining unit is divided into the sub-range of predetermined number with the described interval of determining, and determines the sub-range at the fisher coefficient place of described target to be certified;
Described histogram calculation unit calculates the histogram of the training sample distribution of target to be certified in determined this sub-range;
Described sorter output computing unit draws the similar matching degree of searching the phenotype Weak Classifier according to described histogram calculation;
Described authentication module, more described similar matching degree and pre-set threshold draw authentication result.
8, device according to claim 7 is characterized in that, described authentication module comprises: threshold value is provided with the unit;
Described threshold value is provided with the unit, the similar matching degree of the sorter of the fisher coefficient correspondence in the calculation training sample set, and the similar matching degree of the sorter of the fisher coefficient correspondence of concentrating according to described training sample is determined interval [TF Min, TF Max], described TF MinBe the minimum value of the similar matching degree of the sorter of fisher coefficient correspondence in the described training sample, TF MaxMaximal value for the similar matching degree of the sorter of fisher coefficient correspondence;
From interval [TF Min, TF Max] in select the point of predetermined number, calculate the classification error rate of described each point respectively; Described classification error rate is to be included into the number of training purpose summation of error category;
The value of setting the point that training sample classification error rate is minimum in the described each point is described threshold value.
9, device according to claim 8 is characterized in that, described coefficients calculation block is calculated the Fei Sheer fisher coefficient of target to be certified, and described target to be certified comprises target human face region and target eyes zone;
Described output computing module utilizes and to search the phenotype Weak Classifier and calculate the similar matching degree of fisher coefficient correspondence of described target human face region and the similar matching degree of the fisher coefficient correspondence in described target eyes zone respectively.
10, device according to claim 9 is characterized in that, further comprises authentication ' unit in the described authentication module;
Described authentication ' unit, preestablish each self-corresponding weights of similar matching degree of the fisher coefficient correspondence in the similar matching degree of fisher coefficient correspondence of target human face region and target eyes zone, calculate the result after their weighted, the result after the described weighted and described threshold value are compared draw authentication result.
CNB2007101798095A 2007-12-18 2007-12-18 A kind of method and apparatus of face authentication Active CN100561502C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101798095A CN100561502C (en) 2007-12-18 2007-12-18 A kind of method and apparatus of face authentication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101798095A CN100561502C (en) 2007-12-18 2007-12-18 A kind of method and apparatus of face authentication

Publications (2)

Publication Number Publication Date
CN101187977A CN101187977A (en) 2008-05-28
CN100561502C true CN100561502C (en) 2009-11-18

Family

ID=39480360

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101798095A Active CN100561502C (en) 2007-12-18 2007-12-18 A kind of method and apparatus of face authentication

Country Status (1)

Country Link
CN (1) CN100561502C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299762B (en) * 2008-06-20 2011-08-17 北京中星微电子有限公司 Identification authentication method and apparatus
KR101681321B1 (en) * 2009-11-17 2016-11-30 엘지전자 주식회사 Method for user authentication, video communication apparatus and display apparatus thereof
US8819019B2 (en) * 2010-11-18 2014-08-26 Qualcomm Incorporated Systems and methods for robust pattern classification
CN102129565B (en) * 2011-03-01 2013-11-13 北京航空航天大学 Object detection method based on feature redundancy elimination AdaBoost classifier
CN102542299B (en) * 2011-12-07 2015-03-25 惠州Tcl移动通信有限公司 Face recognition method, device and mobile terminal capable of recognizing face
CN103505248A (en) * 2013-09-22 2014-01-15 四川大学华西第二医院 Ultrasonic work platform for monitoring renal blood flow through gastric ultrasound
US9460338B2 (en) * 2014-12-10 2016-10-04 Intel Corporation Face detection method and apparatus with lookup table
CN104573411B (en) * 2014-12-30 2018-04-17 深圳先进技术研究院 A kind of biomarker correlation method for visualizing and device
CN107479856B (en) * 2017-08-09 2023-04-07 珠海市杰理科技股份有限公司 Arc tangent function data structure, establishing method, function value obtaining method and device
CN108052864B (en) * 2017-11-17 2019-04-26 平安科技(深圳)有限公司 Face identification method, application server and computer readable storage medium
CN109325472B (en) * 2018-11-01 2022-05-27 四川大学 Face living body detection method based on depth information
CN110059739B (en) * 2019-04-12 2022-03-04 北京字节跳动网络技术有限公司 Image synthesis method, image synthesis device, electronic equipment and computer-readable storage medium
CN111757042A (en) * 2020-06-28 2020-10-09 深圳市闪联信息技术有限公司 Remote collaborative conference method and system based on face authentication

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
人类表情的实时分类. 王宇博.计算机辅助设计与图形学学报,第17卷第6期. 2005
人类表情的实时分类. 王宇博.计算机辅助设计与图形学学报,第17卷第6期. 2005 *
基于LDA算法的人脸识别方法的比较研究. 韩争胜.微电子学与计算机,第22卷第7期. 2005
基于LDA算法的人脸识别方法的比较研究. 韩争胜.微电子学与计算机,第22卷第7期. 2005 *
基于主分量线性判别方法人脸识别系统的实现. 钟向阳.嘉应学院学报(自然科学),第24卷第3期. 2006
基于主分量线性判别方法人脸识别系统的实现. 钟向阳.嘉应学院学报(自然科学),第24卷第3期. 2006 *
基于特征脸和LDA的人脸识别. 罗昊.贵州工业大学学报(自然科学版),第34卷第1期. 2005
基于特征脸和LDA的人脸识别. 罗昊.贵州工业大学学报(自然科学版),第34卷第1期. 2005 *

Also Published As

Publication number Publication date
CN101187977A (en) 2008-05-28

Similar Documents

Publication Publication Date Title
CN100561502C (en) A kind of method and apparatus of face authentication
King Max-margin object detection
Singha et al. Hand gesture recognition using two-level speed normalization, feature selection and classifier fusion
Moosmann et al. Learning saliency maps for object categorization
CN101350063B (en) Method and apparatus for locating human face characteristic point
CN103198303B (en) A kind of gender identification method based on facial image
CN106250858A (en) A kind of recognition methods merging multiple face recognition algorithms and system
CN101976360B (en) Sparse characteristic face recognition method based on multilevel classification
Kawulok et al. Precise multi-level face detector for advanced analysis of facial images
CN102982349A (en) Image recognition method and device
CN109993061B (en) Face detection and recognition method, system and terminal equipment
CN103279768A (en) Method for identifying faces in videos based on incremental learning of face partitioning visual representations
EP2535787A2 (en) 3D free-form gesture recognition system for character input
Sisodia et al. ISVM for face recognition
CN104318224A (en) Face recognition method and monitoring equipment
Subburaman et al. Alternative search techniques for face detection using location estimation and binary features
Verschae et al. Face recognition in unconstrained environments: A comparative study
Vogelhuber et al. Face detection based on generic local descriptors and spatial constraints
Azizan et al. Facial emotion recognition: a brief review
Bhele et al. Recognition of faces using discriminative features of LBP and HOG descriptor in varying environment
CN108664848B (en) Image target identification method and device
Wijaya et al. Phonographic image recognition using fusion of scale invariant descriptor
Toh et al. A face recognition system using neural networks with incremental learning ability
Mutneja et al. Haar-features training parameters analysis in boosting based machine learning for improved face detection
Wang et al. On-line signature verification using segment-to-segment graph matching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160516

Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105 -478

Patentee after: GUANGDONG ZHONGXING ELECTRONICS CO., LTD.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Patentee before: Beijing Vimicro Corporation