CN104318224A - Face recognition method and monitoring equipment - Google Patents

Face recognition method and monitoring equipment Download PDF

Info

Publication number
CN104318224A
CN104318224A CN201410658870.8A CN201410658870A CN104318224A CN 104318224 A CN104318224 A CN 104318224A CN 201410658870 A CN201410658870 A CN 201410658870A CN 104318224 A CN104318224 A CN 104318224A
Authority
CN
China
Prior art keywords
prime
nearest neighbor
sample
dog
watch
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.)
Granted
Application number
CN201410658870.8A
Other languages
Chinese (zh)
Other versions
CN104318224B (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.)
Entropy Technology Co Ltd
Original Assignee
SHENZHEN ZHONGKONG BIOMETRICS TECHNOLOGY Co Ltd
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 SHENZHEN ZHONGKONG BIOMETRICS TECHNOLOGY Co Ltd filed Critical SHENZHEN ZHONGKONG BIOMETRICS TECHNOLOGY Co Ltd
Priority to CN201410658870.8A priority Critical patent/CN104318224B/en
Publication of CN104318224A publication Critical patent/CN104318224A/en
Application granted granted Critical
Publication of CN104318224B publication Critical patent/CN104318224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a face recognition method and monitoring equipment. According to the face recognition method and the monitoring equipment, the precision and efficiency of face recognition are improved. The method comprises the steps that face image data are obtained by the monitoring equipment; the monitoring equipment carries out locally linear discriminant analysis (LLDA) on the face image data to extract face feature data; and the monitoring equipment carries out classification recognition on the face feature data according to preset K near neighbour samples.

Description

A kind of face identification method and watch-dog
Technical field
The present invention relates to biological intelligence technical field, particularly a kind of face identification method and watch-dog.
Background technology
In the last few years, security protection became more and more important focus.Increasing residential quarter, kindergarten, school, company and important exhibition all can be equipped with security personnel.But because personnel amount is huge, security personnel is difficult to the personnel remembeing each region, being also difficult to that accurate discrimination goes out is not the personnel of region.Further, to be mixed into the crime case at the places such as residential quarter, kindergarten, school, company of common occurrence for Migrant women.So, be necessary very much to utilize the personal safety as well as the property safety that face recognition technology comes ensureing region personnel.
Linear discriminant analysis (Linear Discriminant Analysis, LDA) is the method for kind of effective feature extraction and dimensionality reduction.LDA has been successfully applied to various modes identification problem, such as recognition of face, text identification, also has a large amount of machine learning relevant to image application.Recent two decades comes, and proposing and much improve its precision and efficiency to improving one's methods of traditional LDA, is all only utilize the independent linear transformation in world coordinates system mostly.These methods at data category in there being can show during the Gaussian distribution of identical covariance structure fine.
But if data category distribution is more complicated than Gauss, then need compute associations matrix (each element in incidence matrix is the distance between two data vectors), the matrix that also will generate whole training set carries out feature decomposition.If the dimension of input data is very large and the size of whole training set is very huge, the dimension of scatter diagram or correlation matrix will be very large, and the feature decomposition of these matrixes will be very consuming time and not practicable, this method need train all samples, and popular saying is exactly the process to great amount of samples.Tradition LDA is also not suitable for the process of large sample.Therefore, precision and the efficiency of recognition of face is affected to a great extent.
Summary of the invention
The invention provides a kind of face identification method and watch-dog, for improving precision and the efficiency of recognition of face.
First aspect present invention provides a kind of face identification method, comprising:
Watch-dog obtains face image data;
Described watch-dog carries out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data;
Described watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data.
In conjunction with a first aspect of the present invention, in the first implementation of a first aspect of the present invention, described local linear discriminatory analysis LLDA comprises the local linear discriminatory analysis VLLDA based on vector or the local linear discriminatory analysis MLLDA based on matrix.
In conjunction with the first implementation of a first aspect of the present invention, in the second implementation of a first aspect of the present invention, described face image data is expressed as vector by the described local linear discriminatory analysis VLLDA based on vector, and described face image data is expressed as matrix by the described local linear discriminatory analysis MLLDA based on matrix.
In conjunction with a first aspect of the present invention or the first implementation of first aspect or the second implementation of first aspect, in the third implementation of a first aspect of the present invention, described watch-dog carries out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data and specifically comprises:
Described watch-dog calculates scatter matrix S in the class of described face image data respectively according to described default k nearest neighbor sample, default first formula and default second formula wand scatter matrix S between class b, described k nearest neighbor sample packages is containing the set of the training sample of multiple class;
Described first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Described second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, the classification number that c ' is k nearest neighbor sample, m ' is the average of k nearest neighbor sample, l ' ifor the number of the i-th class k nearest neighbor sample in classification c ', namely m ' ifor the average of the k nearest neighbor sample of the i-th class in classification c ', x ' ijfor a jth k nearest neighbor sample of the i-th class in classification c ';
Described watch-dog is according to scatter matrix S in described class w, scatter matrix S between described class band Fei Sheer criterion calculates the proper vector of face image data;
Described watch-dog carries out feature extraction to the proper vector of described face image data, obtains described face characteristic data.
In conjunction with the third implementation of a first aspect of the present invention, in the 4th kind of implementation of a first aspect of the present invention, described watch-dog calculates scatter matrix S in the class of described face image data respectively according to described default k nearest neighbor sample, default first formula and default second formula wand scatter matrix S between class balso comprise before:
Described watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Described watch-dog determines described default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment.
In conjunction with a first aspect of the present invention or the first implementation of first aspect or the second implementation of first aspect, in the 5th kind of implementation of a first aspect of the present invention, described watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data and specifically comprises:
Described face characteristic data are mated with described default k nearest neighbor sample by described watch-dog;
Described watch-dog utilizes the training sample matched to obtain the test sample book corresponding with described face characteristic data by k nearest neighbor algorithm;
Described watch-dog calculates the Euclidean distance between described test sample book and described default k nearest neighbor sample;
When described Euclidean distance is less than preset threshold value, determine in facial feature database, to comprise described face characteristic data; When described Euclidean distance is greater than preset threshold value, determine in facial feature database, not comprise described face characteristic data.
In conjunction with the 5th kind of implementation of a first aspect of the present invention, in the 6th kind of implementation of a first aspect of the present invention, described determine in facial feature database, not comprise described face characteristic data after comprise:
Described watch-dog display warning picture, and the prompt tone that gives a warning.
Second aspect present invention provides a kind of watch-dog, comprising:
Acquiring unit, for obtaining face image data;
Analytic unit, for carrying out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data;
Recognition unit, for carrying out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data.
In conjunction with a second aspect of the present invention, in the first implementation of a second aspect of the present invention, described analytic unit specifically comprises:
First computing module, for according to described default k nearest neighbor sample, preset the first formula and preset scatter matrix S in class that the second formula calculates described face image data respectively wand scatter matrix S between class b, described k nearest neighbor sample packages is containing the set of the training sample of multiple class;
Described first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Described second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, the classification number that c ' is k nearest neighbor sample, m ' is the average of k nearest neighbor sample, l ' ifor the number of the i-th class k nearest neighbor sample in classification c ', namely m ' ifor the average of the k nearest neighbor sample of the i-th class in classification c ', x ' ijfor a jth k nearest neighbor sample of the i-th class in classification c ';
Second computing module, for according to scatter matrix S in described class w, scatter matrix S between described class band Fei Sheer criterion calculates the proper vector of face image data;
Extraction module, for carrying out feature extraction to the proper vector of described face image data, obtains described face characteristic data.
In conjunction with the first implementation of a second aspect of the present invention, in the second implementation of a second aspect of the present invention, described watch-dog also comprises:
Processing unit, for carrying out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Determining unit, for determining described default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment.
In conjunction with a second aspect of the present invention or the first implementation of second aspect or the second implementation of second aspect, in the third implementation of a second aspect of the present invention, described recognition unit specifically comprises:
Matching module, for mating described face characteristic data with described default k nearest neighbor sample;
3rd computing module, obtains the test sample book corresponding with described face characteristic data for utilizing the training sample matched by k nearest neighbor algorithm;
4th computing module, for calculating the Euclidean distance between described test sample book and described default k nearest neighbor sample;
First determination module, for after described Euclidean distance is less than preset threshold value, determines to comprise described face characteristic data in facial feature database;
Second determination module, for after described Euclidean distance is greater than preset threshold value, determines not comprise described face characteristic data in facial feature database.
In conjunction with the third implementation of a second aspect of the present invention, in the 4th kind of implementation of a second aspect of the present invention, described recognition unit also comprises:
Output module, for after determining not comprise described face characteristic data in described facial feature database, display warning picture, and the prompt tone that gives a warning.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: watch-dog obtains face image data; Described watch-dog carries out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data; Described watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data.The present invention is based on the process to large data, employing be distributed structure/architecture, rely on that the distributed treatment of cloud computing, distributed data base and cloud store, Intel Virtualization Technology.Therefore, when data category distribution is more complicated, by carrying out local linear discriminatory analysis LLDA to described face image data, thus only need train the sub-fraction of whole training set before testing, and according to the k nearest neighbor sample preset, Classification and Identification is carried out to described face characteristic data, improve precision and the efficiency of recognition of face.By said method, watch-dog carries out man face image acquiring to the personnel of region, preserves in a database as training sample.After collection completes, just can carry out man face image acquiring to dealing personnel and as test sample book.Described training sample is used to Modling model, utilizes their feature can structural classification device, and some parameters of sorter are determined by the feature of training sample.Described test sample book can think new unknown sample, is classified to test sample book by the sorter established.Then carry out recognition of face, not personnel are in a database irised out with rectangle frame in display frame, and send caution sound and remind security personnel to can personnel check, to take precautions against the personal safety as well as the property safety of specifying place.Because the method does not need to train all samples, but wherein a part of sample, be more suitable for the process to large data in this way, popular saying is exactly the process to great amount of samples.And traditional LDA be not suitable for the process of large sample.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic flow sheet of a kind of face identification method in the embodiment of the present invention;
Fig. 2 is another embodiment schematic flow sheet of a kind of face identification method in the embodiment of the present invention;
Fig. 3 is another embodiment schematic flow sheet of a kind of face identification method in the embodiment of the present invention;
Fig. 4 is another embodiment schematic flow sheet of a kind of face identification method in the embodiment of the present invention;
Fig. 5 is an example structure schematic diagram of a kind of watch-dog in the embodiment of the present invention;
Fig. 6 is another example structure schematic diagram of a kind of watch-dog in the embodiment of the present invention;
Fig. 7 is another example structure schematic diagram of a kind of watch-dog in the embodiment of the present invention;
Fig. 8 is another example structure schematic diagram of a kind of watch-dog in the embodiment of the present invention;
Fig. 9 is another example structure schematic diagram of a kind of watch-dog in the embodiment of the present invention.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Be specifically described face identification method a kind of in the embodiment of the present invention below, refer to Fig. 1, in the embodiment of the present invention, an a kind of embodiment of face identification method comprises:
101, watch-dog obtains face image data;
Watch-dog obtains face image data; It should be noted that, watch-dog is by USB (Universal Serial Bus is leading to and getting lines crossed) interface or network node, any one obtains existing face image data; Or obtain face image data by the photographing module connected, concrete obtain manner is not construed as limiting herein.
102, above-mentioned watch-dog carries out local linear discriminatory analysis LLDA to above-mentioned face image data, extracts face characteristic data;
Above-mentioned watch-dog carries out local linear discriminatory analysis LLDA (Local Linear Discriminant Analysis, local linear discriminatory analysis) to above-mentioned face image data and extracts face characteristic data; It should be noted that, above-mentioned local linear discriminatory analysis LLDA comprises local linear discriminatory analysis VLLDA (the Vector Local Linear Discriminant Analysis based on vector, local linear discriminatory analysis based on vector) or based on the local linear discriminatory analysis MLLDA (Matrix Local Linear Discriminant Analysis, the local linear discriminatory analysis based on matrix) of matrix.Wherein, above-mentioned face image data is expressed as vector by the above-mentioned local linear discriminatory analysis VLLDA based on vector, and above-mentioned face image data is expressed as matrix by the above-mentioned local linear discriminatory analysis MLLDA based on matrix.
103, above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.
Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data; It should be noted that, above-mentioned default k nearest neighbor sample is K arest neighbors of the test sample book determined in training sample, and the number of K is not construed as limiting; Compare with the facial feature database preserved after classification is carried out to above-mentioned face characteristic data, thus complete face recognition process.
In the embodiment of the present invention, watch-dog obtains face image data; Above-mentioned watch-dog carries out local linear discriminatory analysis LLDA to above-mentioned face image data, extracts face characteristic data; Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.The present invention is based on the process to large data, employing be distributed structure/architecture, rely on that the distributed treatment of cloud computing, distributed data base and cloud store, Intel Virtualization Technology.Therefore, when data category distribution is more complicated, by carrying out local linear discriminatory analysis LLDA to above-mentioned face image data, thus only need train the sub-fraction of whole training set before testing, and according to the k nearest neighbor sample preset, Classification and Identification is carried out to above-mentioned face characteristic data, improve precision and the efficiency of recognition of face.
By said method, watch-dog carries out man face image acquiring to the personnel of region, preserves in a database as training sample.After collection completes, just can carry out man face image acquiring to dealing personnel and as test sample book.Described training sample is used to Modling model, utilizes their feature can structural classification device, and some parameters of sorter are determined by the feature of training sample.Described test sample book can think new unknown sample, is classified to test sample book by the sorter established.Then carry out recognition of face, not personnel are in a database irised out with rectangle frame in display frame, and send caution sound and remind security personnel to can personnel check, to take precautions against the personal safety as well as the property safety of specifying place.Because the method does not need to train all samples, but wherein a part of sample, be more suitable for the process to large data in this way, popular saying is exactly the process to great amount of samples.And traditional LDA be not suitable for the process of large sample.
Based on the face identification method in above-described embodiment, the detailed process below for above-mentioned local linear discriminatory analysis LLDA is illustrated, and refers to Fig. 2, and in the embodiment of the present invention, another embodiment of a kind of face identification method comprises:
201, watch-dog obtains face image data;
Watch-dog obtains face image data; It should be noted that, watch-dog is by USB (Universal Serial Bus is leading to and getting lines crossed) interface or network node, any one obtains existing face image data; Or obtain face image data by the photographing module connected, concrete obtain manner is not construed as limiting herein.
202, above-mentioned watch-dog according to the k nearest neighbor sample preset, preset the first formula and preset scatter matrix S in class that the second formula calculates above-mentioned face image data respectively wand scatter matrix S between class b;
It should be noted that, above-mentioned k nearest neighbor sample packages is containing the set of the training sample of multiple class; Above-mentioned first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Above-mentioned second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, the classification number that c ' is k nearest neighbor sample, m ' is the average of k nearest neighbor sample, l ' ifor the number of the i-th class k nearest neighbor sample in classification c ', namely m ' ifor the average of the k nearest neighbor sample of the i-th class in classification c ', x ' ijfor a jth k nearest neighbor sample of the i-th class in classification c '.
203, above-mentioned watch-dog is according to scatter matrix S in above-mentioned class w, scatter matrix S between above-mentioned class band Fei Sheer criterion calculates the proper vector of face image data;
It should be noted that, above-mentioned specific algorithm can with reference to as follows: such as, in VLLDA algorithm, the vector representation of input face image data.For a given sample, from whole training sample x i∈ R n(i=1,2 ..., L) in determine K arest neighbors of this sample.This K arest neighbors is expressed as x ' i∈ R n(i=1,2 ..., K).They, from the individual classification of c ', are expressed as c ' i(i=1,2 ..., c '), these classifications are parts of whole classification.If classification c ' ithere is l ' iindividual fixed neighbour, namely m ' irepresent at classification c ' iin the average of fixed neighbour, x ' ijfor this sample is at classification c ' iin jth fixed neighbour.In definition class, between scatter matrix and class, scatter matrix is as follows:
S w v = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
S b v = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, m ' is the average of whole fixed neighbour.Then, local can be expressed as based on the Fei Sheer criterion of vector:
J VLF ( W v ) = W v T S b v W v W v T S w v W v .
Be understandable that, if each classification in the individual classification of c ' only comprises an arest neighbors of given sample, in the class of so these arest neighbors, scatter matrix is exactly a null matrix.So, in above-mentioned VLLDA algorithm, only need to utilize scatter matrix between class , and criterion just becomes:
J VLF ( W v ) = W v T S b v W v .
On the other hand, if whole K arest neighbors of given sample are all from same classification, so between their class, scatter matrix is exactly a null matrix.So, only need to utilize scatter matrix in class and criterion becomes:
J VLF ( W v ) = W v T S b v W v .
So, for a given sample, make J vLF(W v) maximize, and obtaining a projection matrix, this matrix column is proper vector, correspond to secular equation top eigenwert, or matrix or top eigenwert.
Different from VLLDA, the input data in MLLDA are represented as matrix.Suppose the training sample having L from c classification in order to extract the feature of sample, first we determine its K arest neighbors from training set.These neighbours are expressed as A ' i(i=1,2 ..., K), and from the individual classification C ' of C ' i(i=1,2 ..., C '), the individual classification of this c ' is a part for whole classification.Then, we define K the fixed neighbour of a sample class between scatter matrix and class scatter matrix as follows:
S w 2 d = 1 K Σ i = 1 C ′ Σ j = 1 L ′ i ( A ′ ij - M ′ i ) T ( A ′ ij - M ′ i ) ,
S b 2 d = 1 K Σ i = 1 C ′ L ′ i ( M ′ i - M ′ ) T ( M ′ i - M ′ ) ,
Wherein, L ' iat classification C ' ithe number of the fixed neighbour in classification, namely m ' irepresent at classification C ' iin the average of fixed neighbour, A ' ijat classification C ' iin jth fixed neighbour, M ' represents the average of K fixed neighbour of given sample.So local can be expressed as based on the Fei Sheer criterion of matrix:
J MLF ( W m ) = W m T S b 2 d W m W m T S w 2 d W m .
Similarly, if each classification in the individual classification of C ' only has a fixed neighbour, in the class of so this K fixed neighbour, scatter matrix is a null matrix.So MLLDA only needs to utilize scatter matrix between class , and criterion is:
J MLF ( W m ) = W m T S b 2 d W m .
On the other hand, if whole K arest neighbors of given sample are all from same classification, so between their class, scatter matrix is exactly a null matrix.So we only need to utilize scatter matrix in class , and criterion becomes:
J MLF ( W m ) = W m T S b 2 d W m .
Be understandable that, for a given sample, make J mLF(W m) maximize, and obtaining a projection matrix, this matrix column is proper vector, correspond to secular equation top eigenwert, or matrix or top eigenwert.
204, above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data;
Above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data.
205, above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.
Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data; Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data; It should be noted that, above-mentioned default k nearest neighbor sample is K arest neighbors of the test sample book determined in training sample, and the number of K is not construed as limiting; Compare with the facial feature database preserved after classification is carried out to above-mentioned face characteristic data, thus complete face recognition process; Above-mentioned sorting technique can select nearest neighbor classifier or other sorters to classify to above-mentioned face characteristic data, is not specifically restricted.
In the embodiment of the present invention, above-mentioned watch-dog according to the k nearest neighbor sample preset, preset the first formula and to preset in class that the second formula calculates above-mentioned face image data respectively scatter matrix between scatter matrix and class, and utilize Fei Sheer criterion to calculate the proper vector of face image data, thus extract face characteristic data by Partial data structure, improve precision and the efficiency of recognition of face.
Based on the face identification method in above-described embodiment, in the embodiment of the present invention, for the recognition of face of large database concept, first can carry out Data Dimensionality Reduction to it, to carry out characteristic extraction, refer to Fig. 3, in the embodiment of the present invention, another embodiment of a kind of face identification method comprises:
301, watch-dog obtains face image data;
Watch-dog obtains face image data; It should be noted that, watch-dog is by USB interface or network node, any one obtains existing face image data; Or obtain face image data by the photographing module connected, concrete obtain manner is not construed as limiting herein.
302, above-mentioned watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Above-mentioned watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA (Principal Component Analysis, principal component analysis (PCA)) to training sample; Namely first PCA conversion is carried out to training sample, obtain the projection matrix after PCA projection.
303, above-mentioned watch-dog determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment;
Above-mentioned watch-dog determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment; K nearest neighbor algorithm with reference to prior art, wherein, can determine that namely above-mentioned default k nearest neighbor sample determines K nearest samples of test sample book from above-mentioned training sample.
304, above-mentioned watch-dog according to the k nearest neighbor sample preset, preset the first formula and preset scatter matrix S in class that the second formula calculates above-mentioned face image data respectively wand scatter matrix S between class b;
It should be noted that, above-mentioned k nearest neighbor sample packages is containing the set of the training sample of multiple class; Above-mentioned first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Above-mentioned second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, the classification number that c ' is k nearest neighbor sample, m ' is the average of k nearest neighbor sample, l ' ifor the number of the i-th class k nearest neighbor sample in classification c ', namely m ' ifor the average of the k nearest neighbor sample of the i-th class in classification c ', x ' ijfor a jth k nearest neighbor sample of the i-th class in classification c '.
305, above-mentioned watch-dog is according to scatter matrix S in above-mentioned class w, scatter matrix S between above-mentioned class band Fei Sheer criterion calculates the proper vector of face image data;
Specific algorithm can refer step 203, repeats no more herein.
306, above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data;
Above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data.
307, above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.
Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data; Above-mentioned watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data; It should be noted that, above-mentioned default k nearest neighbor sample is K arest neighbors of the test sample book determined in training sample, and the number of K is not construed as limiting; Compare with the facial feature database preserved after classification is carried out to above-mentioned face characteristic data, thus complete face recognition process; Above-mentioned sorting technique can select nearest neighbor classifier or other sorters to classify to above-mentioned face characteristic data, is not specifically restricted.
In the embodiment of the present invention, above-mentioned watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample, and from the training sample after dimension-reduction treatment, determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm; Thus from huge database, face to be identified more accurately.
Based on the face identification method in above-described embodiment, in the embodiment of the present invention, will carry out Classification and Identification to above-mentioned face characteristic data and be described specifically, and refer to Fig. 4, in the embodiment of the present invention, another embodiment of a kind of face identification method comprises:
401, watch-dog obtains face image data;
Watch-dog obtains face image data; It should be noted that, watch-dog is by USB interface or network node, any one obtains existing face image data; Or obtain face image data by the photographing module connected, concrete obtain manner is not construed as limiting herein.
402, above-mentioned watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Above-mentioned watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample; Namely first PCA conversion is carried out to training sample, obtain the projection matrix after PCA projection.
403, above-mentioned watch-dog determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment;
Above-mentioned watch-dog determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment; K nearest neighbor algorithm with reference to prior art, wherein, can determine that namely above-mentioned default k nearest neighbor sample determines K nearest samples of test sample book from above-mentioned training sample.
404, above-mentioned watch-dog according to the k nearest neighbor sample preset, preset the first formula and preset scatter matrix S in class that the second formula calculates above-mentioned face image data respectively wand scatter matrix S between class b;
It should be noted that, above-mentioned k nearest neighbor sample packages is containing the set of the training sample of multiple class; Above-mentioned first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Above-mentioned second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, the classification number that c ' is k nearest neighbor sample, m ' is the average of k nearest neighbor sample, l ' ifor the number of the i-th class k nearest neighbor sample in classification c ', namely m ' ifor the average of the k nearest neighbor sample of the i-th class in classification c ', x ' ijfor a jth k nearest neighbor sample of the i-th class in classification c '.
405, above-mentioned watch-dog is according to scatter matrix S in above-mentioned class w, scatter matrix S between above-mentioned class band Fei Sheer criterion calculates the proper vector of face image data;
Specific algorithm can refer step 203, repeats no more herein.
406, above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data;
Above-mentioned watch-dog carries out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data.
407, above-mentioned face characteristic data are mated with above-mentioned default k nearest neighbor sample by above-mentioned watch-dog;
Above-mentioned face characteristic data are mated with above-mentioned default k nearest neighbor sample by above-mentioned watch-dog.
408, above-mentioned watch-dog utilizes the training sample matched to obtain the test sample book corresponding with above-mentioned face characteristic data by k nearest neighbor algorithm;
Above-mentioned watch-dog utilizes the training sample matched to obtain the test sample book corresponding with above-mentioned face characteristic data by k nearest neighbor algorithm.
409, above-mentioned watch-dog calculates the Euclidean distance between above-mentioned test sample book and above-mentioned default k nearest neighbor sample;
Above-mentioned watch-dog calculates the Euclidean distance between above-mentioned test sample book and above-mentioned default k nearest neighbor sample.
410, when above-mentioned Euclidean distance is less than preset threshold value, determine in facial feature database, to comprise above-mentioned face characteristic data; When above-mentioned Euclidean distance is greater than preset threshold value, determine in facial feature database, not comprise above-mentioned face characteristic data.
When above-mentioned Euclidean distance is less than preset threshold value, determine in facial feature database, to comprise above-mentioned face characteristic data; When above-mentioned Euclidean distance is greater than preset threshold value, determine in facial feature database, not comprise above-mentioned face characteristic data.It should be noted that, when determining not comprise above-mentioned face characteristic data in above-mentioned facial feature database, this watch-dog display warning picture, and the prompt tone that gives a warning; Specifically with rectangle frame, the facial image got can be irised out in display frame, and send caution sound and remind security personnel to check a suspect, specify the personal safety as well as the property safety in place to ensure.
In the embodiment of the present invention, above-mentioned watch-dog calculates the Euclidean distance between above-mentioned test sample book and above-mentioned default k nearest neighbor sample, when above-mentioned Euclidean distance is less than preset threshold value, determines to comprise above-mentioned face characteristic data in facial feature database; When above-mentioned Euclidean distance is greater than preset threshold value, determine in facial feature database, not comprise above-mentioned face characteristic data, and display warning picture, give a warning prompt tone, thus complete face recognition process.
Above face identification method a kind of in the embodiment of the present invention is described, from the angle of device, a kind of watch-dog the embodiment of the present invention is described in detail below, refer to Fig. 5, in the embodiment of the present invention, an a kind of embodiment of watch-dog comprises:
Acquiring unit 501, for obtaining face image data;
Analytic unit 502, for carrying out local linear discriminatory analysis LLDA to above-mentioned face image data, extracts face characteristic data;
Recognition unit 503, for carrying out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.
It should be noted that, the mode of above-mentioned acquisition face image data is by USB interface or network node, any one obtains existing face image data; Or obtain face image data by the photographing module connected, concrete obtain manner is not construed as limiting herein.
Above-mentioned local linear discriminatory analysis LLDA comprises the local linear discriminatory analysis VLLDA based on vector or the local linear discriminatory analysis MLLDA based on matrix.Wherein, above-mentioned face image data is expressed as vector by the above-mentioned local linear discriminatory analysis VLLDA based on vector, and above-mentioned face image data is expressed as matrix by the above-mentioned local linear discriminatory analysis MLLDA based on matrix.
Above-mentioned default k nearest neighbor sample is K arest neighbors of the test sample book determined in training sample, and the number of K is not construed as limiting; Compare with the facial feature database preserved after carrying out classification to above-mentioned face characteristic data, thus complete face recognition process, the processing mode of above-mentioned face image data is by extra large dupp Hadoop process.
In the embodiment of the present invention, above-mentioned acquiring unit 501 obtains face image data; Above-mentioned analytic unit 502 carries out local linear discriminatory analysis LLDA to above-mentioned face image data, extracts face characteristic data; Above-mentioned recognition unit 503 carries out Classification and Identification according to the k nearest neighbor sample preset to above-mentioned face characteristic data.Therefore, when data category distribution is more complicated, by carrying out local linear discriminatory analysis LLDA to above-mentioned face image data, thus only need train the sub-fraction of whole training set before testing, and according to the k nearest neighbor sample preset, Classification and Identification is carried out to above-mentioned face characteristic data, improve precision and the efficiency of recognition of face.
Based on the watch-dog in above-described embodiment, optionally, as shown in Figure 6, in the embodiment of the present invention, above-mentioned analytic unit 502 specifically comprises:
First computing module 601, for according to above-mentioned default k nearest neighbor sample, preset the first formula and to preset in class that the second formula calculates above-mentioned face image data respectively scatter matrix Sb between scatter matrix Sw and class;
Second computing module 602, for according in above-mentioned class between scatter matrix Sw, above-mentioned class scatter matrix Sb and Fei Sheer criterion calculate the proper vector of face image data;
Extraction module 603, for carrying out feature extraction to the proper vector of above-mentioned face image data, obtains above-mentioned face characteristic data.
Detailed process can with reference to as follows: such as, in VLLDA algorithm, the vector representation of input face image data.For a given sample, from whole training sample x i∈ R n(i=1,2 ..., L) in determine K arest neighbors of this sample.This K arest neighbors is expressed as x ' i∈ R n(i=1,2 ..., K).They, from the individual classification of c ', are expressed as c ' i(i=1,2 ..., c '), these classifications are parts of whole classification.If classification c ' ithere is l ' iindividual fixed neighbour, namely m ' irepresent at classification c ' iin the average of fixed neighbour, x ' ijfor this sample is at classification c ' iin jth fixed neighbour.In definition class, between scatter matrix and class, scatter matrix is as follows:
S w v = 1 K Σ i = 1 C ′ Σ j = 1 L ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
S b v = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, m ' is the average of whole fixed neighbour.Then, local can be expressed as based on the Fei Sheer criterion of vector:
J VLF ( W v ) = W v T S b v W v W v T S w v W v .
Be understandable that, if each classification in the individual classification of c ' only comprises an arest neighbors of given sample, in the class of so these arest neighbors, scatter matrix is exactly a null matrix.So, in above-mentioned VLLDA algorithm, only need to utilize scatter matrix between class and criterion just becomes:
J VLF ( W v ) = W v T S b v W v .
On the other hand, if whole K arest neighbors of given sample are all from same classification, so between their class, scatter matrix is exactly a null matrix.So, only need to utilize scatter matrix in class and criterion becomes:
J VLF ( W v ) = W v T S w v W v .
So, for a given sample, make J vLF(W v) maximize, and obtaining a projection matrix, this matrix column is proper vector, correspond to secular equation top eigenwert, or matrix or top eigenwert.
Different from VLLDA, the input data in MLLDA are represented as matrix.Suppose the training sample having L from c classification .In order to extract the feature of sample, first we determine its K arest neighbors from training set.These neighbours are expressed as A ' i(i=1,2 ..., K), and from the individual classification C ' of C ' i(i=1,2 ..., C '), the individual classification of this c ' is a part for whole classification.Then, we define K the fixed neighbour of a sample class between scatter matrix and class scatter matrix as follows:
S w 2 d = 1 K Σ i = 1 C ′ Σ j = 1 L ′ i ( A ′ ij - M ′ i ) T ( A ′ ij - M ′ i ) ,
S b 2 d = 1 K Σ i = 1 C ′ L ′ i ( M ′ i - M ′ ) T ( M ′ i - M ′ ) ,
Wherein, L ' iat classification C ' ithe number of the fixed neighbour in classification, namely m ' irepresent at classification C ' iin the average of fixed neighbour, A ' ijat classification C ' iin jth fixed neighbour, M ' represents the average of K fixed neighbour of given sample.So local can be expressed as based on the Fei Sheer criterion of matrix:
J MLF ( W m ) = W m T S b 2 d W m W m T S w 2 d W m .
Similarly, if each classification in the individual classification of C ' only has a fixed neighbour, in the class of so this K fixed neighbour, scatter matrix is a null matrix.So MLLDA only needs to utilize scatter matrix between class and criterion is:
J MLF ( W m ) = W m T S b 2 d W m .
On the other hand, if whole K arest neighbors of given sample are all from same classification, so between their class, scatter matrix is exactly a null matrix.So we only need to utilize scatter matrix in class and criterion becomes:
J MLF ( W m ) = W m T S b 2 d W m .
Be understandable that, for a given sample, make J mLF(W m) maximize, and obtaining a projection matrix, this matrix column is proper vector, correspond to secular equation top eigenwert, or matrix or top eigenwert; Carry out feature extraction after obtaining above-mentioned proper vector, thus obtain above-mentioned face characteristic data.
In the embodiment of the present invention, first computing module 601 according to the k nearest neighbor sample preset, preset the first formula and to preset in class that the second formula calculates above-mentioned face image data respectively scatter matrix between scatter matrix and class, and utilize Fei Sheer criterion to calculate the proper vector of face image data by above-mentioned second computing module 602, thus extract face characteristic data by Partial data structure, improve precision and the efficiency of recognition of face.
Based on the watch-dog in above-described embodiment, optionally, as shown in Figure 7, in the embodiment of the present invention, above-mentioned watch-dog also comprises:
Processing unit 701, for carrying out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Determining unit 702, for determining above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment.
It should be noted that, above-mentionedly according to principal component analysis (PCA) PCA, dimension-reduction treatment is carried out to training sample and namely PCA conversion is carried out to training sample, obtain the projection matrix after PCA projection; Above-mentioned k nearest neighbor algorithm with reference to prior art, wherein, can determine that namely above-mentioned default k nearest neighbor sample determines K nearest samples of test sample book from above-mentioned training sample.
In the embodiment of the present invention, above-mentioned processing unit 701 carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample, and above-mentioned determining unit 702 determines above-mentioned default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment; Thus from huge database, face to be identified more accurately.
Based on the watch-dog in above-described embodiment, optionally, as shown in Figure 8, in the embodiment of the present invention, above-mentioned recognition unit 503 specifically comprises:
Matching module 801, for mating above-mentioned face characteristic data with above-mentioned default k nearest neighbor sample;
3rd computing module 802, obtains the test sample book corresponding with above-mentioned face characteristic data for utilizing the training sample matched by k nearest neighbor algorithm;
4th computing module 803, for calculating the Euclidean distance between above-mentioned test sample book and above-mentioned default k nearest neighbor sample;
First determination module 804, for after above-mentioned Euclidean distance is less than preset threshold value, determines to comprise above-mentioned face characteristic data in facial feature database;
Second determination module 805, for after above-mentioned Euclidean distance is greater than preset threshold value, determines not comprise above-mentioned face characteristic data in facial feature database.
In the embodiment of the present invention, above-mentioned 4th computing module 803 calculates the Euclidean distance between above-mentioned test sample book and above-mentioned default k nearest neighbor sample, when above-mentioned Euclidean distance is less than preset threshold value, above-mentioned first determination module 804 is determined to comprise above-mentioned face characteristic data in facial feature database; When above-mentioned Euclidean distance is greater than preset threshold value, above-mentioned second determination module 805 is determined not comprise above-mentioned face characteristic data in facial feature database, thus completes face recognition process.
Based on the watch-dog in above-described embodiment, optionally, as shown in Figure 9, in the embodiment of the present invention, above-mentioned recognition unit 503 also comprises:
Output module 901, for after determining not comprise above-mentioned face characteristic data in above-mentioned facial feature database, display warning picture, and the prompt tone that gives a warning.
It should be noted that, the specific implementation that above-mentioned output module 901 shows warning picture can be irised out by the facial image got with rectangle frame in display frame, and send caution sound and remind security personnel to check a suspect, specify the personal safety as well as the property safety in place to ensure.
In the embodiment of the present invention, after determining not comprise above-mentioned face characteristic data in above-mentioned facial feature database, show warning picture by above-mentioned output module 901, and the prompt tone that gives a warning, to make the precautionary measures in time, ensure the personal safety as well as the property safety of specifying place.
Above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a face identification method, is characterized in that, comprising:
Watch-dog obtains face image data;
Described watch-dog carries out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data;
Described watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data.
2. face identification method according to claim 1, is characterized in that, described local linear discriminatory analysis LLDA comprises the local linear discriminatory analysis VLLDA based on vector or the local linear discriminatory analysis MLLDA based on matrix.
3. face identification method according to claim 2, it is characterized in that, described face image data is expressed as vector by the described local linear discriminatory analysis VLLDA based on vector, and described face image data is expressed as matrix by the described local linear discriminatory analysis MLLDA based on matrix.
4. the face identification method according to any one of claims 1 to 3, is characterized in that, described watch-dog carries out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data and specifically comprises:
Described watch-dog calculates scatter matrix S in the class of described face image data respectively according to described default k nearest neighbor sample, default first formula and default second formula wand scatter matrix S between class b, described k nearest neighbor sample packages is containing the set of the training sample of multiple class;
Described first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Described second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, c' is the classification number of k nearest neighbor sample, and m' is the average of k nearest neighbor sample, l ' ifor classification c 'in the number of the i-th class k nearest neighbor sample, namely m ' ifor classification c 'in the average of k nearest neighbor sample of the i-th class, x' ijfor classification c 'in the jth k nearest neighbor sample of the i-th class;
Described watch-dog is according to scatter matrix S in described class w, scatter matrix S between described class band Fei Sheer criterion calculates the proper vector of face image data;
Described watch-dog carries out feature extraction to the proper vector of described face image data, obtains described face characteristic data.
5. face identification method according to claim 4, is characterized in that, described watch-dog calculates scatter matrix S in the class of described face image data respectively according to described default k nearest neighbor sample, default first formula and default second formula wand scatter matrix S between class balso comprise before:
Described watch-dog carries out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Described watch-dog determines described default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment.
6. the face identification method according to any one of claims 1 to 3, is characterized in that, described watch-dog carries out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data and specifically comprises:
Described face characteristic data are mated with described default k nearest neighbor sample by described watch-dog;
Described watch-dog utilizes the training sample matched to obtain the test sample book corresponding with described face characteristic data by k nearest neighbor algorithm;
Described watch-dog calculates the Euclidean distance between described test sample book and described default k nearest neighbor sample;
When described Euclidean distance is less than preset threshold value, determine in facial feature database, to comprise described face characteristic data; When described Euclidean distance is greater than preset threshold value, determine in facial feature database, not comprise described face characteristic data.
7. face identification method according to claim 6, is characterized in that, described determine in facial feature database, not comprise described face characteristic data after comprise:
Described watch-dog display warning picture, and the prompt tone that gives a warning.
8. a watch-dog, is characterized in that, comprising:
Acquiring unit, for obtaining face image data;
Analytic unit, for carrying out local linear discriminatory analysis LLDA to described face image data, extracts face characteristic data;
Recognition unit, for carrying out Classification and Identification according to the k nearest neighbor sample preset to described face characteristic data.
9. watch-dog according to claim 8, is characterized in that, described analytic unit specifically comprises:
First computing module, for according to described default k nearest neighbor sample, preset the first formula and preset scatter matrix S in class that the second formula calculates described face image data respectively wand scatter matrix S between class b, described k nearest neighbor sample packages is containing the set of the training sample of multiple class;
Described first formula of presetting is: S w = 1 K Σ i = 1 c ′ Σ j = 1 l ′ i ( x ′ ij - m ′ i ) ( x ′ ij - m ′ i ) T ,
Described second formula of presetting is: S b = 1 K Σ i = 1 c ′ l ′ i ( m ′ i - m ′ ) ( m ′ i - m ′ ) T ,
Wherein, c 'for the classification number of k nearest neighbor sample, m 'for the average of k nearest neighbor sample, l ' ifor classification c 'in the number of the i-th class k nearest neighbor sample, namely m ' ifor classification c 'in the average of k nearest neighbor sample of the i-th class, x' ijfor classification c 'in the jth k nearest neighbor sample of the i-th class;
Second computing module, for according to scatter matrix S in described class w, scatter matrix S between described class band Fei Sheer criterion calculates the proper vector of face image data;
Extraction module, for carrying out feature extraction to the proper vector of described face image data, obtains described face characteristic data.
10. watch-dog according to claim 9, is characterized in that, described watch-dog also comprises:
Processing unit, for carrying out dimension-reduction treatment according to principal component analysis (PCA) PCA to training sample;
Determining unit, for determining described default k nearest neighbor sample by k nearest neighbor algorithm from the training sample after dimension-reduction treatment.
Face identification method described in 11. any one of according to Claim 8 to 10, it is characterized in that, described recognition unit specifically comprises:
Matching module, for mating described face characteristic data with described default k nearest neighbor sample;
3rd computing module, obtains the test sample book corresponding with described face characteristic data for utilizing the training sample matched by k nearest neighbor algorithm;
4th computing module, for calculating the Euclidean distance between described test sample book and described default k nearest neighbor sample;
First determination module, for after described Euclidean distance is less than preset threshold value, determines to comprise described face characteristic data in facial feature database;
Second determination module, for after described Euclidean distance is greater than preset threshold value, determines not comprise described face characteristic data in facial feature database.
12. face identification methods according to claim 11, is characterized in that, described recognition unit also comprises:
Output module, for after determining not comprise described face characteristic data in described facial feature database, display warning picture, and the prompt tone that gives a warning.
CN201410658870.8A 2014-11-18 2014-11-18 A kind of face identification method and monitoring device Active CN104318224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410658870.8A CN104318224B (en) 2014-11-18 2014-11-18 A kind of face identification method and monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410658870.8A CN104318224B (en) 2014-11-18 2014-11-18 A kind of face identification method and monitoring device

Publications (2)

Publication Number Publication Date
CN104318224A true CN104318224A (en) 2015-01-28
CN104318224B CN104318224B (en) 2018-03-23

Family

ID=52373453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410658870.8A Active CN104318224B (en) 2014-11-18 2014-11-18 A kind of face identification method and monitoring device

Country Status (1)

Country Link
CN (1) CN104318224B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573235A (en) * 2018-04-20 2018-09-25 天津科技大学 The compact graph structure face characteristic extraction algorithm of multi-direction weight optimization
CN109255377A (en) * 2018-08-30 2019-01-22 北京信立方科技发展股份有限公司 Instrument recognition methods, device, electronic equipment and storage medium
CN109558535A (en) * 2018-11-05 2019-04-02 重庆中科云丛科技有限公司 The method and system of personalized push article based on recognition of face
CN115188053A (en) * 2022-07-21 2022-10-14 浪潮卓数大数据产业发展有限公司 Automatic alarm method and system for detecting intrusion of stranger in residential building

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256405A (en) * 2016-12-29 2018-07-06 中国移动通信有限公司研究院 A kind of face identification method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050123202A1 (en) * 2003-12-04 2005-06-09 Samsung Electronics Co., Ltd. Face recognition apparatus and method using PCA learning per subgroup
CN101706871A (en) * 2009-11-05 2010-05-12 上海交通大学 Isometric mapping based facial image recognition method
CN103632144A (en) * 2013-12-05 2014-03-12 江苏大学 Fuzzy two-dimensional k-nearest neighbor based face recognition method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050123202A1 (en) * 2003-12-04 2005-06-09 Samsung Electronics Co., Ltd. Face recognition apparatus and method using PCA learning per subgroup
CN101706871A (en) * 2009-11-05 2010-05-12 上海交通大学 Isometric mapping based facial image recognition method
CN103632144A (en) * 2013-12-05 2014-03-12 江苏大学 Fuzzy two-dimensional k-nearest neighbor based face recognition method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573235A (en) * 2018-04-20 2018-09-25 天津科技大学 The compact graph structure face characteristic extraction algorithm of multi-direction weight optimization
CN109255377A (en) * 2018-08-30 2019-01-22 北京信立方科技发展股份有限公司 Instrument recognition methods, device, electronic equipment and storage medium
CN109558535A (en) * 2018-11-05 2019-04-02 重庆中科云丛科技有限公司 The method and system of personalized push article based on recognition of face
CN109558535B (en) * 2018-11-05 2020-08-07 重庆中科云从科技有限公司 Personalized article pushing method and system based on face recognition
CN115188053A (en) * 2022-07-21 2022-10-14 浪潮卓数大数据产业发展有限公司 Automatic alarm method and system for detecting intrusion of stranger in residential building

Also Published As

Publication number Publication date
CN104318224B (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN109829430B (en) Cross-modal pedestrian re-identification method and system based on heterogeneous hierarchical attention mechanism
CN102982349B (en) A kind of image-recognizing method and device
CN102324047B (en) Hyper-spectral image ground object recognition method based on sparse kernel representation (SKR)
CN103198303B (en) A kind of gender identification method based on facial image
CN104680144B (en) Based on the lip reading recognition methods and device for projecting very fast learning machine
CN102156871B (en) Image classification method based on category correlated codebook and classifier voting strategy
CN102663370A (en) Face identification method and system
CN104318224A (en) Face recognition method and monitoring equipment
CN102156885A (en) Image classification method based on cascaded codebook generation
CN103745240A (en) Method and system for retrieving human face on the basis of Haar classifier and ORB characteristics
CN106096517A (en) A kind of face identification method based on low-rank matrix Yu eigenface
CN104298977A (en) Low-order representing human body behavior identification method based on irrelevance constraint
CN109255289A (en) A kind of across aging face identification method generating model based on unified formula
CN101976360A (en) Sparse characteristic face recognition method based on multilevel classification
CN103824090A (en) Adaptive face low-level feature selection method and face attribute recognition method
CN103440494A (en) Horrible image identification method and system based on visual significance analyses
CN104537356A (en) Pedestrian re-identification method and device for carrying out gait recognition through integral scheduling
CN105528584A (en) Method and device for detecting frontal face image
CN104966075A (en) Face recognition method and system based on two-dimensional discriminant features
CN104899578A (en) Method and device for face identification
CN102332087A (en) Face recognition method based on sparse representation
CN103927561A (en) Behavior recognition method based on probability fusion and dimensionality reduction technology
Arigbabu et al. Gender recognition on real world faces based on shape representation and neural network
CN102609732A (en) Object recognition method based on generalization visual dictionary diagram
Chen et al. More about covariance descriptors for image set coding: Log-euclidean framework based kernel matrix representation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180906

Address after: 523710 26 Pingshan 188 Industrial Avenue, Tangxia Town, Dongguan, Guangdong

Patentee after: Central Intelligence Polytron Technologies Inc

Address before: 518129 Guangdong Shenzhen Longgang District Bantian five and Xinhua new industrial zone, central control building 1 to nine floors.

Patentee before: Shenzhen Zhongkong Biometrics Technology Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523710, 26, 188 Industrial Road, Pingshan Town, Guangdong, Dongguan, Tangxia

Patentee after: Entropy Technology Co., Ltd

Address before: 523710, 26, 188 Industrial Road, Pingshan Town, Guangdong, Dongguan, Tangxia

Patentee before: Zhongkong Smart Technology Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: No.32, Pingshan Industrial Road, Tangxia Town, Dongguan City, Guangdong Province, 523710

Patentee after: Entropy Technology Co., Ltd

Address before: 523710 26 Pingshan 188 Industrial Avenue, Tangxia Town, Dongguan, Guangdong

Patentee before: Entropy Technology Co., Ltd