CN105320948A - Image based gender identification method, apparatus and system - Google Patents

Image based gender identification method, apparatus and system Download PDF

Info

Publication number
CN105320948A
CN105320948A CN201510800272.4A CN201510800272A CN105320948A CN 105320948 A CN105320948 A CN 105320948A CN 201510800272 A CN201510800272 A CN 201510800272A CN 105320948 A CN105320948 A CN 105320948A
Authority
CN
China
Prior art keywords
face
sex
sample
detected
model
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.)
Pending
Application number
CN201510800272.4A
Other languages
Chinese (zh)
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.)
BEIJING WENAN TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
BEIJING WENAN TECHNOLOGY DEVELOPMENT 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 BEIJING WENAN TECHNOLOGY DEVELOPMENT Co Ltd filed Critical BEIJING WENAN TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201510800272.4A priority Critical patent/CN105320948A/en
Publication of CN105320948A publication Critical patent/CN105320948A/en
Pending legal-status Critical Current

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/161Detection; Localisation; Normalisation
    • 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

Abstract

The present invention discloses an image based gender identification method, apparatus and system. The image based gender identification method comprises: acquiring an image of a to-be-detected human face and a corresponding key point, wherein the key point is a corner point position of a main part; according to the image of the to-be-detected human face and the corresponding key point, extracting original features of the to-be-detect human face; performing dimension reduction processing on the original features of the to-be-detected human face, and acquiring a low-dimensional feature vector of the to-be-detected human face; and by means of a gender identification model, performing gender identification on the low-dimensional feature vector of the to-be-detected human face. According to the image based gender identification method, apparatus and system disclosed by the present invention, gender identification is implemented by extracting local features of a key point, thereby greatly improving robustness and identification accuracy of a system.

Description

A kind of gender identification method based on image, Apparatus and system
Technical field
The present invention relates to computer biometrics technology, particularly a kind of gender identification method based on image, Apparatus and system.
Background technology
Along with going deep into of Research on Face Recognition Technology, the sex identification based on facial image has become one of research topic of computing machine field of biological recognition hot topic, has demand widely in the intelligent use of a lot of view-based access control model.Such as in the monitoring of market, Techniques of Gender Recognition can be utilized to analyze the Sex distribution of shop personnel, thus provide service more targetedly; In dynamic billboard, also can embed gender identification module, analyze the sex of pedestrian, throw in advertisement pointedly.
Usually as follows with the maximally related implementation of this problem:
The first step, intercepts human face region, and facial image is normalized to set form;
Second step, gridding facial image, based on each grid-search method face characteristic;
3rd step, classifies to each grid search-engine, or calculates the probability belonging to each classification; 4th step, merges the classification results of all grids, obtains final result of determination.
Therefore, design face recognition technology inventor and realize in the process of the method for sex identification, find that in prior art, at least there are the following problems:
First, facial image is difficult to obtain meticulous normalization result due to factors such as attitude, expression and shape of face differences, can not ensure to occur fixing local facial in the net region fixed, and this can cause the robustness of difference, when human face posture, expression shape change are larger, accuracy of identification can significantly decline; The second, sorter is trained respectively for each grid, and the ability of each sorter is relatively weak, and merging is again simply calculate average probability, does not utilize global information fully, can not expect to reach very high accuracy of identification; 3rd, the sorting technique of employing is general method of discrimination, and the method used with the face identification of main flow has very large difference.
Summary of the invention
In view of the above problems, proposing the present invention to provide a kind of overcomes the problems referred to above or solves the problem at least in part, and technical scheme of the present invention is achieved in that
On the one hand, the invention provides a kind of gender identification method based on image, comprising:
Obtain facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
According to described facial image to be detected and corresponding key point, extract face primitive character to be detected;
Described face primitive character to be detected is carried out dimension-reduction treatment, obtains the low dimension proper vector of face to be detected;
By sex model of cognition, sex identification is carried out to the low dimension proper vector of described face to be detected.
Preferably, the method also comprises:
Described according to described facial image to be detected and corresponding key point, extract face primitive character step to be detected, specifically comprise:
According to described facial image to be detected and corresponding key point, obtain face local feature to be detected;
Described face local feature to be detected is connected in series, obtains face primitive character to be detected;
Described described face primitive character to be detected is carried out dimension-reduction treatment, obtains face to be detected low dimension proper vector step, specifically comprise:
Obtain Feature Dimension Reduction matrix and described face primitive character to be detected;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
Preferably, the method also comprises:
Obtain the sex of facial image sample information set and correspondence image sample;
Determine the key point of each sample in the set of described facial image sample information; Described key point is the corner location of main portions;
According to each sample and key point thereof in the set of described facial image sample information, obtain the primitive character of each sample in the set of described facial image sample information;
The primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
By the sex value training sex model of cognition that the low dimension proper vector of described each sample is corresponding with it, obtain described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
Preferably, described according to each sample and key point thereof in the set of described facial image sample information, the primitive character step obtaining each sample in the set of described facial image sample information comprises:
According to the key point of each sample in the set of described facial image sample information, obtain the local feature of each sample;
Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character.
Preferably, described the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector step of each sample, comprising:
Feature Dimension Reduction matrix is obtained by dimension-reduction algorithm;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
Preferably, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Describedly by sex model of cognition, sex identification step is carried out to the low dimension proper vector of described face to be detected and comprises:
Adopt the sex identifying of two verification mode as follows:
Preset the similar threshold value one of described standard women face model and described standard male sex face model similar threshold value two;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Described in interpretation, whether similarity one exceedes described threshold value one; If described similarity one exceedes described threshold value one, be then tentatively judged as women; Otherwise, then tentatively the male sex is judged as;
Described in interpretation, whether similarity two exceedes described threshold value two; If described similarity two exceedes described threshold value two, be then tentatively judged as the male sex; Otherwise, then tentatively women is judged as;
If described judgement is consistent, then export judged result; If described judgement is inconsistent, then exporting can not recognition result;
Or, adopt the sex identifying of recognition method as follows:
Preset similarity otherness threshold value;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Judge whether described similarity one is less than described similarity otherness threshold value with the absolute value of the difference of described similarity two;
If described absolute value is less than described similarity otherness threshold value, then exporting can not recognition result;
If described absolute value is greater than described similarity otherness threshold value, then export sex types corresponding to similarity higher value.
On the other hand, the invention provides a kind of sex recognition device based on image, comprising:
Information acquisition unit, for obtaining facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
Feature extraction unit, for according to described facial image to be detected and corresponding key point, extracts face primitive character to be detected;
Dimensionality reduction unit, for described face primitive character to be detected is carried out dimension-reduction treatment, obtains the low dimension proper vector of face to be detected;
Sex recognition unit, for carrying out sex identification by sex model of cognition to the low dimension proper vector of described face to be detected.
Preferably, described feature extraction unit specifically comprises:
Local feature obtains subelement, for according to described facial image to be detected and corresponding key point, obtains face local feature to be detected;
Primitive character obtains subelement, for being connected in series by described face local feature to be detected, obtains face primitive character to be detected;
Described dimensionality reduction unit, also for obtaining Feature Dimension Reduction matrix and described face primitive character to be detected; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
Preferably, this device also comprises:
Sample information acquiring unit, for obtaining the sex of the set of facial image sample information and correspondence image sample;
Position determination unit, for determining the key point of each sample in the set of described facial image sample information; Described key point is the corner location of main portions;
Sample primitive character acquiring unit, for according to each sample and key point thereof in the set of described facial image sample information, obtains the primitive character of each sample in the set of described facial image sample information;
Sample dimensionality reduction unit, for the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
Model acquiring unit, trains sex model of cognition for the sex value corresponding with it by the low dimension proper vector of described each sample, obtains described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
Preferably, described sample primitive character acquiring unit is used for the key point according to each sample in the set of described facial image sample information, obtains the local feature of each sample; Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character.
Described sample dimensionality reduction unit, for obtaining Feature Dimension Reduction matrix by dimension-reduction algorithm; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
Preferably, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Described sex recognition unit adopts two verification mode or recognition method to carry out sex identification.
Again on the one hand, the invention provides a kind of sex recognition system based on image, comprising: the sex recognition device based on image as above described in any one.
The present invention realizes sex identification by the local shape factor of key point, improves robustness and the accuracy of identification of system significantly, and in addition, the training of described sex model of cognition does not need the identity information knowing sample, greatly facilitates the acquisition of training sample.
Accompanying drawing explanation
A kind of gender identification method process flow diagram based on image that Fig. 1 provides for the embodiment of the present invention;
A kind of sex recognition device structural representation based on image that Fig. 2 provides for the embodiment of the present invention;
A kind of training process flow diagram based on sex model of cognition in the gender identification method of image that Fig. 3 provides for the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
As a kind of gender identification method based on image that Fig. 1 provides for being depicted as the embodiment of the present invention; The method comprises:
101: obtain facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
102: according to described facial image to be detected and corresponding key point, extract face primitive character to be detected;
103: described face primitive character to be detected is carried out dimension-reduction treatment, obtain the low dimension proper vector of face to be detected;
104: by sex model of cognition, sex identification is carried out to the low dimension proper vector of described face to be detected.
It should be noted that, described according to described facial image to be detected and corresponding key point, extract face primitive character step to be detected, specifically comprise:
According to described facial image to be detected and corresponding key point, obtain face local feature to be detected;
Described face local feature to be detected is connected in series, obtains face primitive character to be detected;
Described described face primitive character to be detected is carried out dimension-reduction treatment, obtains face to be detected low dimension proper vector step, specifically comprise:
Obtain Feature Dimension Reduction matrix and described face primitive character to be detected;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
Based on above embodiment, be illustrated in figure 3 a kind of training process flow diagram based on sex model of cognition in the gender identification method of image; This training flow process is as follows:
301: the sex obtaining facial image sample information set and correspondence image sample;
302: the key point determining each sample in the set of described facial image sample information; Described key point is the corner location of main portions; It should be noted that, described key point also can directly get;
303: according to each sample and key point thereof in the set of described facial image sample information, obtain the primitive character of each sample in the set of described facial image sample information;
304: the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
305: by the sex value training sex model of cognition that the low dimension proper vector of described each sample is corresponding with it, obtain described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
Preferably, described according to each sample and key point thereof in the set of described facial image sample information, the primitive character step obtaining each sample in the set of described facial image sample information comprises:
According to the key point of each sample in the set of described facial image sample information, obtain the local feature of each sample;
Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character.
Preferably, described the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector step of each sample, comprising:
Feature Dimension Reduction matrix is obtained by dimension-reduction algorithm;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
Based on a kind of gender identification method embodiment based on image that above Fig. 1 and Fig. 3 provides, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Describedly by sex model of cognition, sex identification step is carried out to the low dimension proper vector of described face to be detected and comprises:
Adopt the sex identifying of two verification mode as follows:
Preset the similar threshold value one of described standard women face model and described standard male sex face model similar threshold value two;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Described in interpretation, whether similarity one exceedes described threshold value one; If described similarity one exceedes described threshold value one, be then tentatively judged as women; Otherwise, then tentatively the male sex is judged as;
Described in interpretation, whether similarity two exceedes described threshold value two; If described similarity two exceedes described threshold value two, be then tentatively judged as the male sex; Otherwise, then tentatively women is judged as;
If described judgement is consistent, then export judged result; If described judgement is inconsistent, then exporting can not recognition result;
Or, adopt the sex identifying of recognition method as follows:
Preset similarity otherness threshold value;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Judge whether described similarity one is less than described similarity otherness threshold value with the absolute value of the difference of described similarity two;
If described absolute value is less than described similarity otherness threshold value, then exporting can not recognition result;
If described absolute value is greater than described similarity otherness threshold value, then export sex types corresponding to similarity higher value.
Based on above embodiment, as shown in Figure 2, be a kind of sex recognition device structural representation based on image that the embodiment of the present invention provides; This device comprises:
Information acquisition unit 201, for obtaining facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
Feature extraction unit 202, for according to described facial image to be detected and corresponding key point, extracts face primitive character to be detected;
Dimension-reduction treatment unit 203, for described face primitive character to be detected is carried out dimension-reduction treatment, obtains the low dimension proper vector of face to be detected;
Sex recognition unit 204, for carrying out sex identification by sex model of cognition to the low dimension proper vector of described face to be detected.
Preferably, described feature extraction unit specifically comprises:
Local feature obtains subelement, for according to described facial image to be detected and corresponding key point, obtains face local feature to be detected;
Primitive character obtains subelement, for being connected in series by described face local feature to be detected, obtains face primitive character to be detected;
Described dimensionality reduction unit, also for obtaining Feature Dimension Reduction matrix and described face primitive character to be detected; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
Preferably, this device also comprises:
Sample information acquiring unit, for obtaining the sex of the set of facial image sample information and correspondence image sample;
Position determination unit, for determining the key point of each sample in the set of described facial image sample information; Described key point is the corner location of main portions;
Sample primitive character acquiring unit, for according to each sample and key point thereof in the set of described facial image sample information, obtains the primitive character of each sample in the set of described facial image sample information;
Sample dimensionality reduction unit, for the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
Model acquiring unit, trains sex model of cognition for the sex value corresponding with it by the low dimension proper vector of described each sample, obtains described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
Preferably, described sample primitive character acquiring unit is used for the key point according to each sample in the set of described facial image sample information, obtains the local feature of each sample; Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character.
Described sample dimensionality reduction unit, for obtaining Feature Dimension Reduction matrix by dimension-reduction algorithm; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
Preferably, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Described sex recognition unit adopts two verification mode or recognition method to carry out sex identification.
Based on above embodiment, below the training principle of sex model of cognition and sex recognition principle are described in detail.
The training principle specific implementation process of described sex model of cognition is as follows:
The first step obtains the sex of facial image sample information set and correspondence image sample;
Second step determines the key point of each sample in the set of described facial image sample information; Described key point also can directly be got by the first step simultaneously;
3rd step, according to each sample and key point thereof in the set of described facial image sample information, calculates local feature; Described same sample image local feature is connected in series, obtains primitive character.Described primitive character is complete face representation.
Because do normalization to face no longer on the whole, the problem that the factors such as attitude, expression and shape of face difference cause can effectively be avoided, meanwhile, the local field of key point is extracted local feature and also can obtain meticulousr and complete face representation, be of value to final sex identification.Described primitive character describes can adopt HOG, LBP, Gabor etc., and the size, gridding parameter etc. of each key point local field can according to actual conditions free settings.
Described primitive character is carried out dimension-reduction treatment by the 4th step; Described Feature Dimension Reduction process, the dimension reduction method of employing can use PCA, LDA etc.The usual dimension of face primitive character that described 3rd step obtains is very high, and dimension-reduction treatment can reduce characteristic dimension, and plays Noise Reduction, is beneficial to subsequent treatment.Be that example is described dimension-reduction treatment process below by way of PCA dimension reduction method: concrete point two steps: 1, Feature Dimension Reduction matrix is obtained by PCA algorithm, Feature Dimension Reduction matrix described herein is dimensionality reduction model, and this dimensionality reduction model only obtains in the training flow process of sex model of cognition; 2., by described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described primitive character, obtains low dimension proper vector.
5th step trains sex model of cognition by the sex value that the low dimension proper vector of described each sample is corresponding with it, obtains described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
The sex identifying of the described gender identification method based on image is specific as follows:
The first step obtains facial image to be detected and corresponding key point; Described key point is the corner location of main portions; Such as: the corner location of the organs such as eye, nose, mouth.
Second step, according to described detection facial image and corresponding key point, extracts face primitive character to be detected; This step, specifically comprises:
According to described facial image to be detected and corresponding key point, obtain face local feature to be detected;
Described face local feature to be detected is connected in series, obtains face primitive character to be detected;
Described face primitive character to be detected is carried out dimension-reduction treatment by the 3rd step, obtains the low dimension proper vector of face to be detected; This step, specifically comprises:
Obtain Feature Dimension Reduction matrix and described face primitive character to be detected;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
4th step carries out sex identification by sex model of cognition to the low dimension proper vector of described face to be detected.When described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; This step specific implementation comprises the following two kinds method:
Adopt the sex identifying of two verification mode as follows:
Preset the similar threshold value one of described standard women face model and described standard male sex face model similar threshold value two;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Described in interpretation, whether similarity one exceedes described threshold value one; If described similarity one exceedes described threshold value one, be then tentatively judged as women; Otherwise, then tentatively the male sex is judged as;
Described in interpretation, whether similarity two exceedes described threshold value two; If described similarity two exceedes described threshold value two, be then tentatively judged as the male sex; Otherwise, then tentatively women is judged as;
If described judgement is consistent, then export judged result; If described judgement is inconsistent, then exporting can not recognition result;
Or, adopt the sex identifying of recognition method as follows:
Preset similarity otherness threshold value;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Judge whether described similarity one is less than described similarity otherness threshold value with the absolute value of the difference of described similarity two;
If described absolute value is less than described similarity otherness threshold value, then exporting can not recognition result;
If described absolute value is greater than described similarity otherness threshold value, then export sex types corresponding to similarity higher value.
It should be noted that, described standard women face model, standard male sex face model and measuring similarity model;
Described standard women face model and described standard male sex face model are the face of abstract, the process that so-called standard women's face model and described standard male sex face model obtain most simple possible is: the key point being extracted each sample by women or male sex's sample training collection, calculates the local feature that this key point is corresponding; Described same sample image local feature is connected in series, obtains primitive character.Described primitive character is complete face representation; Described primitive character is carried out dimension-reduction treatment, and the low dimension set of eigenvectors obtaining each sample set is closed; Obtain the mid point vector that described low dimension set of eigenvectors is closed; The mid point vector that the described low dimension set of eigenvectors that women's sample is corresponding is closed is standard women face model; The mid point vector that the described low dimension set of eigenvectors that male sex's sample is corresponding is closed is described standard male sex face model.All standard faces constituent ratios are to collection.Each concrete sample can regard as the once observation to same class standard face, and like this, sex identification problem is converted into identification problem, and all personal identification methods can directly be used for doing sex identification.
Described measuring similarity model uses tolerance learning algorithm to obtain by similarity, also needs to learn metric parameter; Test phase needs the Similarity value calculating sample to be identified and standard male sex face and standard women face respectively.
In addition, the embodiment of the present invention also provides a kind of sex recognition system based on image; This system comprises: as above arbitrary described sex recognition device based on image.
The present invention is by the primitive character of dimension-reduction treatment, meticulous and complete face representation method, and for the custom-designed sorter of sex identification problem, establish an accurate sex recognition system, and the technical scheme of the described sex identification based on image is by setting up abstract sex face, sex identification problem is converted into authentication or identification problem, and the Local Feature Extraction of distinguished point based also improves robustness and the accuracy of identification of system significantly simultaneously.The sex discrimination of native system under security protection scene reaches 94%.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (12)

1. based on a gender identification method for image, it is characterized in that, comprising:
Obtain facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
According to described facial image to be detected and corresponding key point, extract face primitive character to be detected;
Described face primitive character to be detected is carried out dimension-reduction treatment, obtains the low dimension proper vector of face to be detected;
By sex model of cognition, sex identification is carried out to the low dimension proper vector of described face to be detected.
2., according to claim 1 based on the gender identification method of image, it is characterized in that,
Described according to described facial image to be detected and corresponding key point, extract face primitive character step to be detected, specifically comprise:
According to described facial image to be detected and corresponding key point, obtain face local feature to be detected;
Described face local feature to be detected is connected in series, obtains face primitive character to be detected;
Described described face primitive character to be detected is carried out dimension-reduction treatment, obtains face to be detected low dimension proper vector step, specifically comprise:
Obtain Feature Dimension Reduction matrix and described face primitive character to be detected;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
3. according to claim 1 or 2 based on the gender identification method of image, it is characterized in that, the method also comprises:
Obtain the sex of facial image sample information set and correspondence image sample;
Determine the key point of each sample in the set of described facial image sample information; Described key point is the corner location of main portions;
According to each sample and key point thereof in the set of described facial image sample information, obtain the primitive character of each sample in the set of described facial image sample information;
The primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
By the sex value training sex model of cognition that the low dimension proper vector of described each sample is corresponding with it, obtain described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
4. the gender identification method based on image according to claim 3, it is characterized in that, described according to each sample and key point thereof in the set of described facial image sample information, the primitive character step obtaining each sample in the set of described facial image sample information comprises:
According to the key point of each sample in the set of described facial image sample information, obtain the local feature of each sample;
Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character.
5. the gender identification method based on image according to claim 4, is characterized in that, described the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector step of each sample, comprising:
Feature Dimension Reduction matrix is obtained by dimension-reduction algorithm;
By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
6. the gender identification method based on image according to claim 5, is characterized in that, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Describedly by sex model of cognition, sex identification step is carried out to the low dimension proper vector of described face to be detected and comprises:
Adopt the sex identifying of two verification mode as follows:
Preset the similar threshold value one of described standard women face model and described standard male sex face model similar threshold value two;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Described in interpretation, whether similarity one exceedes described threshold value one; If described similarity one exceedes described threshold value one, be then tentatively judged as women; Otherwise, then tentatively the male sex is judged as;
Described in interpretation, whether similarity two exceedes described threshold value two; If described similarity two exceedes described threshold value two, be then tentatively judged as the male sex; Otherwise, then tentatively women is judged as;
If described judgement is consistent, then export judged result; If described judgement is inconsistent, then exporting can not recognition result;
Or, adopt the sex identifying of recognition method as follows:
Preset similarity otherness threshold value;
By described measuring similarity model, obtain described face to be detected low dimension proper vector and described standard women face distortion one and described face to be detected low dimension proper vector and described standard male sex face distortion two;
Judge whether described similarity one is less than described similarity otherness threshold value with the absolute value of the difference of described similarity two;
If described absolute value is less than described similarity otherness threshold value, then exporting can not recognition result;
If described absolute value is greater than described similarity otherness threshold value, then export sex types corresponding to similarity higher value.
7., based on a sex recognition device for image, it is characterized in that, comprising:
Information acquisition unit, for obtaining facial image to be detected and corresponding key point; Described key point is the corner location of main portions;
Feature extraction unit, for according to described facial image to be detected and corresponding key point, extracts face primitive character to be detected;
Dimensionality reduction unit, for described face primitive character to be detected is carried out dimension-reduction treatment, obtains the low dimension proper vector of face to be detected;
Sex recognition unit, for carrying out sex identification by sex model of cognition to the low dimension proper vector of described face to be detected.
8., according to claim 7 based on the sex recognition device of image, it is characterized in that,
Described feature extraction unit specifically comprises:
Local feature obtains subelement, for according to described facial image to be detected and corresponding key point, obtains face local feature to be detected;
Primitive character obtains subelement, for being connected in series by described face local feature to be detected, obtains face primitive character to be detected;
Described dimensionality reduction unit, also for obtaining Feature Dimension Reduction matrix and described face primitive character to be detected; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described face primitive character to be detected, obtain the low dimension proper vector of face to be detected.
9. according to claim 7 or 8 based on the sex recognition device of image, it is characterized in that, this device also comprises:
Sample information acquiring unit, for obtaining the sex of the set of facial image sample information and correspondence image sample;
Position determination unit, for determining the key point of each sample in the set of described facial image sample information; Described key point is the corner location of main portions;
Sample primitive character acquiring unit, for according to each sample and key point thereof in the set of described facial image sample information, obtains the primitive character of each sample in the set of described facial image sample information;
Sample dimensionality reduction unit, for the primitive character of each sample in the set of described facial image sample information is carried out dimension-reduction treatment, obtains the low dimension proper vector of each sample;
Model acquiring unit, trains sex model of cognition for the sex value corresponding with it by the low dimension proper vector of described each sample, obtains described sex model of cognition, used in order to follow-up sex identification; Wherein, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model.
10. the sex recognition device based on image according to claim 9, is characterized in that,
Described sample primitive character acquiring unit is used for the key point according to each sample in the set of described facial image sample information, obtains the local feature of each sample; Sample image local feature same in the set of described facial image sample information is connected in series, obtains each sample primitive character;
Described sample dimensionality reduction unit, for obtaining Feature Dimension Reduction matrix by dimension-reduction algorithm; By described Feature Dimension Reduction matrix, dimension-reduction treatment is carried out to described each sample primitive character, obtain the low dimension proper vector of each sample.
The 11. sex recognition devices based on image according to claim 9, it is characterized in that, described sex model of cognition comprises: standard women face model, standard male sex face model and measuring similarity model; Described sex recognition unit adopts two verification mode or recognition method to carry out sex identification.
12. 1 kinds, based on the sex recognition system of image, is characterized in that, comprising: as the sex recognition device based on image as described in any one in claim 7 to 11.
CN201510800272.4A 2015-11-19 2015-11-19 Image based gender identification method, apparatus and system Pending CN105320948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510800272.4A CN105320948A (en) 2015-11-19 2015-11-19 Image based gender identification method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510800272.4A CN105320948A (en) 2015-11-19 2015-11-19 Image based gender identification method, apparatus and system

Publications (1)

Publication Number Publication Date
CN105320948A true CN105320948A (en) 2016-02-10

Family

ID=55248303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510800272.4A Pending CN105320948A (en) 2015-11-19 2015-11-19 Image based gender identification method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105320948A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301389A (en) * 2017-06-16 2017-10-27 广东欧珀移动通信有限公司 Based on face characteristic identification user's property method for distinguishing, device and terminal
WO2019120024A1 (en) * 2017-12-22 2019-06-27 Oppo广东移动通信有限公司 User gender identification method, apparatus, storage medium, and electronic device
CN110070047A (en) * 2019-04-23 2019-07-30 杭州智趣智能信息技术有限公司 A kind of face control methods, system and electronic equipment and storage medium
CN110147792A (en) * 2019-05-22 2019-08-20 齐鲁工业大学 The Key works Drug packing character high-speed detection system and method optimized based on memory
CN110852814A (en) * 2020-01-14 2020-02-28 深圳惠通天下信息技术有限公司 Advertisement delivery self-service system and method
CN112132616A (en) * 2020-09-23 2020-12-25 范玲珍 Mobile multimedia advertisement intelligent pushing management system based on big data
CN116342968A (en) * 2023-01-18 2023-06-27 北京六律科技有限责任公司 Dual-channel face recognition method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8027521B1 (en) * 2008-03-25 2011-09-27 Videomining Corporation Method and system for robust human gender recognition using facial feature localization
CN102637251A (en) * 2012-03-20 2012-08-15 华中科技大学 Face recognition method based on reference features
CN103914683A (en) * 2013-12-31 2014-07-09 闻泰通讯股份有限公司 Gender identification method and system based on face image
CN104933406A (en) * 2015-05-27 2015-09-23 南京邮电大学 High-precision multi-angle face gender identification method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8027521B1 (en) * 2008-03-25 2011-09-27 Videomining Corporation Method and system for robust human gender recognition using facial feature localization
CN102637251A (en) * 2012-03-20 2012-08-15 华中科技大学 Face recognition method based on reference features
CN103914683A (en) * 2013-12-31 2014-07-09 闻泰通讯股份有限公司 Gender identification method and system based on face image
CN104933406A (en) * 2015-05-27 2015-09-23 南京邮电大学 High-precision multi-angle face gender identification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李红梅: "基于人脸图像的性别识别的研究与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301389A (en) * 2017-06-16 2017-10-27 广东欧珀移动通信有限公司 Based on face characteristic identification user's property method for distinguishing, device and terminal
CN107301389B (en) * 2017-06-16 2020-04-14 Oppo广东移动通信有限公司 Method, device and terminal for identifying user gender based on face features
WO2019120024A1 (en) * 2017-12-22 2019-06-27 Oppo广东移动通信有限公司 User gender identification method, apparatus, storage medium, and electronic device
CN110070047A (en) * 2019-04-23 2019-07-30 杭州智趣智能信息技术有限公司 A kind of face control methods, system and electronic equipment and storage medium
CN110147792A (en) * 2019-05-22 2019-08-20 齐鲁工业大学 The Key works Drug packing character high-speed detection system and method optimized based on memory
CN110147792B (en) * 2019-05-22 2021-05-28 齐鲁工业大学 Medicine package character high-speed detection system and method based on memory optimization
CN110852814A (en) * 2020-01-14 2020-02-28 深圳惠通天下信息技术有限公司 Advertisement delivery self-service system and method
CN112132616A (en) * 2020-09-23 2020-12-25 范玲珍 Mobile multimedia advertisement intelligent pushing management system based on big data
CN112132616B (en) * 2020-09-23 2021-06-01 广东省广汽车数字营销有限公司 Mobile multimedia advertisement intelligent pushing management system based on big data
CN116342968A (en) * 2023-01-18 2023-06-27 北京六律科技有限责任公司 Dual-channel face recognition method and device
CN116342968B (en) * 2023-01-18 2024-03-19 北京六律科技有限责任公司 Dual-channel face recognition method and device

Similar Documents

Publication Publication Date Title
CN105320948A (en) Image based gender identification method, apparatus and system
CN108053615B (en) Method for detecting fatigue driving state of driver based on micro-expression
Jain et al. Facial marks: Soft biometric for face recognition
CN103914686B (en) A kind of face alignment authentication method and system shone based on certificate photo with collection
CN105160317B (en) One kind being based on area dividing pedestrian gender identification method
CN107590452A (en) A kind of personal identification method and device based on gait and face fusion
CN108182397B (en) Multi-pose multi-scale human face verification method
CN105740779B (en) Method and device for detecting living human face
CN106339702A (en) Multi-feature fusion based face identification method
CN103778409A (en) Human face identification method based on human face characteristic data mining and device
CN105138968A (en) Face authentication method and device
Wang et al. Feature representation for facial expression recognition based on FACS and LBP
CN106355138A (en) Face recognition method based on deep learning and key features extraction
CN103413119A (en) Single sample face recognition method based on face sparse descriptors
CN104680154B (en) A kind of personal identification method merged based on face characteristic and palm print characteristics
CN107480586B (en) Face characteristic point displacement-based biometric photo counterfeit attack detection method
Liu et al. Finger vein recognition with superpixel-based features
CN108171223A (en) A kind of face identification method and system based on multi-model multichannel
CN110796101A (en) Face recognition method and system of embedded platform
CN109460704A (en) A kind of fatigue detection method based on deep learning, system and computer equipment
CN104134061A (en) Number gesture recognition method for support vector machine based on feature fusion
CN106874877A (en) A kind of combination is local and global characteristics without constraint face verification method
CN104102903A (en) Secondary face recognition method based on SRC
CN108898623A (en) Method for tracking target and equipment
CN106529377A (en) Age estimating method, age estimating device and age estimating system based on image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100085 Beijing, East Road, No. 1, building No. 7, building No. 4, ocean building, Haidian District

Applicant after: Wen'an Beijing intelligent technology Limited by Share Ltd

Address before: 100085 Beijing, East Road, No. 1, building No. 7, building No. 4, ocean building, Haidian District

Applicant before: Beijing Wenan Technology Development Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Unit 801, Unit 5, No. 2 Building, 9 Yuan, Fenghao East Road, Haidian District, Beijing 100094

Applicant after: Wen'an Beijing intelligent technology Limited by Share Ltd

Address before: 100085 Fourth Floor of Huanyang Building, 7th Building, No. 1 Courtyard, Shangdi East Road, Haidian District, Beijing

Applicant before: Wen'an Beijing intelligent technology Limited by Share Ltd

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160210