WO2015078183A1 - Image identity recognition method and related device, and identity recognition system - Google Patents

Image identity recognition method and related device, and identity recognition system Download PDF

Info

Publication number
WO2015078183A1
WO2015078183A1 PCT/CN2014/081636 CN2014081636W WO2015078183A1 WO 2015078183 A1 WO2015078183 A1 WO 2015078183A1 CN 2014081636 W CN2014081636 W CN 2014081636W WO 2015078183 A1 WO2015078183 A1 WO 2015078183A1
Authority
WO
WIPO (PCT)
Prior art keywords
identity
feature vector
face image
recognized
available
Prior art date
Application number
PCT/CN2014/081636
Other languages
French (fr)
Chinese (zh)
Inventor
张维
刘健庄
李志锋
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015078183A1 publication Critical patent/WO2015078183A1/en

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

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an image identification method and related apparatus and an identification system. Background technique
  • Image-based face recognition has a wide range of applications in the fields of human identification, finance, security systems, and data identification.
  • faces will change in contours, pigments and textures.
  • elderly people generally show wrinkles, pigmentation, and the like.
  • Figure 1 shows an example of the same person at different ages. It can be seen that the face of the same person is different in different age groups.
  • a popular technology is based on the generated model for face recognition.
  • the core idea is to build a generated model to simulate the face aging process.
  • the specific method is to compensate the face image of the test to offset it.
  • the age difference of the reference face image in the database, and then the matching image is matched.
  • Embodiments of the present invention provide an image identity recognition method, a related device, and an identity recognition system, with an expectation One step is to improve the accuracy and versatility of image identification, so as to meet the needs of more kinds of application scenarios.
  • a first aspect of the present invention provides an image identification method, which may include:
  • the identity factor of the identity is determined together with an age factor for describing the age of the person corresponding to the face image to be identified, wherein the identity factor and the age factor are not related to each other;
  • the Z1 sample face images are a subset of the Z sample face images, and the Z1 sample face images correspond to the identity feature vectors and the The similarity of the identity feature vector corresponding to the recognized face image is greater than the identity feature vector of the sample face image other than the Z1 sample face image among the Z sample face images and The similarity of the identity feature vector corresponding to the face image to be identified, or the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a fixed value, wherein the output identity information corresponding to the Z1 sample face images is the possible identity information corresponding to the face image to be identified.
  • Performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be recognized including: preprocessing the face image to be recognized; The recognized face image performs feature extraction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • the pre-processed facial image to be recognized is subjected to feature extraction processing to obtain the to-be-identified
  • the available comprehensive feature vector corresponding to the face image includes: The original integrated feature vector is extracted from the recognized face image, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • the original integrated feature vector or the available integrated feature vector Obtained based on the gradient direction histogram.
  • the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the corresponding identity feature vector includes: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
  • the available integrated feature vector corresponding to the to-be-recognized face image Described by the identity-age factor model Described by the identity-age factor model
  • identity-age factor model is as follows:
  • T represents the available integrated feature vector
  • n represents the available synthesis
  • the total number of segments of the feature vector, q represents the available comprehensive features corresponding to the segment q Collector vector, said Indicates the stated
  • the corresponding identity feature vector includes: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
  • the identity feature vector corresponding to the face image to be recognized and the Z The similarity of the identity feature vector corresponding to each sample face image in the sample face image, the identity feature vector corresponding to the face image to be recognized and each sample face in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the image is characterized.
  • a second aspect of the present invention provides a model training method, which may include:
  • the identity-age factor model is trained by using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model;
  • the identity-age factor model corresponding to the available integrated feature subvector corresponding to the segment q of the T ⁇ is as follows:
  • represents the available integrated feature vector
  • represents the available synthesis
  • the q representing an available integrated feature subvector corresponding to the segment q, Indicates the stated Corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor
  • the available integrated feature vector is obtained based on a gradient direction histogram.
  • a third aspect of the present invention provides a model training method, which may include:
  • the identity-age factor model is trained using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model.
  • identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the available integrated feature vector is derived based on a gradient direction histogram.
  • a fourth aspect of the present invention provides an image identification device, which may include:
  • An extracting unit configured to perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the person to be identified
  • the identity factor of the identity of the person corresponding to the face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other;
  • the calculating unit calculates an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-recognized face image;
  • a matching unit configured to calculate a similarity between an identity feature vector corresponding to the to-be-recognized face image and an identity feature vector corresponding to each sample face image in the Z sample face images, where the identity feature vector Determined by an identity factor, the Z is a positive integer;
  • An output unit configured to output identity information corresponding to the Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, and the matching unit calculates the Z1
  • the similarity between the identity feature vector corresponding to the sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z sample face image among the Z sample face images.
  • the similarity between the identity feature vector corresponding to the other face image of the sample and the identity feature vector corresponding to the face image to be recognized, or the identity feature vector corresponding to the Z1 sample face image and the face to be recognized is greater than the set threshold, wherein the output identity information corresponding to the Z1 sample face image is the possible identity information corresponding to the face image to be identified.
  • the extracting unit is specifically configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain the available comprehensive image corresponding to the face image to be recognized Feature vector.
  • the extracting unit is specifically configured to: extract the original integrated feature vector from the pre-processed face image to be recognized, and extract the original integrated feature
  • the feature vector performs a dimensionality reduction process to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • the original integrated feature vector or the available synthesis The feature vector is derived based on the gradient direction histogram.
  • the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the calculating unit is specifically configured to: based on the available integrated feature vector corresponding to the to-be-recognized face image, Calculating an identity feature vector corresponding to the to-be-recognized face image:
  • the available comprehensive feature corresponding to the to-be-recognized face image The vector is described by the identity-age factor model,
  • identity-age factor model is as follows:
  • the T ⁇ represents the available integrated feature vector
  • the n represents the available synthesis
  • the total number of segments of the feature vector Representing the available integrated feature sub-vector corresponding to the segment q, Indicates the stated q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation An age factor corresponding to q, wherein the Gaussian white noise corresponding to the q is
  • the calculating unit is specifically configured to: based on the image of the face to be recognized Calculating an identity feature vector corresponding to the to-be-recognized face image by using the corresponding integrated feature vector:
  • the identity feature vector corresponding to the to-be-recognized face image is The similarity of the identity feature vector corresponding to each sample face image in the Z sample face images, the identity feature vector corresponding to the face image to be recognized and each sample person in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the face image is characterized.
  • a fifth aspect of the present invention provides a model training apparatus, which may include:
  • An acquiring unit configured to acquire an available integrated feature vector corresponding to the Z sample face images; a training unit, configured to use the available integrated feature vector corresponding to the Z sample face images to train the identity-age factor model to determine a model parameter of the identity-age factor model; wherein the available integrated feature vector is described by an identity-age factor model,
  • identity-age factor model is as follows:
  • the total number of segments of the feature vector, The segmentation q corresponds to the available comprehensive
  • the ⁇ represents the average of the sample characteristics corresponding to the q a value, where the representation represents an identity factor corresponding to the q, the representation
  • a sixth aspect of the present invention provides a model training apparatus, including:
  • An acquiring unit configured to obtain an available integrated feature vector corresponding to the z sample face images; a training unit, configured to use the available integrated feature vector corresponding to the z sample face images to train the identity-age factor model to determine a model parameter of the identity-age factor model, wherein the available integrated feature vector is described by an identity-age factor model,
  • identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents the sample feature level p mean
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the representation is high
  • the available integrated feature vector is obtained based on a gradient direction histogram.
  • a seventh aspect of the present invention provides an identity recognition system, including:
  • a client configured to send a face image to be identified to the identity server
  • the identity identification server is configured to receive the to-be-recognized face image from the client, and perform feature extraction processing on the to-be-recognized face image to obtain the face image to be recognized.
  • An integrated feature vector wherein the available integrated feature vector is an identity factor for describing an identity of a person corresponding to the face image to be recognized and an age for describing a person corresponding to the face image to be recognized The age factors are determined together, wherein the identity factor and the age factor are not related to each other; and the identity feature corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be recognized Calculating a similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the sample face image, wherein the identity feature vector is determined by the identity factor Determining that the ⁇ is a positive integer; the client is required to output the identity information corresponding to the Z1 sample face images, The Z1 sample face image is a subset of the
  • the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a set threshold, wherein the output Z1 sample face image corresponding to the identity information The possible identity information corresponding to the face image to be identified.
  • the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the to-be-identified face is calculated on the available integrated feature vector corresponding to the to-be-identified face image
  • the identity recognition server is specifically configured to: calculate, according to the available integrated feature vector corresponding to the face image to be recognized, the image corresponding to the face image to be recognized Identity feature vector:
  • identity-age factor model is as follows:
  • the T ⁇ represents the available integrated feature vector
  • the n represents a total number of segments of the available integrated feature vector
  • the available composite feature subvector corresponding to the segment q Indicates the stated q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation The age factor corresponding to q, wherein the 4 represents the Gaussian white noise corresponding to the q
  • the to-be-identified human face is calculated on the available integrated feature vector corresponding to the to-be-identified face image
  • the identity recognition server is configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature corresponding to the image to be recognized vector:
  • the segmentation q corresponds to the identity feature vector.
  • An eighth aspect of the present invention provides an identification device, including:
  • the processor is configured to perform a feature extraction process on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, where the available integrated feature vector is used to describe the to-be-used
  • the identity factor of the identity of the person corresponding to the recognized face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the body And the age factor is not related to each other;
  • the identity feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be recognized;
  • the face to be recognized is calculated a similarity between the identity feature vector corresponding to the image and the identity feature vector corresponding to each sample face image in the Z sample face images, wherein the identity feature vector is determined by an identity factor, and the Z is a positive integer;
  • Determining the similarity of the identity feature vector corresponding to the recognized face image, or the identity feature vector corresponding to the Z1 sample face image and the face image pair to be recognized Similarity identity eigenvectors width greater than a set value, wherein Z1 sample identity information corresponding to the face image is output from the face to be recognized identity information corresponding to the image may be.
  • the processor is configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain an available comprehensive feature vector corresponding to the face image to be recognized .
  • the processor is configured to extract an original integrated feature vector from the to-be-identified face image after performing pre-processing, Performing dimensionality reduction on the extracted original integrated feature vector to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • a fourth possible implementation manner The available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the processor is configured to: calculate, according to the available integrated feature vector corresponding to the to-be-identified face image, by using: The identity feature vector corresponding to the recognized face image:
  • identity-age factor model is as follows:
  • the T ⁇ represents the available integrated feature vector
  • the n represents the available synthesis
  • the total number of segments of the feature vector Representing the available integrated feature sub-vector corresponding to the segment q, Indicates the stated q corresponding to the average of the sample features, wherein the identity factor corresponding to the q, the age factor corresponding to the q, wherein the Gaussian white noise corresponding to the q Shi ⁇
  • the processor is configured to: the following manner, based on the to-be Calculating an identity feature vector corresponding to the face image to be recognized by the available integrated feature vector corresponding to the recognized face image:
  • F represents the identity feature vector
  • the segmentation q corresponds to the identity feature vector
  • the identity feature vector corresponding to the to-be-recognized face image is The similarity of the identity feature vector corresponding to each sample face image in the Z sample face images, by the identity feature vector corresponding to the face image to be recognized and each sample person in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the face image is characterized.
  • a ninth aspect of the present invention provides a model training device, which may include:
  • the processor is configured to obtain an available integrated feature vector corresponding to the Z sample face images; and use the available integrated feature vector corresponding to the Z sample face images to enter the identity-age factor model Performing line training to determine model parameters of the identity-age factor model; wherein the available integrated feature vector is described by an identity-type,
  • the T ⁇ represents the available integrated feature vector
  • the n represents the available integrated T
  • the ⁇ represents the average of the sample characteristics corresponding to the q a value, where the representation represents an identity factor corresponding to the q, the representation
  • the identity-age factor e Q ⁇ , U q , V , a Q 2 ⁇ corresponding to the available integrated feature subvector corresponding to the segment q of the ⁇
  • the available integrated feature vector is derived based on a gradient direction histogram.
  • a tenth aspect of the present invention provides a model training device, including:
  • the processor is configured to acquire an available integrated feature vector corresponding to the z sample face images; and use the available integrated feature vector corresponding to the z sample face images to train the identity-age factor model to determine the Model parameters of the identity-age factor model,
  • identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the available integrated feature vector is obtained based on a gradient direction histogram.
  • the eleventh aspect of the present invention provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes any one of the model training methods or the image identification method provided by the embodiment of the present invention. Part or all of the steps.
  • the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, and based on the available synthesis corresponding to the face image to be identified.
  • the feature vector calculates an identity feature vector determined by the identity factor corresponding to the face image to be identified, and calculates an identity feature vector corresponding to the face image to be recognized and each sample face image in the sample face image.
  • the similarity of the corresponding identity feature vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the sample face images satisfies the identity information corresponding to the required Z1 sample face image,
  • the possible identity information corresponding to the face image to be identified is output.
  • FIG. 1 is a photograph of a face of the same person at different ages according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of an image identification method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a model training method according to an embodiment of the present invention
  • FIG. 4 is a schematic flow chart of another model training method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an image identity recognition apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a model training device according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another model training device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an identity recognition system according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an identity recognition device according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a model training device according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another model training device according to an embodiment of the present invention.
  • Embodiments of the present invention provide an image identification method, a related device, and an identification system, in order to further improve the accuracy and versatility of image identification, thereby satisfying the needs of more application scenarios as much as possible.
  • an image identification method may include: performing feature extraction processing on a face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein, the above-mentioned available integrated feature vector is jointly determined by an identity factor for describing the identity of the person corresponding to the face image to be identified, and an age factor for describing the age of the person corresponding to the face image to be recognized, wherein The identity factor and the age factor are not related to each other; the identity feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be identified; and the face image to be recognized is calculated.
  • the similarity between the identity feature vector and the identity feature vector corresponding to each sample face image in the Z sample face images wherein the identity feature vector is determined by an identity factor, and the Z is a positive integer; and the Z1 sample faces are output.
  • Identity information corresponding to the image wherein, the above Z1
  • the sample face image is a subset of the Z sample face images, and the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z samples.
  • the similarity between the identity feature vector corresponding to the sample face image other than the above-mentioned Z1 sample face images and the identity feature vector corresponding to the face image to be recognized among the face images, or the Z1 sample face The similarity between the identity feature vector corresponding to the image and the identity feature vector corresponding to the face image to be identified is greater than a set threshold, wherein the output of the Z1 sample face image corresponding to the identity information is the face to be recognized Possible identity information corresponding to the image.
  • FIG. 2 is a schematic flowchart diagram of an image identity recognition method according to an embodiment of the present invention.
  • an image identification method provided by an embodiment of the present invention may include the following contents:
  • 201 Perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be identified, where the available integrated feature vector is used to describe the person corresponding to the face image to be recognized.
  • the identity factor of the identity is determined together with an age factor for describing the age of the person corresponding to the face image to be identified, wherein the identity factor and the age factor are not related to each other.
  • the face image to be recognized can be specially processed through various possible feature extraction processing methods.
  • the extraction process is performed to obtain an available integrated feature vector corresponding to the face image to be identified.
  • the above-mentioned available integrated feature vector can be obtained, for example, based on a gradient direction histogram or other means.
  • performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be identified may include: preprocessing the face image to be recognized ( The pre-processing may include geometric correction, trimming, and/or normalization processing, etc.; performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized .
  • the pre-processing may include geometric correction, trimming, and/or normalization processing, etc.
  • performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized may also be omitted.
  • the original integrated feature vector may be derived, for example, based on a gradient direction histogram or based on other means.
  • performing the feature extraction process on the pre-processed face image to obtain the available integrated feature vector corresponding to the face image to be recognized may include:
  • the original integrated feature vector is extracted from the processed face image to be recognized, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • the manner of the dimensionality reduction processing may be, for example, a dimensionality reduction processing method of the PCA+LDA. It can be understood that the main purpose of the dimensionality reduction processing is to reduce the computational complexity. If there is sufficient computing power to support, of course, the step of performing the dimensionality reduction processing on the extracted original integrated feature vector may not be performed, for example, the extraction may be directly performed.
  • the original integrated feature vector is used as the available integrated feature vector corresponding to the face image to be identified.
  • Output identity information corresponding to the Z1 sample face images (where the identity information corresponding to each sample face image in the Z1 sample face images is used to indicate the identity of the person corresponding to the sample face image. Any information (such as name, ID number, ID card picture, passport number and/or passport picture, etc.) may even be the sample face image itself (if the sample face image is used to indicate this The identity of the person corresponding to the sample face image)), wherein the Z1 sample face image is a subset of the Z sample face images, and the identity feature vector corresponding to the Z1 sample face image and the to-be-identified
  • the similarity of the identity feature vector corresponding to the face image is greater than the identity feature vector corresponding to the sample face image other than the Z1 sample face image among the Z sample face images and the face to be recognized
  • the similarity of the identity feature vector corresponding to the image, or the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a set threshold
  • the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
  • the identity-age factor model can be expressed, for example, using a linear model.
  • the age feature vector and the identity feature vector can be considered to be obtained by linear transformation from the age factor and the identity factor, respectively.
  • the above ⁇ represents the above-mentioned available integrated feature vector
  • the above ⁇ represents the sample feature average value
  • the above U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the person's age As the person's age changes, it can be used for character identification; depending on the age of the person corresponding to the face image, it can be used to estimate the person's age.
  • the identity-age factor models describing the available integrated feature vectors T ⁇ corresponding to any face image have the same model parameters 9 -, P, u, v, °" ⁇ . Multiple sample face images can be used.
  • the above-mentioned identity-age factor model can be trained by the comprehensive feature vector to determine the value of the model parameter - U, V, ⁇ ⁇ of the identity-age factor model described above, wherein based on the above-mentioned possible application scenarios, the above is based on the above-mentioned to be identified.
  • the method may include: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, by using the following manner The identity feature vector corresponding to the recognized face image:
  • the available feature vector corresponding to the face image to be identified is described by an identity-age factor model.
  • the above identity-age factor model is as follows:
  • the above n represents the above available synthesis
  • each segment corresponding to an available integrated feature sub-vector, including n segment pairs
  • the available composite feature subvectors, ie ⁇ include ⁇ available synthetic feature subvectors
  • the above y represents the age factor coefficient corresponding to q, above ⁇
  • the parameter qqqq that is, is used to describe the available comprehensive features
  • the model parameter of the identity-age factor model of the available comprehensive feature subvector corresponding to the segmentation q o q ⁇ u q , V g , ⁇ .
  • the available integrated feature sub-vectors q corresponding to the segment q of the eigenvector T are composed of the following three parts u a x a vy ⁇ : identity information qq , age information q and noise. Where q depends on the identity of the person corresponding to the face image, which can be considered qq
  • Qq depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person.
  • the identity-age factor models of the corresponding available feature eigenvectors q all have the same model parameters.
  • the above-described identity-age factor model can be trained to determine the identity-age by using the available comprehensive feature vectors corresponding to the plurality of sample face images.
  • the value of the model parameter qqqqq of the factor model, for The values of the model parameters possessed by the identity-age factor model describing the available integrated feature vectors corresponding to each segment can be determined according to the above exemplary manner.
  • the calculating the identity feature vector corresponding to the face image to be recognized based on the available integrated feature vector corresponding to the face image to be identified may include: based on the foregoing manner, based on the foregoing other possible application scenarios, The available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
  • the similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the z sample face images for example, by using the above The cosine distance or the Euclidean distance or the Manhattan distance (or the ability to characterize the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images Other parameters) to characterize.
  • the cosine distance corresponding to two identity feature vectors can be obtained by the following formula:
  • the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above.
  • Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the Z sample face images satisfies the required Z1
  • the identity information corresponding to the sample face image is output as the possible identity information corresponding to the face image to be identified.
  • the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios.
  • album management In today's society, due to the rapid development and popularity of various digital devices (mobile phones, digital cameras, digital video cameras, tablets, etc.), users often store a large number of digital photos, most of which are used and used. People or their relatives and friends are closely related. Therefore, it is necessary to more effectively distinguish, store, manage, and retrieve these photos based on the identity of the faces appearing in the photos. This involves face recognition across ages. By identifying faces in different photos and finding photos with the same identity, photos can be stored and managed according to the recognition results.
  • Another possible application scenario may be for a government-related department to detect whether an applicant has multiple documents (such as a passport).
  • a government-related department to detect whether an applicant has multiple documents (such as a passport).
  • the relevant government departments have mainly judged whether there is such a phenomenon based on the applicant's name and ID number, but this method only prevents the person from being a villain.
  • a feasible idea is to use the solution proposed by the embodiment of the present invention to perform face recognition across ages.
  • the applicant for the passport uses the scheme proposed by the present invention to perform the similarity search in the standard face image database of the existing issued passport according to the passport standard photo provided by the applicant, and may find and input the most photographs in the database. Several (such as 50 or 100) photos of the image can then be further approved manually.
  • the solution of the embodiment of the present invention introduces a new stealth factor analysis model, which can significantly improve the face recognition performance across ages, and has wide application value.
  • MORPH face age database
  • FIG. 3 is a schematic flowchart of a model training method according to an embodiment of the present invention.
  • a model training method provided by an embodiment of the present invention may include the following contents:
  • the above identity-age factor model is as follows:
  • the above ⁇ represents the available integrated feature vector
  • the above ⁇ represents the sample feature average value
  • the U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the above represents Gaussian white noise
  • the above y represents the age factor
  • the TU x V y vectors are composed of the following three parts: identity information, age information, and noise. Among them, depending on the identity of the person corresponding to the face image, it can be considered not
  • the person's age As the person's age changes, it can be used for character identification; depending on the age of the person corresponding to the face image, it can be used to estimate the person's age.
  • the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
  • the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
  • the above identity-age factor model is as follows: Because of the model parameter ⁇ - ⁇ U, , °" ⁇ of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , ⁇ , V, ⁇ ⁇ , trained identity
  • the age factor model can lay a good foundation for the identification of any face image to be recognized.
  • the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • the feature is stripped out, which is beneficial to eliminate the influence of the age-related features included in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition.
  • the above ⁇ represents the available comprehensive feature vector
  • the above ⁇ represents the average value of the sample feature
  • the U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the above G represents high ⁇ ⁇ ⁇ ⁇ ⁇ 2 ⁇ ) X
  • White noise, i ' ⁇ above represents the identity factor, and ⁇ above represents the age factor.
  • the model parameters can be optimized by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, as shown in the following formula 1:
  • k represents the age of the person corresponding to the sample face image
  • i represents the sample face
  • a sample face map representing the identity i and age k Like the corresponding available comprehensive feature vector, 1 represents the identity factor of the person corresponding to the sample face image whose identity is i, ⁇ is the age factor of the person corresponding to the sample face image of age k, ⁇ indicates in the given
  • the model parameters are under the conditions of the ⁇ , and the joint probability distribution.
  • L represents the joint probability distribution.
  • the factor sum can be analyzed by a coordinate ascending algorithm, that is, another invisible factor is optimized with one factor fixed.
  • the prior probability score ⁇ ⁇ ( , y k ⁇ T) can be estimated
  • Cloth 0 maximizes the conditional expectation of joint probability distribution L to obtain prior probability distribution , and then update the value of the model parameter ⁇ .
  • IJ and T in Equation 2 represent the available integrated feature vectors corresponding to each sample face image in the sample set (assuming there are Z sample face images), and L C is the joint probability distribution L in the given initial model parameters.
  • Conditional expectations Among them, because the invisible factor and ⁇ are unknown, Therefore L cannot be directly maximized. But by initializing the model parameter ⁇ . To estimate the distribution of the invisibility factor 'and, and then to obtain the conditional expectation of the joint probability distribution L under the lower distribution, which is expected to be L c .
  • Model parameters of the feature model 6 -, ⁇ , u, v, ⁇ ⁇ Specifically, the following parameters can be initialized first:
  • the initialized ⁇ , ⁇ , ⁇ are brought into the identity-age factor model formula, and the invisible factor sum is calculated based on the model parameters 9-, ⁇ , ⁇ 2 ⁇ .
  • the N d represents the number of sample face images whose identity is i in the training sample face image
  • the N sk represents the number of sample face images of the age of k in the training sample face image.
  • N represents the total number of sample face images
  • d is the length of the available integrated feature vector of the sample face image.
  • the parameters ⁇ , and V are obtained multiple times using a plurality of available integrated feature vectors in the available integrated feature vectors corresponding to the Z sample face images until convergence.
  • the model parameter ⁇ ⁇ , ⁇ ⁇ 2 ⁇ of the above identity-age factor model can be calculated more accurately.
  • the model parameters can also be trained by other means. The specific value of L ⁇ ⁇ . It is not limited to the training method exemplified above.
  • FIG. 4 is a schematic flowchart diagram of another model training method according to an embodiment of the present invention.
  • another model training method provided by an embodiment of the present invention may include the following contents: 401. Acquire an available integrated feature vector corresponding to the Z sample face images.
  • the above identity-age factor model is as follows:
  • n represents the above available synthesis
  • the available composite feature subvector ie Including n available synthetic feature subvectors
  • t a T ut a q represents the available integrated feature subvector corresponding to the segment q of ⁇ . The above represents q
  • the identity factor coefficient corresponding to V t a ⁇ The above represents the age factor coefficient corresponding to q, the above ⁇ q
  • the parameter qqqq that is, the model parameter for describing the identity-age factor model of the available integrated feature subvector corresponding to the segment q of the available integrated feature vector T
  • the available composite feature sub-vectors q corresponding to the segment q of the feature vector T are all composed of the following three parts.
  • composition is: identity information 4 q , age information q and noise.
  • q depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person.
  • the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
  • the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
  • the above-mentioned identity-age factor model can be used by using the available comprehensive feature vectors corresponding to the Z sample face images.
  • the identity-age factor model corresponding to each segment trained can lay the identification of any face image to be identified Good foundation.
  • the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • the feature is stripped out, which in turn helps to eliminate the identification
  • the influence of the age-related features contained in the available feature vectors of the face image on the identity recognition which in turn helps to improve the accuracy and versatility of the image identification, thereby facilitating the needs of more application scenarios as much as possible. .
  • the corresponding identity to be trained - the age factor model is as follows:
  • n represents the total number of segments of the available integrated feature vector (ie, Divided into n segments of equal length or unequal length, each segment corresponding to one available integrated feature subvector, T ⁇ includes n segment pairs
  • the above represents the age factor coefficient corresponding to q, above ⁇
  • the parameter qqqq that is, the model parameter for describing the identity-age factor model of the available integrated feature subvector corresponding to the segmentation q of the available integrated feature vector T
  • the model parameters can be optimized by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, as shown in the following formula 3: Wherein, in formula 2, k represents the age of the person corresponding to the sample face image, and i represents the identity of the person corresponding to the sample face image, wherein Indicates that the identity is i and the age is k
  • represents the joint probability distribution.
  • the experiment can be performed on multiple sample face images corresponding to different ages and different identities.
  • the coordinate rising algorithm can be used to factor He y is analyzed, that is, the other invisible factor is optimized when one factor is fixed. Chemical. Where, for a given model parameter , can estimate the prior probability distribution
  • L C is the joint probability distribution ⁇ in the given initial model
  • the condition of ⁇ is expected, and the condition is expected to be L c .
  • N ci represents the number of sample face images whose identity is i in the training sample face image
  • N sk represents the number of sample face images of age k in the training sample face image
  • N represents the total number of sample face images
  • d is the length of the available integrated feature sub-vector corresponding to the index q of the available integrated feature vector of the sample face image.
  • the available eigenvector vector corresponding to the segment q among the available integrated feature vectors corresponding to the Z sample face images is used to obtain the parameter ⁇ ⁇ multiple times. Until the convergence.
  • an embodiment of the present invention provides an image identity recognition apparatus 500, which may include: The extracting unit 510, the calculating unit 520, the matching unit 530, and the output unit 540.
  • the extracting unit 510 is configured to perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the to-be-used
  • the identity factor of the identity of the person corresponding to the recognized face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other. ;
  • the calculating unit 520 is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image;
  • the matching unit 530 is configured to calculate a similarity between the identity feature vector corresponding to the to-be-recognized face image and the identity feature vector corresponding to each sample face image in the Z sample face images, where the identity feature The vector is determined by an identity factor, and the Z is a positive integer;
  • the output unit 540 is configured to output identity information corresponding to the Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, and the matching unit calculates the Z1
  • the similarity between the identity feature vector corresponding to the sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z sample face image among the Z sample face images.
  • the similarity between the identity feature vector corresponding to the other face image of the sample and the identity feature vector corresponding to the face image to be recognized, or the identity feature vector corresponding to the Z1 sample face image and the person to be identified The similarity of the identity feature vector corresponding to the face image is greater than the set threshold.
  • the identity information corresponding to the output Z1 sample face image is the possible identity information corresponding to the face image to be recognized.
  • the extracting unit 510 may be specifically configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain the The available integrated feature vector corresponding to the recognized face image.
  • performing feature extraction processing on the to-be-identified face image after the pre-processing is performed to obtain an aspect of the available integrated feature vector corresponding to the face image to be recognized, and extracting
  • the unit 510 may be specifically configured to: extract an original integrated feature vector from the to-be-identified face image after the pre-processing, perform a dimensionality reduction process on the extracted original integrated feature vector to obtain the to-be-identified person The available composite feature vector corresponding to the face image.
  • the original integrated feature vector or the available integrated feature The amount is obtained based on the gradient direction histogram.
  • the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the calculating unit 520 is specifically configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized. :
  • the 1 represents the identity feature vector, where ⁇ 2 / + [/[/ + ⁇ .
  • the available comprehensive features corresponding to the face image to be identified The vector is described by the identity-age factor model,
  • identity-age factor model is as follows:
  • the T ⁇ represents the available integrated feature vector
  • the n represents the available synthesis
  • the total number of segments of the feature vector Representing the available integrated feature sub-vector corresponding to the segment q, Indicates the stated q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation The age factor corresponding to q, wherein the 4 represents the Gaussian white noise corresponding to the q
  • the calculating unit 520 is specifically configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
  • the representation represents the identity feature vector
  • the J q represents an identity feature vector corresponding to the segment q.
  • the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images is determined by the
  • the identity feature vector corresponding to the recognized face image is represented by a cosine distance or an Euclidean distance or a Manhattan distance of the identity feature vector corresponding to each sample face image in the Z sample face images.
  • the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above.
  • Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vectors corresponding to the face image to be recognized among the Z sample face images satisfies the required identity information of the Z1 sample face images, as the above-mentioned to be identified
  • the face image corresponds to the possible identity information for output.
  • an embodiment of the present invention further provides a model training apparatus 600, including:
  • the unit 610 and the training unit 620 are acquired.
  • the obtaining unit 610 is configured to obtain an available integrated feature vector corresponding to the Z sample face images.
  • the training unit 620 is configured to train the identity-age factor model by using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model; wherein the available comprehensive features are The vector is described by the identity-age factor model,
  • identity-age factor model is as follows:
  • represents the available integrated feature vector
  • represents the available synthesis
  • the representation a total number of segments of the feature vector, the ⁇ representing the available integrated feature subvector corresponding to the segment q, Indicates the stated q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation
  • ' q corresponds to an age factor, where q represents the Gaussian white noise corresponding to the t
  • the available integrated feature vector is based on the gradient direction histogram. It can be understood that the functions of the functional modules of the device in this embodiment can be specifically implemented according to the method in the foregoing method embodiment. For a specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
  • the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows:
  • the type is trained to determine the value of the model parameter qqqqq , and the identity-age factor model corresponding to each segment trained can lay a good foundation for the recognition of any face image to be recognized.
  • the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • the feature is stripped out, which is beneficial to eliminate the influence of the age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. As much as possible More kinds of application scenarios.
  • an embodiment of the present invention further provides another model training apparatus 700, which may include: an obtaining unit 710, configured to acquire an available integrated feature vector corresponding to a Z sample face image; and a training unit 720, configured to use the The identity-age factor model is trained by the available comprehensive feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model, wherein the available integrated feature vectors are described by an identity-age factor model.
  • identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the available integrated feature vector is based on the gradient direction histogram. It can be understood that the functions of the functional modules of the device in this embodiment can be specifically implemented according to the method in the foregoing method embodiment. For a specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
  • the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows: Because of the model parameter ⁇ - ⁇ U, , °" ⁇ of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , ⁇ , V, ⁇ ⁇ , the trained identity-age factor model can lay a good foundation for the recognition of any facial image to be recognized.
  • the use of mutually unrelated identity factors and age factors Determining the available integrated feature vector of the face image to be recognized, thereby facilitating the stripping of the identity-related features included in the available integrated feature vector of the face image to be recognized, thereby facilitating the removal of the face image to be recognized.
  • the influence of the age-related features included in the integrated feature vector on the identity recognition can be used to improve the accuracy and versatility of the image identification, and thus to meet the needs of more application scenarios as much as possible.
  • an embodiment of the present invention further provides an identity recognition system, which may include:
  • Client 810 and identity server 820 are identical to Client 810 and identity server 820.
  • a client 810 configured to send a face image to be identified to the identity recognition server 820, where the identity recognition server 820 is configured to receive the image of the face to be recognized from the client 810, for the person to be identified
  • the face image is subjected to feature extraction processing to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the identity of the person corresponding to the face image to be recognized.
  • the factor is determined together with an age factor for describing an age of a person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other; based on the face image to be recognized Calculating an identity feature vector corresponding to the face image to be recognized by using the integrated feature vector; calculating an identity feature vector corresponding to the face image to be recognized and each sample face image in the sample face image Corresponding to the similarity of the identity vector, wherein the identity feature vector is determined by an identity factor, and the ⁇ is a positive integer;
  • the client outputs Z1 sample face images corresponding to the identity information, where the Z1 sample face images are subsets of the Z sample face images, and the Z1 sample face images correspond to the identity features.
  • the similarity between the vector and the identity feature vector corresponding to the face image to be identified is greater than the identity of the other sample face images other than the Z1 sample face images among the Z sample face images. a similarity between the feature vector and the identity feature vector corresponding to the face image to be recognized, or an identity feature vector corresponding to the Z1 sample face image and an identity feature vector corresponding to the face image to be recognized
  • the degree is greater than the set threshold, and the identity information corresponding to the output Z1 sample face images is the possible identity information corresponding to the face image to be identified.
  • the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
  • the ⁇ represents the available integrated feature vector
  • the ⁇ represents a sample feature average
  • the U represents an identity factor coefficient
  • the V represents an age factor coefficient
  • the identity recognition server is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image. Specifically, the identifier feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be identified: Wherein the representation of the identity feature vector,
  • the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
  • identity-age factor model is as follows:
  • T represents the available integrated feature vector
  • n represents the available synthesis
  • the total number of segments of the feature vector, q represents the available comprehensive features corresponding to the segment q Collector vector, said Indicates the stated q corresponding sample feature average
  • the identity recognition server is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image. Specifically, the identifier feature vector corresponding to the to-be-recognized face image is calculated based on the available integrated feature vector corresponding to the to-be-recognized face image:
  • the identity identification server uses the mutually unrelated identity factors and age factors to jointly determine the available integrated feature vector of the face image to be recognized, and based on the available synthesis corresponding to the face image to be identified.
  • the feature vector calculates an identity feature vector determined by the identity factor corresponding to the face image to be identified, and calculates an identity feature vector corresponding to the face image to be recognized and each sample face image in the Z sample face images.
  • the similarity of the corresponding identity feature vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the Z sample face images satisfies the identity information corresponding to the required Z 1 sample face image And outputting as the possible identity information corresponding to the face image to be identified.
  • FIG. 9 illustrates the structure of an identity recognition device 900 according to an embodiment of the present invention.
  • the identity recognition device 900 includes: at least one processor 901, such as a CPU, at least one network interface 904 or other user interface 903, and a memory 905. At least one communication bus 902.
  • the identification device 900 optionally includes a user interface 903, including a display, a keyboard or a pointing device (eg, a mouse, a trackball, a touch Sensor board or touch screen display).
  • the memory 905 may include a high speed RAM memory, and may of course also include a non-volatile memory such as at least one disk memory.
  • the memory 905 can optionally include at least one storage device located remotely from the aforementioned processor 901.
  • memory 905 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
  • the operating system 9051 which contains various system programs for implementing various basic services and handling hardware-based tasks;
  • Application module 9052 which contains various applications for implementing various application services.
  • the application module 9052 includes, but is not limited to, an extracting unit 510, a calculating unit 520, a matching unit 530, and an output unit 540.
  • each module in the application module 9052 refers to the corresponding modules in the embodiment shown in FIG. 5, and details are not described herein.
  • the processor 901 may be configured to: perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be identified, wherein, the above-mentioned available integrated feature vector is jointly determined by an identity factor for describing the identity of the person corresponding to the face image to be identified, and an age factor for describing the age of the person corresponding to the face image to be recognized, wherein The above identity factors are not related to the above age factors.
  • the identity information corresponding to each sample face image in the face image is any information (such as name, ID number, ID card picture, passport number, and/or) that can be used to indicate the identity of the person corresponding to the sample face image.
  • the identity information corresponding to the Z1 sample face images outputted above is the possible identity information corresponding to the face image to be identified.
  • the feature image may be extracted by the plurality of possible feature extraction processing modes to obtain the available integrated feature vector corresponding to the face image to be identified.
  • the above-described available integrated feature vector can be obtained, for example, based on a gradient direction histogram or other means.
  • performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be identified may include: preprocessing the face image to be recognized ( The pre-processing may include geometric correction, trimming, and/or normalization processing, etc.; performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized .
  • the pre-processing may include geometric correction, trimming, and/or normalization processing, etc.
  • performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized may also be omitted.
  • the original integrated feature vector may be derived, for example, based on a gradient direction histogram or based on other means.
  • performing the feature extraction process on the pre-processed face image to obtain the available integrated feature vector corresponding to the face image to be recognized may include:
  • the original integrated feature vector is extracted from the processed face image to be recognized, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
  • the manner of the dimensionality reduction processing may be, for example, a dimensionality reduction processing method of the PCA+LDA. It can be understood that the main purpose of the dimensionality reduction processing is to reduce the computational complexity. If there is sufficient computing power to support, of course, the step of performing the dimensionality reduction processing on the extracted original integrated feature vector may not be performed, for example, the extraction may be directly performed.
  • the original integrated feature vector is used as the available integrated feature vector corresponding to the face image to be identified.
  • the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
  • the identity-age factor model can use, for example, a linear model.
  • Type is expressed.
  • the age feature vector and the identity feature vector can be considered to be obtained by linear transformation from the age factor and the identity factor, respectively.
  • the above ⁇ represents the above-mentioned available integrated feature vector
  • the above ⁇ represents the sample feature average value
  • the above U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the person corresponding to the face image depending on the identity of the person corresponding to the face image, it can be considered that it does not change with the age of the person. Depending on the age of the person corresponding to the face image, it can be used to estimate the age of the person.
  • the identity-age factor model describing the available integrated feature vector T ⁇ corresponding to any face image has the same model parameters 9-1, ⁇ , U, V, °" ⁇ .
  • the above-mentioned identity-age factor model is trained by the available comprehensive feature vectors corresponding to the sample face images.
  • the calculating the identity feature vector corresponding to the to-be-recognized face image based on the available comprehensive feature vector corresponding to the face image to be identified may specifically include:
  • the available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
  • the above 1 indicates the above identity feature vector, wherein Among them, the predicted distribution of the identity factor * ⁇ is as follows:
  • the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model.
  • the above identity-age factor model is as follows:
  • T represents the above-mentioned available integrated feature vector
  • n represents the total number of segments of the available integrated feature vector (ie, Divided into equal lengths or unequal lengths
  • n segments each segment corresponding to an available integrated feature sub-vector, including the available integrated feature sub-vectors corresponding to n segments, ie Including n available integrated feature sub-vectors, t a T u ⁇ a q represents the available integrated feature sub-vectors corresponding to the segment q of the ⁇ . The above represents q
  • the identity factor coefficient corresponding to V t a ⁇ represents the age factor coefficient corresponding to q, the above ⁇ q Represents the average of the sample characteristics corresponding to 4. Wherein, the above indicates the identity corresponding to 4
  • U a x a vy ⁇ is divided into: identity information qq , age information q and noise.
  • the identity-age factor models of the corresponding available feature eigenvectors q all have the same model parameters.
  • the value of the model parameter qqqqq of the factor model, the value of the model parameter possessed by the identity-age factor model for describing the available integrated feature vector corresponding to each segment can be determined according to the above exemplary manner.
  • the calculating the identity feature vector corresponding to the face image to be recognized based on the available integrated feature vector corresponding to the face image to be identified may include: based on the foregoing manner, based on the foregoing other possible application scenarios,
  • the available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
  • the segmentation q corresponds to the identity feature vector.
  • 1 consists of an identity feature vector corresponding to n segments q
  • the similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the z sample face images for example, by using the above The cosine distance or the Euclidean distance or the Manhattan distance (or the ability to characterize the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images Other parameters) to characterize.
  • the cosine distance corresponding to two identity feature vectors can be obtained by the following formula: ⁇ TI ⁇
  • the cosine distance of Jn and the identity vector The manner in which the Euclidean distance or Manhattan distance of two identity vector vectors is obtained is not described in detail herein. It can be seen that, in this embodiment, the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above.
  • Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vectors corresponding to the face image to be recognized among the Z sample face images satisfies the required identity information of the Z1 sample face images, as the above-mentioned to be identified
  • the face image corresponds to the possible identity information for output. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • FIG. 10 illustrates a structure of a model training device 1000 according to an embodiment of the present invention.
  • the model training device 1000 includes: at least one processor 1001, such as a CPU, at least one network interface 1004 or other user interface 1003, and a memory 1005.
  • Communication bus 1002 is used to implement connection communication between these components.
  • model training equipment 1000 An optional user interface 1003 is included, including: a display, a keyboard or a pointing device (such as a mouse, trackball, touchpad or tactile display).
  • the memory 1005 may include a high speed RAM memory, and may of course also include a non-volatile memory such as at least one disk memory.
  • the memory 1005 can optionally include at least one storage device located remotely from the aforementioned processor 1001.
  • memory 1005 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
  • Operating system 10051 which contains various system programs for implementing various basic services and processing hardware-based tasks;
  • the application module 10052 includes various applications for implementing various application services.
  • the application module 10052 includes, but is not limited to, an acquisition unit 610 and a training unit 620.
  • each module in the application module 10052 refers to the corresponding module in the embodiment shown in FIG. 6, and details are not described herein.
  • the processor 1001 may be configured to: obtain an available integrated feature vector corresponding to the Z sample face images (of course, the available comprehensive features corresponding to the Z sample face images) The identity factor and the age factor in the vector have been determined.
  • the identity-age factor model is trained using the available comprehensive feature vectors corresponding to the Z sample face images to determine the model parameters of the identity-age factor model described above.
  • the above identity-age factor model is as follows:
  • n represents the above available synthesis
  • the total number of segments of the feature vector (ie, the available feature vector is divided into n segments of equal length or unequal length, each segment corresponding to one available integrated feature subvector, f ⁇ including n segments corresponding to the available Integrated feature subvector, ie Including n available integrated feature sub-vectors, t a T ut a q represents the available integrated feature sub-vectors corresponding to the segment q of the ⁇ .
  • the above represents q
  • the above q represents the age factor coefficient corresponding to q, the above ⁇ q
  • the segmentation of the quantity T corresponds to the identity of the available synthetic feature subvectors - the model parameters of the age factor model
  • Feature vectors corresponding to the segmentation q are composed of the following three parts.
  • U a x a vy ⁇ is divided into: identity information qq , age information q and noise.
  • the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
  • the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows: due to
  • the identity-age factor model corresponding to each segment trained can lay the identification of any face image to be identified Good foundation.
  • the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • the feature is stripped out, which is beneficial to eliminate the influence of the age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. Meet as many application scenarios as possible.
  • T t assumes that the corresponding composite eigenvector vector corresponding to the available eigenvector vector ⁇ of the composite eigenvector i can be used as follows:
  • the age factor model is as follows:
  • n represents the total number of segments of the available integrated feature vector (ie, the available integrated feature vector) Divided into n segments of equal length or unequal length, each segment corresponding to an available integrated feature subvector, T ⁇ includes n available segments corresponding to the available integrated feature subvector, ie Including n available synthetic feature subvectors), Represents the identity factor coefficient corresponding to q.
  • the above ⁇ represents the corresponding age factor coefficient, the above ⁇ ⁇
  • the processor 1001 can optimize the model parameters, for example, by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, the following formula 3 Shown as follows:
  • Equation 2 k represents the age of the person corresponding to the sample face image, and i represents the sample face
  • represents the joint probability distribution.
  • the experiment may be performed on a plurality of sample face images corresponding to different ages and different identities. Among them, due to the two invisibility factors in the identity-age factor model
  • the coordinate rising algorithm can be used to optimize the factor x q, and the other invisible factor.
  • the prior probability distribution P 0) ⁇ ' ⁇ ) ⁇ T q can be obtained by maximizing the conditional expectation of the joint probability distribution L.
  • each sample face image corresponds to the available integrated feature subvector corresponding to the segment q of the available integrated feature vectors
  • L c is the joint probability distribution ⁇ in the given initial model ⁇ ⁇ ⁇
  • the distribution of the invisible factor can be estimated by initializing the model parameters ( q ' Q ), and then the joint probability distribution under the lower distribution is obtained.
  • the condition of ⁇ is expected, and the condition is expected to be L c .
  • N ci represents the number of sample face images whose identity is i in the training sample face image
  • N sk represents the number of sample face images of age k in the training sample face image
  • N represents the total number of sample face images
  • d is the length of the available integrated feature sub-vector corresponding to the index q of the available composite feature vector of the sample face image.
  • FIG. 11 illustrates a structure of a model training device 1100 according to an embodiment of the present invention.
  • the model training device 1100 includes: at least one processor 1101, such as a CPU, at least one network interface 1104 or other user interface 1103, and a memory 1105.
  • Communication bus 1102 is used to implement connection communication between these components.
  • the model training device 1100 optionally includes a user interface 1103, including: a display, a keyboard or a pointing device (such as a mouse, a trackball, a touchpad or a touch sensitive display).
  • Memory 1105 may contain high speed RAM memory and may of course also include non-volatile memory, such as at least one disk memory.
  • the memory 1105 can optionally include at least one storage device located remotely from the processor 1101.
  • the memory 1105 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
  • Operating system 11051 which contains various system programs for implementing various basic services and processing hardware-based tasks;
  • the application module 11052 includes various applications for implementing various application services.
  • the application module 11052 includes, but is not limited to, an acquisition unit 710 and a training unit 720.
  • the processor 1101 may be configured to: obtain an available integrated feature vector corresponding to the Z sample face images.
  • the identity-age factor model is trained using the available comprehensive feature vectors corresponding to the Z sample face images to determine the model parameters of the identity-age factor model described above.
  • the above identity-age factor model is as follows:
  • the above ⁇ represents the available integrated feature vector
  • the above ⁇ represents the average value of the sample feature
  • the U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the above represents Gaussian white noise, ⁇ (V0 ' ⁇ 2 ⁇ )
  • the above X represents an identity factor
  • the above y represents an age factor, wherein the above model parameter is u, V, ⁇ .
  • the available comprehensive features U X V y vectors corresponding to any face image are composed of the following three parts: identity information, age information and noise. Among them, depending on the identity of the person corresponding to the face image, it can be considered not
  • the above-mentioned available integrated feature vector is obtained based on a gradient direction histogram or based on other methods.
  • the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
  • the above identity-age factor model is as follows: Because of the model parameter ⁇ - ⁇ U, , °" ⁇ of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , ⁇ , V, ⁇ ⁇ , trained identity
  • the age factor model can lay a good foundation for the identification of any face image to be recognized.
  • the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized.
  • the feature is stripped out, which is beneficial to eliminate the influence of the age-related features included in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. Meet as many application scenarios as possible.
  • the identity-age factor model that processor 1101 is to train is as follows: ⁇
  • the above ⁇ represents the available integrated feature vector
  • the above ⁇ represents the sample feature average value
  • the U represents the identity factor coefficient
  • the above V represents the age factor coefficient
  • the above represents Gaussian white noise
  • the above X ⁇ represents an identity factor
  • the above y represents an age factor.
  • Model parameters of the above identity-age factor model ⁇ , V, ⁇ ⁇ may optimize the model parameters by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula may be, for example, as shown in the following formula 1:
  • the identity of the person corresponding to the image The available comprehensive feature vector corresponding to the sample face image whose identity is i and age k, represents the identity factor of the person corresponding to the sample face image whose identity is i, ⁇ is the sample face image of age k Corresponding to the age factor of the character, ⁇ represents the condition of the given model parameter ⁇ , and the joint probability distribution.
  • L represents the joint probability distribution.
  • the two invisible factors and ⁇ in Equation 1 cannot be directly observed.
  • the factor sum can be analyzed by a coordinate ascending algorithm, that is, another invisible factor is optimized with one factor fixed.
  • a prior probability distribution can be estimated .
  • the prior probability distribution can be obtained by maximizing the conditional expectation of the joint probability distribution L. , and then update the value of the model parameter ⁇ .
  • L C is the conditional expectation of the joint probability distribution L given the initial model parameters.
  • L cannot be directly maximized. But by initializing the model parameter ⁇ .
  • EM maximum conditional expectation
  • Model parameters of the feature model 6 -, ⁇ , U, V, ⁇ ⁇ Specifically, the following parameters can be initialized first:
  • V ra (— 0.1,0.1) .
  • the N d represents the number of sample face images whose identity is i in the training sample face image
  • the N sk represents the number of sample face images of the age of k in the training sample face image.
  • the model parameters ⁇ , and ⁇ are updated based on the calculated stealth factor and ⁇ .
  • N the total number of sample face images
  • d the length of the available feature vector of the sample face image.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the power feedforward control method described in the foregoing method embodiment.
  • the disclosed apparatus can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integration into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct connection or communication connection shown or discussed may be an indirect connection or communication connection through some interface, device or unit, and may be electrical or other form.
  • the components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program code. .

Abstract

An image identity recognition method, a model training method and an identity recognition system. The image identity recognition method may comprise: conducting feature extraction processing on a human face image to be recognized, so as to obtain an available comprehensive feature vector corresponding to the human face image to be recognized; based on the available comprehensive feature vector corresponding to the human face image to be recognized, calculating an identity feature vector corresponding to the human face image to be recognized; calculating the similarity between the identity feature vector corresponding to the human face image to be recognized and an identity feature vector corresponding to each sample human face image of Z sample human face images; and outputting identity information corresponding to Z1 sample human face images. The solution in the embodiments is beneficial to increasing the accuracy and generality of image identity recognition, thus meeting the requirements of more application scenarios, as far as possible.

Description

图像身份识别方法和相关装置及身份识别系统  Image identification method and related device and identification system
本申请要求于 2013 年 11 月 29 日提交中国专利局、 申请号为 201310632582.0、发明名称为 "图像身份识别方法和相关装置及身份识别系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  This application claims priority to Chinese Patent Application No. 201310632582.0, entitled "Image Identification Method and Related Devices and Identification System", filed on November 29, 2013, the entire contents of which are incorporated by reference. In this application. Technical field
本发明涉及图像处理技术领域,具体涉及图像身份识别方法和相关装置和 身份识别系统。 背景技术  The present invention relates to the field of image processing technologies, and in particular, to an image identification method and related apparatus and an identification system. Background technique
基于图像的人脸识别在人的身份鉴定、金融、保安系统和资料鉴定等领域 具有广泛的应用。 随着人的年龄增长, 人脸会产生脸型轮廓, 色素和纹理等方 面的变化。 例如, 老龄人一般会显示出皱纹, 色素沉着等。 这些跟年龄相关联 的变化使得匹配不同年龄的人脸变得非常具有挑战性。 图 1举例示出了同一个 人在不同年龄阶段下的照片, 可以看出, 同一人的脸在不同年龄段是具有一定 差异的。  Image-based face recognition has a wide range of applications in the fields of human identification, finance, security systems, and data identification. As people age, faces will change in contours, pigments and textures. For example, elderly people generally show wrinkles, pigmentation, and the like. These age-related changes make it very challenging to match faces of different ages. Figure 1 shows an example of the same person at different ages. It can be seen that the face of the same person is different in different age groups.
现有一种流行的技术是基于生成型模型进行人脸身份识别,其核心思想是 建立生成型模型来模拟人脸老化过程,具体其做法是先对测试的人脸图像做年 龄补偿以抵消它和数据库中的参考人脸图像的年龄差异,然后再对补偿之后的 图像做匹配。  A popular technology is based on the generated model for face recognition. The core idea is to build a generated model to simulate the face aging process. The specific method is to compensate the face image of the test to offset it. The age difference of the reference face image in the database, and then the matching image is matched.
在对现有技术的研究和实践过程中, 本发明的发明人发现,尽管上述现有 算法取得了一定效果, 但它具有如下一些局限性, 首先, 构造这样的生成模型 非常困难, 因为人脸老化过程非常复杂, 涉及到人的生理、 心理、 遗传、 生活 和工作习惯、人生经历等多方面的因素,难以用一个固定的老化模型对其精确 表达。 并且, 在很多情况下年龄补偿效果并不好, 反而引入了很多噪声, 这对 后期的识别反倒起了负作用。此外, 这类算法需要一些格外信息比如人脸的年 龄信息, 但是在很多应用场合往往缺乏这类信息。 因此, 这类算法的有效性和 适用性受到很多的限制。 发明内容  In the course of research and practice on the prior art, the inventors of the present invention have found that although the above-mentioned prior algorithms have achieved certain effects, they have the following limitations. First, it is very difficult to construct such a generation model because of the face. The aging process is very complicated, involving many factors such as human physiology, psychology, genetics, life and work habits, life experience, etc. It is difficult to accurately express it with a fixed aging model. Moreover, in many cases, the age compensation effect is not good, but a lot of noise is introduced, which has a negative effect on the later recognition. In addition, such algorithms require some extra information such as the age information of the face, but such information is often lacking in many applications. Therefore, the effectiveness and applicability of such algorithms are limited. Summary of the invention
本发明实施例提供图像身份识别方法和相关装置和身份识别系统,以期进 一步提高图像身份识别的准确性和通用性,进而尽可能满足更多种应用场景的 需求。 Embodiments of the present invention provide an image identity recognition method, a related device, and an identity recognition system, with an expectation One step is to improve the accuracy and versatility of image identification, so as to meet the needs of more kinds of application scenarios.
本发明第一方面提供一种图像身份识别方法, 可包括:  A first aspect of the present invention provides an image identification method, which may include:
对待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对 应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描述所述待识别 的人脸图像所对应人物的身份的身份因子和用于描述所述待识别的人脸图像 所对应人物的年龄的年龄因子共同确定, 其中, 所述身份因子和所述年龄因子 互不相关;  Performing a feature extraction process on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the person corresponding to the face image to be recognized The identity factor of the identity is determined together with an age factor for describing the age of the person corresponding to the face image to be identified, wherein the identity factor and the age factor are not related to each other;
基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识别的 人脸图像所对应的身份特征向量;  Calculating an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image;
计算所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的 每个样本人脸图像所对应身份特征向量的相似度, 其中, 所述身份特征向量由 身份因子确定, 所述 Z为正整数;  Calculating a similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the Z sample face images, wherein the identity feature vector is determined by an identity factor, The Z is a positive integer;
输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人脸图像 为所述 Z个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特征向量 与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 Z个样本人 脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Z1个样 本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份特征向 量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的身份信 息为所述待识别的人脸图像对应的可能身份信息。  And outputting the identity information corresponding to the Z1 sample face images, wherein the Z1 sample face images are a subset of the Z sample face images, and the Z1 sample face images correspond to the identity feature vectors and the The similarity of the identity feature vector corresponding to the recognized face image is greater than the identity feature vector of the sample face image other than the Z1 sample face image among the Z sample face images and The similarity of the identity feature vector corresponding to the face image to be identified, or the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a fixed value, wherein the output identity information corresponding to the Z1 sample face images is the possible identity information corresponding to the face image to be identified.
结合第一方面, 在第一种可能的实施方式中,  In combination with the first aspect, in a first possible implementation manner,
所述对待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图 像对应的可用综合特征向量, 包括: 对待识别的人脸图像进行预处理; 对进行 预处理后的所述待识别的人脸图像进行特征提取处理以得到所述待识别的人 脸图像对应的可用综合特征向量。  Performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be recognized, including: preprocessing the face image to be recognized; The recognized face image performs feature extraction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
结合第一方面的第一种可能的实施方式中, 在第二种可能的实施方式中, 所述对进行预处理后的所述待识别的人脸图像进行特征提取处理以得到所述 待识别的人脸图像对应的可用综合特征向量, 包括: 从进行预处理后的所述待 识别的人脸图像中提取原始综合特征向量,对提取到的所述原始综合特征向量 进行降维处理以得到所述待识别的人脸图像对应的可用综合特征向量。 With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the pre-processed facial image to be recognized is subjected to feature extraction processing to obtain the to-be-identified The available comprehensive feature vector corresponding to the face image includes: The original integrated feature vector is extracted from the recognized face image, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized.
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种 可能的实施方式,在第三种可能的实施方式中, 所述原始综合特征向量或可用 综合特征向量基于梯度方向直方图得到。  With reference to the first aspect or the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a third possible implementation manner, the original integrated feature vector or the available integrated feature vector Obtained based on the gradient direction histogram.
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种 可能的实施方式或第一方面的第三种可能的实施方式,在第四种可能的实施方 式中,  In combination with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect or the third possible implementation of the first aspect, in a fourth possible implementation ,
所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000005_0001
The available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000005_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high
斯白噪声, G 〜 Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 结合第一方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识 别的人脸图像所对应的身份特征向量, 包括: 通过如下方式, 基于所述待识别 的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对应的身 份特征向量:
Figure imgf000006_0001
White noise, G 〜 Ν (0 σ 2 ΐ), the X represents an identity factor, and y represents an age factor. With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation, the calculating, by the available integrated feature vector corresponding to the to-be-identified face image, the face image to be recognized The corresponding identity feature vector includes: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
Figure imgf000006_0001
其中, 所述
Figure imgf000006_0002
表示所述身份特征向量,
Wherein
Figure imgf000006_0002
Representing the identity feature vector,
2 τ , ττττΤ τ  2 τ , ττττΤ τ
其中, 所述  Wherein
结合第一方面或第一方面的第一种至第三种可能的实施方式中的任意一 种,在第六种可能的实施方式中, 所述待识别的人脸图像对应的可用综合特征 向量通过身份 -年龄因子模型描述,  With reference to the first aspect, or any one of the first to third possible implementation manners of the first aspect, in a sixth possible implementation, the available integrated feature vector corresponding to the to-be-recognized face image Described by the identity-age factor model,
Figure imgf000006_0003
Figure imgf000006_0003
其中, 所述身份-年龄因子模型如下:  Wherein, the identity-age factor model is as follows:
Figure imgf000006_0004
Figure imgf000006_0004
其中, 所述 T表示所述可用综合特征向量, 所述 n表示所述可用综合  Wherein the T represents the available integrated feature vector, and the n represents the available synthesis
特征向量的分段总数, 所述
Figure imgf000006_0005
q 表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000007_0001
表示所述
The total number of segments of the feature vector,
Figure imgf000006_0005
q represents the available comprehensive features corresponding to the segment q Collector vector, said
Figure imgf000007_0001
Indicates the stated
Figure imgf000007_0002
q 对应的样本特征平均
Figure imgf000007_0002
q corresponding sample feature average
值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 a value, where the identifier represents an identity factor corresponding to the q, the representation
' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪
Figure imgf000007_0003
结合第一方面的第六种可能的实施方式, 在第七种可能的实施方式中, 所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识 别的人脸图像所对应的身份特征向量, 包括: 通过如下方式, 基于所述待识别 的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对应的身 份特征向量:
' q corresponds to an age factor, where q represents the Gaussian white noise corresponding to the t
Figure imgf000007_0003
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation, the calculating, by the available integrated feature vector corresponding to the to-be-identified face image, the face image to be recognized The corresponding identity feature vector includes: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
Figure imgf000007_0004
T T
Figure imgf000007_0004
TT
二 σ 2Ι + U U 1 + V V Two σ 2 Ι + UU 1 + VV
其中, 所述 q q q q q q  Wherein the q q q q q q
,所述
Figure imgf000008_0001
表示所述身份特征向量,所述 表示所述 的分段 q对应的身份特征向量。 结合第一方面或第一方面的第一至第七种可能的实施方式中的任意一种, 在第八种可能的实施方式中, 所述待识别的人脸图像对应的身份特征向量与 Z 个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度,通过所 述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人 脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿距离来表征。
, said
Figure imgf000008_0001
Representing the identity feature vector, the identifier representing the identity feature vector corresponding to the segment q. With reference to the first aspect, or any one of the first to seventh possible implementation manners of the first aspect, in an eighth possible implementation manner, the identity feature vector corresponding to the face image to be recognized and the Z The similarity of the identity feature vector corresponding to each sample face image in the sample face image, the identity feature vector corresponding to the face image to be recognized and each sample face in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the image is characterized.
本发明第二方面提供一种模型训练方法, 可包括:  A second aspect of the present invention provides a model training method, which may include:
获取 Z个样本人脸图像对应的可用综合特征向量;  Obtaining available comprehensive feature vectors corresponding to Z sample face images;
利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模 型进行训练, 以确定所述身份 -年龄因子模型的模型参数;  The identity-age factor model is trained by using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model;
其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  Wherein the available comprehensive feature vector is described by an identity-age factor model,
Figure imgf000008_0002
Figure imgf000008_0002
其中, 所述 T丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 子模型如下: The identity-age factor model corresponding to the available integrated feature subvector corresponding to the segment q of the T丄 is as follows:
q
Figure imgf000008_0003
其中, 所述
Figure imgf000009_0001
1, 2,
q
Figure imgf000008_0003
Wherein
Figure imgf000009_0001
1, 2,
其中, 所述 τ表示所述可用综合特征向量, 所述 η表示所述可用综合  Wherein τ represents the available integrated feature vector, and the η represents the available synthesis
\η Τ \ η Τ
特征向量的分段总数, 所述 q 表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000009_0002
表示所述
Figure imgf000009_0003
对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所
a total number of segments of the feature vector, the q representing an available integrated feature subvector corresponding to the segment q,
Figure imgf000009_0002
Indicates the stated
Figure imgf000009_0003
Corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor
' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪
Figure imgf000009_0004
' q corresponds to an age factor, where q represents the Gaussian white noise corresponding to the t
Figure imgf000009_0004
其中, 所述 T丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因  Wherein, the identity of the available comprehensive feature subvector corresponding to the segment q of the T丄 - age factor
Θ 二 {β , U , V, ση 2} 子模型的模型参数 q q q q q 。 结合第二方面, 在第一种可能的实施方式中,, 所述可用综合特征向量基 于梯度方向直方图得到。 Θ Two {β , U , V, σ η 2 } model parameters qqqqq . In conjunction with the second aspect, in a first possible implementation, the available integrated feature vector is obtained based on a gradient direction histogram.
本发明第三方面提供一种模型训练方法, 可包括:  A third aspect of the present invention provides a model training method, which may include:
获取 Z个样本人脸图像对应的可用综合特征向量;  Obtaining available comprehensive feature vectors corresponding to Z sample face images;
利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模 型进行训练, 以确定所述身份 -年龄因子模型的模型参数,  The identity-age factor model is trained using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model.
其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  Wherein the available comprehensive feature vector is described by an identity-age factor model,
其中, 所述身份-年龄因子模型如下:
Figure imgf000010_0001
Wherein, the identity-age factor model is as follows:
Figure imgf000010_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, wherein the representation is high
斯白噪声, G 〜 Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ }。 White noise, G 〜 Ν (0 σ 2 ΐ), the X represents an identity factor, and y represents an age factor, wherein the model parameters are υ, V, σ }.
结合第三方面,在第一种可能的实施方式中, 所述可用综合特征向量基于 梯度方向直方图得到。  In conjunction with the third aspect, in a first possible implementation, the available integrated feature vector is derived based on a gradient direction histogram.
本发明第四方面提供一种图像身份识别装置, 可包括:  A fourth aspect of the present invention provides an image identification device, which may include:
提取单元,用于对待识别的人脸图像进行特征提取处理以得到所述待识别 的人脸图像对应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描 述所述待识别的人脸图像所对应人物的身份的身份因子和用于描述所述待识 别的人脸图像所对应人物的年龄的年龄因子共同确定,其中, 所述身份因子和 所述年龄因子互不相关; 计算单元,基于所述待识别的人脸图像对应的可用综合特征向量计算所述 待识别的人脸图像所对应的身份特征向量; An extracting unit, configured to perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the person to be identified The identity factor of the identity of the person corresponding to the face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other; The calculating unit calculates an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-recognized face image;
匹配单元, 用于计算所述待识别的人脸图像对应的身份特征向量与 Z个样 本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 其中, 所述 身份特征向量由身份因子确定, 所述 Z为正整数;  a matching unit, configured to calculate a similarity between an identity feature vector corresponding to the to-be-recognized face image and an identity feature vector corresponding to each sample face image in the Z sample face images, where the identity feature vector Determined by an identity factor, the Z is a positive integer;
输出单元, 用于输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1 个样本人脸图像为所述 Z个样本人脸图像的子集, 所述匹配单元计算出所述 Z1 个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份特 征向量的相似度, 大于所述 Z个样本人脸图像之中除所述 Z1个样本人脸图像之 外的其它样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的 身份特征向量的相似度,或所述 Z1个样本人脸图像对应的身份特征向量与所述 待识别的人脸图像对应的身份特征向量的相似度大于设定阔值, 其中, 所述输 出的 Z 1个样本人脸图像对应的身份信息为所述待识别的人脸图像对应的可能 身份信息。  An output unit, configured to output identity information corresponding to the Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, and the matching unit calculates the Z1 The similarity between the identity feature vector corresponding to the sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z sample face image among the Z sample face images. The similarity between the identity feature vector corresponding to the other face image of the sample and the identity feature vector corresponding to the face image to be recognized, or the identity feature vector corresponding to the Z1 sample face image and the face to be recognized The similarity of the identity feature vector corresponding to the image is greater than the set threshold, wherein the output identity information corresponding to the Z1 sample face image is the possible identity information corresponding to the face image to be identified.
结合第四方面, 在第一种可能的实施方式中,  In conjunction with the fourth aspect, in a first possible implementation manner,
所述提取单元具体用于,对待识别的人脸图像进行预处理; 对进行预处理 后的所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像 对应的可用综合特征向量。  The extracting unit is specifically configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain the available comprehensive image corresponding to the face image to be recognized Feature vector.
结合第四方面的第一种可能的实施方式,在第二种可能的实施方式中,在 所述对进行预处理后的所述待识别的人脸图像进行特征提取处理以得到所述 待识别的人脸图像对应的可用综合特征向量的方面, 所述提取单元具体用于, 从进行预处理后的所述待识别的人脸图像中提取原始综合特征向量,对提取到 的所述原始综合特征向量进行降维处理以得到所述待识别的人脸图像对应的 可用综合特征向量。  With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, performing feature extraction processing on the to-be-identified face image after the pre-processing is performed to obtain the to-be-identified The aspect of the face image corresponding to the available integrated feature vector, the extracting unit is specifically configured to: extract the original integrated feature vector from the pre-processed face image to be recognized, and extract the original integrated feature The feature vector performs a dimensionality reduction process to obtain an available integrated feature vector corresponding to the face image to be recognized.
结合第四方面或第四方面的第一种可能的实施方式或者第四方面的第二 种可能的实施方式,在第三种可能的实施方式中, 所述原始综合特征向量或所 述可用综合特征向量基于梯度方向直方图得到。  With reference to the fourth aspect or the first possible implementation manner of the fourth aspect or the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the original integrated feature vector or the available synthesis The feature vector is derived based on the gradient direction histogram.
结合第四方面或第四方面的第一种可能的实施方式或者第四方面的第二 种可能的实施方式或第四方面的第三种可能的实施方式,在第四种可能的实施 方式中, 所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子 模型描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000012_0001
In conjunction with the fourth aspect or the first possible implementation of the fourth aspect or the second possible implementation of the fourth aspect or the third possible implementation of the fourth aspect, in a fourth possible implementation In the mode, the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000012_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high~
斯白噪声, G N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 White noise, GN (VQ ' σ 2 ΐ), the X represents an identity factor, and y represents an age factor.
结合第四方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述计算单元具体用于,通过如下方式,基于所述待识别的人脸图像对应 的可用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量:  With reference to the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation, the calculating unit is specifically configured to: based on the available integrated feature vector corresponding to the to-be-recognized face image, Calculating an identity feature vector corresponding to the to-be-recognized face image:
Figure imgf000012_0002
Figure imgf000012_0002
其中, 所述 1 表示所述身份特征向量, 其中,Wherein the 1 represents the identity feature vector, where
Figure imgf000012_0003
Figure imgf000012_0003
结合第四方面或第四方面的第一种至第三种可能的实施方式中的任意一 种,在第六种可能的实施方式中, 所述待识别的人脸图像对应的可用综合特征 向量通过身份 -年龄因子模型描述,
Figure imgf000013_0001
With reference to the fourth aspect, or any one of the first to third possible implementation manners of the fourth aspect, in the sixth possible implementation manner, the available comprehensive feature corresponding to the to-be-recognized face image The vector is described by the identity-age factor model,
Figure imgf000013_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000013_0002
Wherein, the identity-age factor model is as follows:
Figure imgf000013_0002
其中, 所述  Wherein
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合  Wherein, the T 丄 represents the available integrated feature vector, and the n represents the available synthesis
T  T
特征向量的分段总数, 所述
Figure imgf000013_0003
表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000013_0004
表示所述
Figure imgf000013_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪
The total number of segments of the feature vector,
Figure imgf000013_0003
Representing the available integrated feature sub-vector corresponding to the segment q,
Figure imgf000013_0004
Indicates the stated
Figure imgf000013_0005
q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation An age factor corresponding to q, wherein the Gaussian white noise corresponding to the q is
士 ε 〜 Ν (0, σ 2Ι 士 ~ Ν (0, σ 2 Ι
声, g \ , q 结合第四方面的第六种可能的实施方式, 在第七种可能的实施方式中, 所述计算单元具体用于,通过如下方式,基于所述待识别的人脸图像对应 的可用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: The sound, g \ , q is combined with the sixth possible implementation of the fourth aspect. In a seventh possible implementation, the calculating unit is specifically configured to: based on the image of the face to be recognized Calculating an identity feature vector corresponding to the to-be-recognized face image by using the corresponding integrated feature vector:
Figure imgf000014_0001
中, 所述 q
its
Figure imgf000014_0001
In the q
其中,所述 表示所述身份特征向量,所述 J q 表示所述 的分段 q对应的身份特征向量。 结合第四方面或第四方面的第一种至第七种可能的实施方式中的任意一 种,在第八种可能的实施方式中, 所述待识别的人脸图像对应的身份特征向量 与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 通 过所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样 本人脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿距离来表征。 本发明第五方面提供一种模型训练装置, 可包括: The representation represents the identity feature vector, and the J q represents an identity feature vector corresponding to the segment q. With reference to the fourth aspect, or any one of the first to seventh possible implementation manners of the fourth aspect, in an eighth possible implementation manner, the identity feature vector corresponding to the to-be-recognized face image is The similarity of the identity feature vector corresponding to each sample face image in the Z sample face images, the identity feature vector corresponding to the face image to be recognized and each sample person in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the face image is characterized. A fifth aspect of the present invention provides a model training apparatus, which may include:
获取单元, 用于获取 Z个样本人脸图像对应的可用综合特征向量; 训练单元, 用于利用所述 Z个样本人脸图像对应的可用综合特征向量对身 份 -年龄因子模型进行训练, 以确定所述身份 -年龄因子模型的模型参数; 其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  An acquiring unit, configured to acquire an available integrated feature vector corresponding to the Z sample face images; a training unit, configured to use the available integrated feature vector corresponding to the Z sample face images to train the identity-age factor model to determine a model parameter of the identity-age factor model; wherein the available integrated feature vector is described by an identity-age factor model,
Figure imgf000015_0001
Figure imgf000015_0001
其中, 所述身份-年龄因子模型如下:  Wherein, the identity-age factor model is as follows:
Figure imgf000015_0002
Figure imgf000015_0002
Figure imgf000015_0003
Figure imgf000015_0003
其中, 所述 1,2 Wherein the 1,2
Figure imgf000015_0004
表示所述可用综合特征向量, 所述 n表示所述可用综合
Figure imgf000015_0004
Representing the available integrated feature vector, the n representing the available synthesis
特征向量的分段总数, 所述
Figure imgf000015_0005
的分段 q对应的可用综合特
The total number of segments of the feature vector,
Figure imgf000015_0005
The segmentation q corresponds to the available comprehensive
征子向量, 所述
Figure imgf000015_0006
表示所述
Collector vector, said
Figure imgf000015_0006
Indicates the stated
q 对应的年龄因子系数,所述 ^ 表示所述 q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 q corresponding age factor coefficient, the ^ represents the average of the sample characteristics corresponding to the q a value, where the representation represents an identity factor corresponding to the q, the representation
述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 An age factor corresponding to q, wherein the Gaussian white noise corresponding to the q is
Shishi
声, ε g 〜 Ν V 0,' σ q2Ι Sound, ε g ~ Ν V 0,' σ q 2 Ι
其中, 所述 τ丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 eQ = {β , U q, V , aQ 2 } 子模型的模型参数 q q q q qWherein, the identity-age of the available comprehensive feature sub-vector corresponding to the segment q of the τ 丄 is a model parameter qqqqq of the sub-model of e Q = {β , U q , V , a Q 2 }.
结合第五方面,在第一种可能的实施方式中, 所述可用综合特征向量基于 梯度方向直方图得到。 本发明第六方面提供一种模型训练装置, 包括:  In conjunction with the fifth aspect, in a first possible implementation, the available integrated feature vector is derived based on a gradient direction histogram. A sixth aspect of the present invention provides a model training apparatus, including:
获取单元, 用于获取 z个样本人脸图像对应的可用综合特征向量; 训练单元, 用于利用所述 z个样本人脸图像对应的可用综合特征向量对身 份 -年龄因子模型进行训练, 以确定所述身份 -年龄因子模型的模型参数, 其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  An acquiring unit, configured to obtain an available integrated feature vector corresponding to the z sample face images; a training unit, configured to use the available integrated feature vector corresponding to the z sample face images to train the identity-age factor model to determine a model parameter of the identity-age factor model, wherein the available integrated feature vector is described by an identity-age factor model,
其中, 所述身份-年龄因子模型如下:  Wherein, the identity-age factor model is as follows:
Figure imgf000016_0001
Figure imgf000016_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 p 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 Wherein the ^ represents the available integrated feature vector, and the ^ represents the sample feature level p mean, the U represents an identity factor coefficient, the V represents an age factor coefficient, and the representation is high
斯白噪声, G 〜 N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ } 。 结合第六方面,在第一种可能的实施方式中, 所述可用综合特征向量基于 梯度方向直方图得到。 White noise, G ~ N (VQ ' σ 2 ΐ), the X represents an identity factor, and the y represents an age factor, wherein the model parameters are - υ, V, σ }. In conjunction with the sixth aspect, in a first possible implementation, the available integrated feature vector is obtained based on a gradient direction histogram.
本发明第七方面提供一种身份识别系统, 包括:  A seventh aspect of the present invention provides an identity recognition system, including:
客户端, 用于向身份识别服务器发送待识别的人脸图像;  a client, configured to send a face image to be identified to the identity server;
其中, 所述身份识别服务器, 用于接收来自所述客户端的所述待识别的人 脸图像,对所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸 图像对应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描述所述 待识别的人脸图像所对应人物的身份的身份因子和用于描述所述待识别的人 脸图像所对应人物的年龄的年龄因子共同确定, 其中, 所述身份因子和所述年 龄因子互不相关;基于所述待识别的人脸图像对应的可用综合特征向量计算所 述待识别的人脸图像所对应的身份特征向量;计算所述待识别的人脸图像对应 的身份特征向量与 Ζ个样本人脸图像中的每个样本人脸图像所对应身份特征向 量的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Ζ为正整数; 想 所述客户端输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人 脸图像为所述 Ζ个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 ζ个 样本人脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的 身份特征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 The identity identification server is configured to receive the to-be-recognized face image from the client, and perform feature extraction processing on the to-be-recognized face image to obtain the face image to be recognized. An integrated feature vector, wherein the available integrated feature vector is an identity factor for describing an identity of a person corresponding to the face image to be recognized and an age for describing a person corresponding to the face image to be recognized The age factors are determined together, wherein the identity factor and the age factor are not related to each other; and the identity feature corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be recognized Calculating a similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the sample face image, wherein the identity feature vector is determined by the identity factor Determining that the Ζ is a positive integer; the client is required to output the identity information corresponding to the Z1 sample face images, The Z1 sample face image is a subset of the sample face images, and the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized a similarity, which is greater than an identity feature vector corresponding to the sample face image of the sample face image other than the Z1 sample face image and the identity feature corresponding to the face image to be recognized Similarity of vectors, or
Z1个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份 特征向量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的 身份信息为所述待识别的人脸图像对应的可能身份信息。 The similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a set threshold, wherein the output Z1 sample face image corresponding to the identity information The possible identity information corresponding to the face image to be identified.
结合第七方面, 在第一种可能的实施方式中, 所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000018_0001
In conjunction with the seventh aspect, in a first possible implementation manner, The available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000018_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high~
斯白噪声, G N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 White noise, GN (VQ ' σ 2 ΐ), the X represents an identity factor, and y represents an age factor.
结合第七方面的第一种可能的实施方式中, 在第二种可能的实施方式中, 在所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识别 的人脸图像所对应的身份特征向量的方面, 所述身份识别服务器具体用于,通 过如下方式,基于所述待识别的人脸图像对应的可用综合特征向量计算所述待 识别的人脸图像所对应的身份特征向量:
Figure imgf000018_0002
With reference to the first possible implementation manner of the seventh aspect, in a second possible implementation, the to-be-identified face is calculated on the available integrated feature vector corresponding to the to-be-identified face image An aspect of the identity feature vector corresponding to the image, the identity recognition server is specifically configured to: calculate, according to the available integrated feature vector corresponding to the face image to be recognized, the image corresponding to the face image to be recognized Identity feature vector:
Figure imgf000018_0002
其中, 所述 表示所述身份特征向量, 其中, 所述
Figure imgf000018_0003
= σ2/ + [/ +ν^ 结合第七方面,在第三种可能的实施方式中, 所述待识别的人脸图像对应 的可用综合特征向量通过身份 -年龄因子模型描述,
Figure imgf000019_0001
Wherein the representation of the identity feature vector, wherein
Figure imgf000018_0003
= σ 2 / + [/ +ν^ With reference to the seventh aspect, in a third possible implementation manner, the available comprehensive feature vector corresponding to the to-be-recognized face image is described by an identity-age factor model,
Figure imgf000019_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000019_0002
Wherein, the identity-age factor model is as follows:
Figure imgf000019_0002
其中, 所述  Wherein
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 特征向量的分段总数, 所述
Figure imgf000019_0003
的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000019_0004
表示所述
Figure imgf000019_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 4表示所述 q 对应的高斯白噪
Figure imgf000020_0001
结合第七方面的第三种可能的实施方式中, 在第四种可能的实施方式中, 在所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识别 的人脸图像所对应的身份特征向量的方面, 所述身份识别服务器具体用于,通 过如下方式基于所述待识别的人脸图像对应的可用综合特征向量计算所述待 识别 人脸图像所对应的身份特征向量:
Wherein, the T 丄 represents the available integrated feature vector, and the n represents a total number of segments of the available integrated feature vector,
Figure imgf000019_0003
The available composite feature subvector corresponding to the segment q,
Figure imgf000019_0004
Indicates the stated
Figure imgf000019_0005
q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation The age factor corresponding to q, wherein the 4 represents the Gaussian white noise corresponding to the q
Figure imgf000020_0001
With reference to the third possible implementation manner of the seventh aspect, in a fourth possible implementation, the to-be-identified human face is calculated on the available integrated feature vector corresponding to the to-be-identified face image An aspect of the identity feature vector corresponding to the image, the identity recognition server is configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature corresponding to the image to be recognized vector:
Figure imgf000020_0002
Figure imgf000020_0002
的分段 q对应的身份特征向量。 The segmentation q corresponds to the identity feature vector.
本发明第八方面提供一种身份识别设备, 包括:  An eighth aspect of the present invention provides an identification device, including:
处理器和存储器;  Processor and memory;
其中, 所述处理器用于,对待识别的人脸图像进行特征提取处理以得到所 述待识别的人脸图像对应的可用综合特征向量, 其中, 所述可用综合特征向量 由用于描述所述待识别的人脸图像所对应人物的身份的身份因子和用于描述 所述待识别的人脸图像所对应人物的年龄的年龄因子共同确定, 其中, 所述身 份因子和所述年龄因子互不相关;基于所述待识别的人脸图像对应的可用综合 特征向量计算所述待识别的人脸图像所对应的身份特征向量;计算所述待识别 的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所 对应身份特征向量的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Z为正整数; 输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人 脸图像为所述 Z个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 z个 样本人脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的 身份特征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Z1个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份 特征向量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的 身份信息为所述待识别的人脸图像对应的可能身份信息。 The processor is configured to perform a feature extraction process on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, where the available integrated feature vector is used to describe the to-be-used The identity factor of the identity of the person corresponding to the recognized face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the body And the age factor is not related to each other; the identity feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be recognized; and the face to be recognized is calculated a similarity between the identity feature vector corresponding to the image and the identity feature vector corresponding to each sample face image in the Z sample face images, wherein the identity feature vector is determined by an identity factor, and the Z is a positive integer; The identity information corresponding to the Z1 sample face images, wherein the Z1 sample face images are a subset of the Z sample face images, and the Z1 sample face images correspond to the identity feature vector and the The similarity of the identity feature vector corresponding to the face image to be identified is greater than the identity feature vector corresponding to the sample face image other than the Z1 sample face image among the z sample face images. Determining the similarity of the identity feature vector corresponding to the recognized face image, or the identity feature vector corresponding to the Z1 sample face image and the face image pair to be recognized Similarity identity eigenvectors width greater than a set value, wherein Z1 sample identity information corresponding to the face image is output from the face to be recognized identity information corresponding to the image may be.
结合第八方面, 在第一种可能的实施方式中,  With reference to the eighth aspect, in a first possible implementation manner,
所述处理器用于: 对待识别的人脸图像进行预处理; 对进行预处理后的所 述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对应的 可用综合特征向量。  The processor is configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain an available comprehensive feature vector corresponding to the face image to be recognized .
结合第八方面的第一种可能的实施方式中, 在第二种可能的实施方式中, 所述处理器用于从进行预处理后的所述待识别的人脸图像中提取原始综合特 征向量,对提取到的所述原始综合特征向量进行降维处理以得到所述待识别的 人脸图像对应的可用综合特征向量。  In conjunction with the first possible implementation of the eighth aspect, in a second possible implementation, the processor is configured to extract an original integrated feature vector from the to-be-identified face image after performing pre-processing, Performing dimensionality reduction on the extracted original integrated feature vector to obtain an available integrated feature vector corresponding to the face image to be recognized.
结合第八方面或第八方面的第一种可能的实施方式或第八方面的第二种 可能的实施方式,在第三种可能的实施方式中, 所述原始综合特征向量或可用 综合特征向量基于梯度方向直方图得到。  With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, or the second possible implementation manner of the eighth aspect, in the third possible implementation manner, the original integrated feature vector or the available integrated feature vector Obtained based on the gradient direction histogram.
结合第八方面或第八方面的第一种可能的实施方式或第八方面的第二种 可能的实施方式或第八方面的第三种可能的实施方式,在第四种可能的实施方 式中, 所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模 型描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000022_0001
With reference to the eighth aspect or the first possible implementation manner of the eighth aspect or the second possible implementation manner of the eighth aspect or the third possible implementation manner of the eighth aspect, in a fourth possible implementation manner The available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000022_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high~
斯白噪声, G N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 结合第八方面的第四种可能的实施方式, 在第五种可能的实施方式中, 所述处理器用于: 通过如下方式,基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: White noise, GN (VQ ' σ 2 ΐ), the X represents an identity factor, and y represents an age factor. With reference to the fourth possible implementation manner of the eighth aspect, in a fifth possible implementation, the processor is configured to: calculate, according to the available integrated feature vector corresponding to the to-be-identified face image, by using: The identity feature vector corresponding to the recognized face image:
Figure imgf000022_0002
Figure imgf000022_0002
其中, 所述 1 表示所述身份特征向量, 其中,Wherein the 1 represents the identity feature vector, where
Figure imgf000022_0003
Figure imgf000022_0003
结合第八方面或第八方面的第一种至第三种可能的实施方式中的任意一 种,在第六种可能的实施方式中, 所述待识别的人脸图像对应的可用综合特征 向量通过身份 -年龄因子模型描述,
Figure imgf000023_0001
With reference to the eighth aspect, or any one of the first to third possible implementation manners of the eighth aspect, in the sixth possible implementation manner, the available integrated feature vector corresponding to the to-be-recognized face image Described by the identity-age factor model,
Figure imgf000023_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000023_0002
Wherein, the identity-age factor model is as follows:
Figure imgf000023_0002
其中, 所述  Wherein
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合  Wherein, the T 丄 represents the available integrated feature vector, and the n represents the available synthesis
T  T
特征向量的分段总数, 所述
Figure imgf000023_0003
表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000023_0004
表示所述
Figure imgf000023_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 士 〜
The total number of segments of the feature vector,
Figure imgf000023_0003
Representing the available integrated feature sub-vector corresponding to the segment q,
Figure imgf000023_0004
Indicates the stated
Figure imgf000023_0005
q corresponding to the average of the sample features, wherein the identity factor corresponding to the q, the age factor corresponding to the q, wherein the Gaussian white noise corresponding to the q Shi ~
声, ε g Ν \ 0,, σ q2Ι 结合第八方面的第六种可能的实施方式, 在第七种可能的实施方式中, 所述处理器用于: 通过如下方式,基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: Sound, ε g Ν \ 0 ,, σ q 2 Ι binding sixth possible embodiment of the eighth aspect, in the seventh possible embodiment, the processor is configured to: the following manner, based on the to-be Calculating an identity feature vector corresponding to the face image to be recognized by the available integrated feature vector corresponding to the recognized face image:
Figure imgf000024_0001
中, 所述
its
Figure imgf000024_0001
Medium, said
其中,所述 F表示所述身份特征向量,所述
Figure imgf000024_0002
的分段 q对应的身份特征向量。
Wherein F represents the identity feature vector,
Figure imgf000024_0002
The segmentation q corresponds to the identity feature vector.
结合第八方面或第八方面的第一至第七种可能的实施方式中的任意一种, 在第八种可能的实施方式中,,所述待识别的人脸图像对应的身份特征向量与 Z 个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度,通过所 述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人 脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿距离来表征。  With reference to the eighth aspect, or any one of the first to the seventh possible implementation manners of the eighth aspect, in the eighth possible implementation, the identity feature vector corresponding to the to-be-recognized face image is The similarity of the identity feature vector corresponding to each sample face image in the Z sample face images, by the identity feature vector corresponding to the face image to be recognized and each sample person in the Z sample face images The cosine distance or Euclidean distance or Manhattan distance of the identity feature vector corresponding to the face image is characterized.
本发明第九方面提供一种模型训练设备, 可包括:  A ninth aspect of the present invention provides a model training device, which may include:
处理器和存储器;  Processor and memory;
其中,所述处理器用于,获取 Z个样本人脸图像对应的可用综合特征向量; 利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进 行训练, 以确定所述身份-年龄因子模型的模型参数; 其中, 所述可用综合特 征向量通过身份- 型描述,
Figure imgf000025_0001
The processor is configured to obtain an available integrated feature vector corresponding to the Z sample face images; and use the available integrated feature vector corresponding to the Z sample face images to enter the identity-age factor model Performing line training to determine model parameters of the identity-age factor model; wherein the available integrated feature vector is described by an identity-type,
Figure imgf000025_0001
其中, 所述
Figure imgf000025_0002
的分段 q对应的可用综合特征子向量对应的身份 -年龄因 子模型如下:
Wherein
Figure imgf000025_0002
The identity-age factor model corresponding to the available comprehensive feature subvector corresponding to the segmentation q is as follows:
Figure imgf000025_0003
中, 所述 l,
its
Figure imgf000025_0003
, the l,
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 T Wherein, the T 丄 represents the available integrated feature vector, and the n represents the available integrated T
特征向量的分段总数, 所述
Figure imgf000025_0004
表示所述 的分段 q对应的可用综合特
The total number of segments of the feature vector,
Figure imgf000025_0004
Representing the available comprehensive features corresponding to the segment q
征子向量, 所述
Figure imgf000025_0005
表示所述
Collector vector, said
Figure imgf000025_0005
Indicates the stated
q 对应的年龄因子系数,所述 ^ 表示所述 q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 q corresponding age factor coefficient, the ^ represents the average of the sample characteristics corresponding to the q a value, where the representation represents an identity factor corresponding to the q, the representation
述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 An age factor corresponding to q, wherein the Gaussian white noise corresponding to the q is
Shishi
声, ε g 〜 Ν V 0,' σ q2Ι Sound, ε g ~ Ν V 0,' σ q 2 Ι
其中, 所述 τ丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 eQ = {β , U q, V , aQ 2 } Wherein, the identity-age factor e Q = {β , U q , V , a Q 2 } corresponding to the available integrated feature subvector corresponding to the segment q of the τ丄
子模型的模型参数 q q q q qThe model parameter qqqqq of the submodel .
结合第九方面,在第九方面的第一种可能的实施方式中, 所述可用综合特 征向量基于梯度方向直方图得到。 本发明第十方面提供一种模型训练设备, 包括:  In conjunction with the ninth aspect, in a first possible implementation of the ninth aspect, the available integrated feature vector is derived based on a gradient direction histogram. A tenth aspect of the present invention provides a model training device, including:
处理器和存储器,  Processor and memory,
其中,所述处理器用于,获取 z个样本人脸图像对应的可用综合特征向量; 利用所述 z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进 行训练, 以确定所述身份 -年龄因子模型的模型参数,  The processor is configured to acquire an available integrated feature vector corresponding to the z sample face images; and use the available integrated feature vector corresponding to the z sample face images to train the identity-age factor model to determine the Model parameters of the identity-age factor model,
其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  Wherein the available comprehensive feature vector is described by an identity-age factor model,
其中, 所述身份-年龄因子模型如下:  Wherein, the identity-age factor model is as follows:
Figure imgf000026_0001
ϋχ +Υγ + 其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高
Figure imgf000026_0001
Ϋχ +Υγ + Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high
斯白噪声, G 〜 N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ }。 White noise, G ~ N (VQ ' σ 2 ΐ), the X represents an identity factor, and y represents an age factor, wherein the model parameters are - υ, V, σ }.
结合第十方面, 在第十方面的第一种可能的实施方式中,, 所述可用综合 特征向量基于梯度方向直方图得到。  In conjunction with the tenth aspect, in a first possible implementation of the tenth aspect, the available integrated feature vector is obtained based on a gradient direction histogram.
本发明第十一方面提供一种计算机存储介质, 其特征在于, 所述计算机存 储介质可存储有程序,所述程序执行时包括本发明实施例提供的任意一中模型 训练方法或图像身份识别方法的部分或全部步骤。  The eleventh aspect of the present invention provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes any one of the model training methods or the image identification method provided by the embodiment of the present invention. Part or all of the steps.
可以看出, 本发明的一些实施例中, 利用互不相关的身份因子和年龄因子 来共同确定待识别的人脸图像的可用综合特征向量,并基于上述待识别的人脸 图像对应的可用综合特征向量计算上述待识别的人脸图像所对应的由身份因 子确定的身份特征向量, 计算上述待识别的人脸图像对应的身份特征向量与 Ζ 个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 并将 Ζ 个样本人脸图像之中,与上述待识别的人脸图像对应的身份特征向量的相似度 满足要求的 Z1个样本人脸图像对应的身份信息,作为上述待识别的人脸图像对 应的可能身份信息进行输出。由于是利用互不相关的身份因子和年龄因子来共 同确定待识别的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图 像的可用综合特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除 待识别的人脸图像的可用综合特征向量中包含的与年龄相关的特征对身份识 别的影响, 进而有利于提高图像身份识别的准确性和通用性, 进而有利于尽可 能满足更多种应用场景的需求。 附图说明  It can be seen that, in some embodiments of the present invention, the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, and based on the available synthesis corresponding to the face image to be identified. The feature vector calculates an identity feature vector determined by the identity factor corresponding to the face image to be identified, and calculates an identity feature vector corresponding to the face image to be recognized and each sample face image in the sample face image. The similarity of the corresponding identity feature vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the sample face images satisfies the identity information corresponding to the required Z1 sample face image, The possible identity information corresponding to the face image to be identified is output. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will be implemented The drawings used in the examples or the description of the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and no one skilled in the art Further drawings can also be obtained from these drawings.
图 1是本发明实施例提供的同一人的脸在不同年龄段的照片;  1 is a photograph of a face of the same person at different ages according to an embodiment of the present invention;
图 2是本发明实施例提供的一种图像身份识别方法的流程示意图; 图 3是本发明实施例提供的一种模型训练方法的流程示意图;  2 is a schematic flowchart of an image identification method according to an embodiment of the present invention; FIG. 3 is a schematic flowchart of a model training method according to an embodiment of the present invention;
图 4是本发明实施例提供的另一种模型训练方法的流程示意图;  4 is a schematic flow chart of another model training method according to an embodiment of the present invention;
图 5是本发明实施例提供的一种图像身份识别装置的示意图;  FIG. 5 is a schematic diagram of an image identity recognition apparatus according to an embodiment of the present invention; FIG.
图 6是本发明实施例提供的一种模型训练装置的示意图;  6 is a schematic diagram of a model training device according to an embodiment of the present invention;
图 7是本发明实施例提供的另一种模型训练装置的示意图;  FIG. 7 is a schematic diagram of another model training device according to an embodiment of the present invention; FIG.
图 8是本发明实施例提供的一种身份识别系统的示意图;  FIG. 8 is a schematic diagram of an identity recognition system according to an embodiment of the present invention; FIG.
图 9是本发明实施例提供的一种身份识别设备的示意图;  FIG. 9 is a schematic diagram of an identity recognition device according to an embodiment of the present invention;
图 10是本发明实施例提供的一种模型训练设备的示意图;  FIG. 10 is a schematic diagram of a model training device according to an embodiment of the present invention; FIG.
图 11是本发明实施例提供的另一种模型训练设备的示意图。  FIG. 11 is a schematic diagram of another model training device according to an embodiment of the present invention.
具体实施方式 detailed description
本发明实施例提供图像身份识别方法和相关装置和身份识别系统,以期进 一步提高图像身份识别的准确性和通用性,进而尽可能满足更多种应用场景的 需求。  Embodiments of the present invention provide an image identification method, a related device, and an identification system, in order to further improve the accuracy and versatility of image identification, thereby satisfying the needs of more application scenarios as much as possible.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施 例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所 描述的实施例仅仅是本发明一部分的实施例, 而不是全部的实施例。基于本发 明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所 有其他实施例, 都应当属于本发明保护的范围。  The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope should fall within the scope of the present invention.
以下分别进行详细说明。  The details are described below separately.
本发明的说明书和权利要求书及上述附图中的术语 "第一"、 "第二"、 "第 三" "第四" 等(如果存在)是用于区别类似的对象, 而不必用于描述特定的 顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换, 以便这里 描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序 实施。 此外, 术语 "包括" 和 "具有" 以及他们的任何变形, 意图在于覆盖不 排他的包含, 例如, 包含了一系列步骤或单元的过程、 方法、 系统、 产品或设 备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对 于这些过程、 方法、 产品或设备固有的其它步骤或单元。 The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without being used for Describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any variants thereof are intended to cover no Excluded, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include those that are not clearly listed or Other steps or units inherent to the method, product or device.
本发明一种图像身份识别方法的一个实施例, 其中, 一种图像身份识别方 法可以包括:对待识别的人脸图像进行特征提取处理以得到上述待识别的人脸 图像对应的可用综合特征向量, 其中, 上述可用综合特征向量由用于描述上述 待识别的人脸图像所对应人物的身份的身份因子和用于描述上述待识别的人 脸图像所对应人物的年龄的年龄因子共同确定, 其中, 上述身份因子和上述年 龄因子互不相关;基于上述待识别的人脸图像对应的可用综合特征向量计算上 述待识别的人脸图像所对应的身份特征向量;计算上述待识别的人脸图像对应 的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向 量的相似度, 其中, 上述身份特征向量由身份因子确定, 上述 Z为正整数; 输 出 Z1个样本人脸图像对应的身份信息, 其中, 上述 Z1个样本人脸图像为上述 Z 个样本人脸图像的子集,上述 Z1个样本人脸图像对应的身份特征向量与上述待 识别的人脸图像对应的身份特征向量的相似度, 大于上述 Z个样本人脸图像之 中除上述 Z1个样本人脸图像之外的其它样本人脸图像对应的身份特征向量与 上述待识别的人脸图像对应的身份特征向量的相似度,或上述 Z1个样本人脸图 像对应的身份特征向量与上述待识别的人脸图像对应的身份特征向量的相似 度大于设定阔值,其中,上述输出的 Z1个样本人脸图像对应的身份信息为上述 待识别的人脸图像对应的可能身份信息。  An embodiment of an image identification method according to the present invention, wherein an image identification method may include: performing feature extraction processing on a face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, Wherein, the above-mentioned available integrated feature vector is jointly determined by an identity factor for describing the identity of the person corresponding to the face image to be identified, and an age factor for describing the age of the person corresponding to the face image to be recognized, wherein The identity factor and the age factor are not related to each other; the identity feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be identified; and the face image to be recognized is calculated. The similarity between the identity feature vector and the identity feature vector corresponding to each sample face image in the Z sample face images, wherein the identity feature vector is determined by an identity factor, and the Z is a positive integer; and the Z1 sample faces are output. Identity information corresponding to the image, wherein, the above Z1 The sample face image is a subset of the Z sample face images, and the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z samples. The similarity between the identity feature vector corresponding to the sample face image other than the above-mentioned Z1 sample face images and the identity feature vector corresponding to the face image to be recognized among the face images, or the Z1 sample face The similarity between the identity feature vector corresponding to the image and the identity feature vector corresponding to the face image to be identified is greater than a set threshold, wherein the output of the Z1 sample face image corresponding to the identity information is the face to be recognized Possible identity information corresponding to the image.
参见图 2,图 2为本发明的一个实施例提供的一种图像身份识别方法的流程 示意图。 如图 2所示, 本发明的一个实施例提供的一种图像身份识别方法可包 括以下内容:  Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of an image identity recognition method according to an embodiment of the present invention. As shown in FIG. 2, an image identification method provided by an embodiment of the present invention may include the following contents:
201、 对待识别的人脸图像进行特征提取处理以得到上述待识别的人脸图 像对应的可用综合特征向量, 其中, 上述可用综合特征向量由用于描述上述待 识别的人脸图像所对应人物的身份的身份因子和用于描述上述待识别的人脸 图像所对应人物的年龄的年龄因子共同确定, 其中, 上述身份因子和上述年龄 因子互不相关。  201. Perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be identified, where the available integrated feature vector is used to describe the person corresponding to the face image to be recognized. The identity factor of the identity is determined together with an age factor for describing the age of the person corresponding to the face image to be identified, wherein the identity factor and the age factor are not related to each other.
其中, 可通过多种可能的特征提取处理方式,对待识别的人脸图像进行特 征提取处理以得到上述待识别的人脸图像对应的可用综合特征向量。在本发明 一些可能的应用场景中,上述可用综合特征向量例如可基于梯度方向直方图或 其它方式来得到。 Among them, the face image to be recognized can be specially processed through various possible feature extraction processing methods. The extraction process is performed to obtain an available integrated feature vector corresponding to the face image to be identified. In some possible application scenarios of the present invention, the above-mentioned available integrated feature vector can be obtained, for example, based on a gradient direction histogram or other means.
在本发明一些可能的应用场景中,上述对待识别的人脸图像进行特征提取 处理以得到上述待识别的人脸图像对应的可用综合特征向量, 可以包括: 对待 识别的人脸图像进行预处理(预处理可以包括几何校正、 修剪和 /或归一化处 理等); 对进行预处理后的上述待识别的人脸图像进行特征提取处理以得到上 述待识别的人脸图像对应的可用综合特征向量。 当然,如果获得的待识别的人 脸图像已经符合了直接进行特征提取的相关要求,则亦可省略对待识别的人脸 图像进行预处理的步骤。在本发明的一些实施例中,原始综合特征向量例如可 基于梯度方向直方图或基于其它方式来得到。  In some possible application scenarios of the present invention, performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be identified may include: preprocessing the face image to be recognized ( The pre-processing may include geometric correction, trimming, and/or normalization processing, etc.; performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized . Of course, if the obtained face image to be recognized has already met the relevant requirements for direct feature extraction, the step of pre-processing the face image to be recognized may also be omitted. In some embodiments of the invention, the original integrated feature vector may be derived, for example, based on a gradient direction histogram or based on other means.
在本发明一些可能的应用场景中,上述对进行预处理后的上述待识别的人 脸图像进行特征提取处理以得到上述待识别的人脸图像对应的可用综合特征 向量, 可以包括: 从进行预处理后的上述待识别的人脸图像中提取原始综合特 征向量,对提取到的上述原始综合特征向量进行降维处理以得到上述待识别的 人脸图像对应的可用综合特征向量。 其中, 降维处理的方式可例如可以是 PCA+LDA的的降维处理方式。 可以理解, 降维处理的主要目的是降低计算复 杂度,如果具有足够的计算能力来支持, 当然亦可不执行对提取到的上述原始 综合特征向量进行降维处理的步骤,例如可直接将提取到的原始综合特征向量 作为上述待识别的人脸图像对应的可用综合特征向量。  In some possible application scenarios of the present invention, performing the feature extraction process on the pre-processed face image to obtain the available integrated feature vector corresponding to the face image to be recognized may include: The original integrated feature vector is extracted from the processed face image to be recognized, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized. The manner of the dimensionality reduction processing may be, for example, a dimensionality reduction processing method of the PCA+LDA. It can be understood that the main purpose of the dimensionality reduction processing is to reduce the computational complexity. If there is sufficient computing power to support, of course, the step of performing the dimensionality reduction processing on the extracted original integrated feature vector may not be performed, for example, the extraction may be directly performed. The original integrated feature vector is used as the available integrated feature vector corresponding to the face image to be identified.
202、 基于上述待识别的人脸图像对应的可用综合特征向量计算上述待识 别的人脸图像所对应的身份特征向量。  202. Calculate an identity feature vector corresponding to the to-be-identified face image based on the available integrated feature vector corresponding to the face image to be identified.
203、计算上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像 中的每个样本人脸图像所对应身份特征向量的相似度, 其中, 上述身份特征向 量由身份因子确定, 上述 Z为正整数。  203. Calculate a similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the Z sample face images, where the identity feature vector is determined by an identity factor. The above Z is a positive integer.
204、 输出 Z1个样本人脸图像对应的身份信息(其中, Z1个样本人脸图像 中的每个样本人脸图像对应的身份信息是可用于指示出该样本人脸图像所对 应人物的身份的任何信息 (如姓名、 身份证号、 身份证图片、 护照号和 /或护 照图片等等), 甚至可以是样本人脸图像本身 (若样本人脸图像用于指示出该 样本人脸图像所对应人物的身份)), 其中, 上述 Z1个样本人脸图像为上述 Z个 样本人脸图像的子集,上述 Z1个样本人脸图像对应的身份特征向量与上述待识 别的人脸图像对应的身份特征向量的相似度, 大于上述 Z个样本人脸图像之中 除上述 Z1个样本人脸图像之外的其它样本人脸图像对应的身份特征向量与上 述待识别的人脸图像对应的身份特征向量的相似度,或上述 Z1个样本人脸图像 对应的身份特征向量与上述待识别的人脸图像对应的身份特征向量的相似度 大于设定阔值。其中,上述输出的 Z1个样本人脸图像对应的身份信息为上述待 识别的人脸图像对应的可能身份信息。 204. Output identity information corresponding to the Z1 sample face images (where the identity information corresponding to each sample face image in the Z1 sample face images is used to indicate the identity of the person corresponding to the sample face image. Any information (such as name, ID number, ID card picture, passport number and/or passport picture, etc.) may even be the sample face image itself (if the sample face image is used to indicate this The identity of the person corresponding to the sample face image)), wherein the Z1 sample face image is a subset of the Z sample face images, and the identity feature vector corresponding to the Z1 sample face image and the to-be-identified The similarity of the identity feature vector corresponding to the face image is greater than the identity feature vector corresponding to the sample face image other than the Z1 sample face image among the Z sample face images and the face to be recognized The similarity of the identity feature vector corresponding to the image, or the similarity between the identity feature vector corresponding to the Z1 sample face image and the identity feature vector corresponding to the face image to be recognized is greater than a set threshold. The identity information corresponding to the Z1 sample face images outputted above is the possible identity information corresponding to the face image to be identified.
在本发明一些可能的应用场景中,上述待识别的人脸图像对应的可用综合 特征向量通过身份-年龄因子模型描述。  In some possible application scenarios of the present invention, the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
出于简化和稳定性等方面的考虑, 身份 -年龄因子模型例如可釆用线性模 型进行表达。 并且,年龄特征向量和身份特征向量可以认为是分别由年龄因子 和身份因子通过线性变换得到。  For reasons of simplicity and stability, the identity-age factor model can be expressed, for example, using a linear model. Moreover, the age feature vector and the identity feature vector can be considered to be obtained by linear transformation from the age factor and the identity factor, respectively.
其中, 上述身份-年龄因子模型例如可如下:
Figure imgf000031_0001
Wherein, the above identity-age factor model can be as follows:
Figure imgf000031_0001
其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数, 上述 表示高 Wherein, the above ^ represents the above-mentioned available integrated feature vector, the above ^ represents the sample feature average value, the above U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above represents high
斯白噪声, G 〜 Ν I (0 σ2ΐ),上述 X^ 表示身份因子,上述 y 表 示年龄因子。 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综合特征 向量
Figure imgf000032_0001
和噪 声 。其中, 依赖于人脸图像所对应人物的身份, 可认为 不
White noise, G ~ Ν I (0 σ 2 ΐ), the above X^ represents the identity factor, and the above y represents the age factor. Based on the above identity-age factor model, it can be seen that any available features corresponding to any face image Vector
Figure imgf000032_0001
And noise. Among them, depending on the identity of the person corresponding to the face image, it can be considered not
V y  V y
随着人物年龄进行变化, 可用于进行人物身份识别; 依赖于人脸图像 所对应人物的年龄, 可用于进行人物年龄估计。 As the person's age changes, it can be used for character identification; depending on the age of the person corresponding to the face image, it can be used to estimate the person's age.
其中, 描述任何人脸图像对应的可用综合特征向量 T丄 的身份-年龄因 子模型都具有相同的模型参数 9 -、 P, u, v, °" }。 可利用 多个样本人脸图像对应的可用综合特征向量对上述身份-年龄因子模型进行训 练,以确定上述身份 -年龄因子模型的模型参数 — U, V, σ } 的取值。 其中,基于上述可能的应用场景, 上述基于上述待识别的人脸图像对应的 可用综合特征向量计算上述待识别的人脸图像所对应的身份特征向量,具体可 以包括: 通过如下方式,基于上述待识别的人脸图像对应的可用综合特征向量 计算上述待识别的人脸图像所对应的身份特征向量: Wherein, the identity-age factor models describing the available integrated feature vectors T丄 corresponding to any face image have the same model parameters 9 -, P, u, v, °" }. Multiple sample face images can be used. The above-mentioned identity-age factor model can be trained by the comprehensive feature vector to determine the value of the model parameter - U, V, σ } of the identity-age factor model described above, wherein based on the above-mentioned possible application scenarios, the above is based on the above-mentioned to be identified. Calculating the identity feature vector corresponding to the face image to be identified by the available comprehensive feature vector corresponding to the face image, the method may include: calculating, according to the available integrated feature vector corresponding to the face image to be recognized, by using the following manner The identity feature vector corresponding to the recognized face image:
Figure imgf000032_0002
Figure imgf000032_0002
其中, 上述
Figure imgf000032_0003
表示上述身份特征向量, σ 2Ί τ + , υ ττυττΤ1 + , Τ ΤΤ
Among them, the above
Figure imgf000032_0003
Representing the above identity feature vector, σ 2Ί τ + , υ ττυττΤ 1 + , Τ ΤΤ
∑ 二  ∑ two
其中, 上述 W 其中, 身份因子 *^的预测分布如下:  Wherein, the above W, wherein the predictive distribution of the identity factor *^ is as follows:
P(x
Figure imgf000033_0001
∑—丄 U) 因此,
Figure imgf000033_0002
在本发明另一些可能的应用场景中,上述待识别的人脸图像对应的可用 合特征向量通过身份 -年龄因子模型描述,
Figure imgf000033_0003
P(x
Figure imgf000033_0001
∑—丄U) Therefore,
Figure imgf000033_0002
In other possible application scenarios of the present invention, the available feature vector corresponding to the face image to be identified is described by an identity-age factor model.
Figure imgf000033_0003
其中, 上述身份-年龄因子模型如下:  Among them, the above identity-age factor model is as follows:
Figure imgf000033_0004
Figure imgf000033_0004
其中, 上述
Figure imgf000033_0005
表示上述可用综合特征向量, 上述 n表示上述可用综合 特征向量的分段总数(即, 可用综合特征向量
Figure imgf000034_0001
被划分为等长度或不等长
Among them, the above
Figure imgf000033_0005
Representing the above-mentioned available comprehensive feature vector, the above n represents the above available synthesis The total number of segments of the feature vector (ie, the available feature vector)
Figure imgf000034_0001
Divided into equal lengths or unequal lengths
度的 η个分段, 每个分段对应一个可用综合特征子向量, 包括 η个分段对 η segments of degree, each segment corresponding to an available integrated feature sub-vector, including n segment pairs
应的可用综合特征子向量, 即 Τ 包括 η个可用综合特征子向量), The available composite feature subvectors, ie Τ include η available synthetic feature subvectors,
Figure imgf000034_0002
q
Figure imgf000034_0002
q
V ta β 对应的身份因子系数。 上述 y 表示 q 对应的年龄因子系数, 上述^ The identity factor coefficient corresponding to V t a β. The above y represents the age factor coefficient corresponding to q, above ^
表示 q 对应的样本特征平均值。其中,上述 表示 q 对应的身份 Represents the sample feature average corresponding to q. Where the above represents the identity corresponding to q
上述 表示 对应的年龄因子, 其中, 上述 4表示 The above represents the corresponding age factor, wherein the above 4 represents
〜 ( ~ (
对应的高斯白噪声, s。(1 0, o" 2/)。 其中, 对应的模型 Corresponding Gaussian white noise, s. (1 0, o" 2 /). where, the corresponding model
Θ 二 { , U , V, σ 2 Θ two { , U , V, σ 2
参数 q q q q 、, 即, 用于描述可用综合特征向
Figure imgf000034_0003
的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数 oq = β^ uq, Vg, } 。 其中, 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综
Figure imgf000035_0001
The parameter qqqq , that is, is used to describe the available comprehensive features
Figure imgf000034_0003
The model parameter of the identity-age factor model of the available comprehensive feature subvector corresponding to the segmentation q o q = β^ u q , V g , } . Among them, based on the above-identity-age factor model, it can be seen that any face image corresponding to the available comprehensive
Figure imgf000035_0001
合特征向量 T 的分段 q对应的可用综合特征子向量 q 都由下面三个部 ua xa v y ε 分组成: 身份信息 q q、 年龄信息 q 和噪声 。 其中, q 依赖于人脸图像所对应人物的身份, 可认为 q q The available integrated feature sub-vectors q corresponding to the segment q of the eigenvector T are composed of the following three parts u a x a vy ε: identity information qq , age information q and noise. Where q depends on the identity of the person corresponding to the face image, which can be considered qq
V y V y
不随着人物年龄进行变化,可用于进行人物身份识别。 q q依赖于人脸图 像所对应人物的年龄, 可用于进行对应人物年龄的估计。 It does not change with the age of the person and can be used for character identification. Qq depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person.
可以理解, 上述举例中以对分段从 1到 n顺序编号为例来进行描述的, 当然 在实际应用中也可不按照顺序对各分段进行编号。  It can be understood that the above examples are described by taking the sequence of numbers from 1 to n as an example. Of course, in actual applications, each segment may be numbered out of order.
其中, 描述任何人脸图像对应的可用综合特征向量 T 所包含的分段 q Wherein, the segment included in the available integrated feature vector T corresponding to any face image is described q
对应的可用综合特征子向量 q 的身份-年龄因子模型都具有相同的模型参 The identity-age factor models of the corresponding available feature eigenvectors q all have the same model parameters.
Θ 二 { , U , V, ση 2 } Θ two { , U , V, σ η 2 }
q 、 q q q q 。 可利用多个样本人脸图像对应的 可用综合特征向量对上述身份 -年龄因子模型进行训练, 以确定上述身份 -年龄 q, qqqq . The above-described identity-age factor model can be trained to determine the identity-age by using the available comprehensive feature vectors corresponding to the plurality of sample face images.
Θ 二 , U , V, ση 2 } Θ 2, U , V, σ η 2 }
因子模型的模型参数 q q q q q 的取值, 对于用 于描述每个分段对应的可用综合特征向量的身份-年龄因子模型所具有的模型 参数的取值均可按照上述举例方式来确定。 其中,基于上述另一些可能的应用场景, 上述基于上述待识别的人脸图像 对应的可用综合特征向量计算上述待识别的人脸图像所对应的身份特征向量 可包括: 通过如下方式,基于上述待识别的人脸图像对应的可用综合特征向量 计算上述待识别的人脸图像所对应的身份特征向量: The value of the model parameter qqqqq of the factor model, for The values of the model parameters possessed by the identity-age factor model describing the available integrated feature vectors corresponding to each segment can be determined according to the above exemplary manner. The calculating the identity feature vector corresponding to the face image to be recognized based on the available integrated feature vector corresponding to the face image to be identified may include: based on the foregoing manner, based on the foregoing other possible application scenarios, The available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
Figure imgf000036_0001
中, 上述 q q
its
Figure imgf000036_0001
Medium, above qq
其中,上述
Figure imgf000036_0002
表示上述身份特征向量,上述
Figure imgf000036_0003
由 n个分段 q对应的身份特征向量
Among them, the above
Figure imgf000036_0002
Representing the above identity feature vector,
Figure imgf000036_0003
Identity feature vector corresponding to n segments q
Figure imgf000036_0004
Figure imgf000036_0004
其中, 身份因子的 预测分布如下:
Figure imgf000036_0005
- q) -uq T Σ 1 Uq) 因此,
Among them, the predicted distribution of identity factors is as follows:
Figure imgf000036_0005
- q ) -u q T Σ 1 U q ) therefore,
Figure imgf000037_0001
在本发明的一些可能的应用场景中,上述待识别的人脸图像对应的身份特 征向量与 z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似 度, 例如通过上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像 中的每个样本人脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿 距离 (或能够表征两者相似度的其它参数)来表征。
Figure imgf000037_0001
In some possible application scenarios of the present invention, the similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the z sample face images, for example, by using the above The cosine distance or the Euclidean distance or the Manhattan distance (or the ability to characterize the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images Other parameters) to characterize.
举例来说, 可用如下公式求取两个身份特征向量对应的余弦距离:  For example, the cosine distance corresponding to two identity feature vectors can be obtained by the following formula:
― Γ—  ― Γ—
Figure imgf000037_0002
Figure imgf000037_0004
Figure imgf000037_0002
Figure imgf000037_0004
其中,
Figure imgf000037_0003
F丄 和和身身份份特特征征向向量量 F丄 n 的余 弦距离。求取两个身份特征向量的欧氏距离或曼哈顿距离的方式此处不再具体 详细描述。
among them,
Figure imgf000037_0003
The cosine distance of the F 丄 and the body traits to the vector quantity F 丄n . The manner in which the Euclidean distance or Manhattan distance of two identity vector vectors is obtained is not described in detail herein.
可以看出,本实施例中利用互不相关的身份因子和年龄因子来共同确定待 识别的人脸图像的可用综合特征向量,并基于上述待识别的人脸图像对应的可 用综合特征向量计算上述待识别的人脸图像所对应的由身份因子确定的身份 特征向量, 计算上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图 像中的每个样本人脸图像所对应身份特征向量的相似度, 并将 Z个样本人脸图 像之中,与上述待识别的人脸图像对应的身份特征向量的相似度满足要求的 Z1 个样本人脸图像对应的身份信息,作为上述待识别的人脸图像对应的可能身份 信息进行输出。由于是利用互不相关的身份因子和年龄因子来共同确定待识别 的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可用综合 特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别的人脸 图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影响,进而 有利于提高图像身份识别的准确性和通用性,进而有利于尽可能满足更多种应 用场景的需求。 It can be seen that, in this embodiment, the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above. Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the Z sample face images satisfies the required Z1 The identity information corresponding to the sample face image is output as the possible identity information corresponding to the face image to be identified. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios.
为便于更好的理解和实施上述图像身份识别方法,下面通过一些具体的应 用场合进行举例说明。本发明实施例的上述方案可用于需验证或识别跨年龄阶 段的不同人脸图像的多种应用场合。  In order to better understand and implement the above image identification method, the following examples are exemplified by specific application scenarios. The above described scheme of embodiments of the present invention can be applied to a variety of applications where different face images across ages need to be verified or identified.
其中, 一种可能应用场景为相册管理。 在当今社会, 由于各种数码釆集设 备(手机、 数码相机、 数码摄像机、 平板电脑等)的飞速发展和普及, 用户的 电脑里经常储存了海量的数码照片, 其中, 绝大部分是和使用人或其亲戚朋友 密切相关的, 因此,很有必要根据照片中出现的人脸的身份来更有效地进行区 分储存、 管理、 检索这些照片, 这就涉及到跨年龄阶段人脸识别。 通过对不同 照片中的人脸进行识别,找出身份相同的照片, 可根据识别结果对照片做相应 的储存和管理。  Among them, one possible application scenario is album management. In today's society, due to the rapid development and popularity of various digital devices (mobile phones, digital cameras, digital video cameras, tablets, etc.), users often store a large number of digital photos, most of which are used and used. People or their relatives and friends are closely related. Therefore, it is necessary to more effectively distinguish, store, manage, and retrieve these photos based on the identity of the faces appearing in the photos. This involves face recognition across ages. By identifying faces in different photos and finding photos with the same identity, photos can be stored and managed according to the recognition results.
另一种可能应用场景可以为,用于政府相关部门检测申请人是否具有多重 证件 (比如护照等)。 在现实生活中, 有时有这样的情况, 一个人用不同的名 字在不同时期申请和拥有不止一本护照。迄今为止,政府相关部门主要是根据 申请人的姓名和身份证号等文字信息来判别是否有这种现象,但是这种做法只 防君子不防小人。对于那些有意用虚假身份信息来申报多重护照的人,传统的 手段难以解决问题。 因此,一个可行的思路是釆用本发明实施例提出的方案来 进行跨年龄阶段的人脸识别。例如,对于护照的申请人根据其提供的护照标准 照片,在现有的已发护照的标准人脸图像数据库中利用本发明提出的方案进行 相似度检索, 可能在数据库中找出和输入照片最像的若干(例如 50张或 100张) 照片, 然后可通过人工进一步核准。  Another possible application scenario may be for a government-related department to detect whether an applicant has multiple documents (such as a passport). In real life, there are times when a person applies for and owns more than one passport at different times with different names. So far, the relevant government departments have mainly judged whether there is such a phenomenon based on the applicant's name and ID number, but this method only prevents the gentleman from being a villain. For those who intend to use a false identity to declare multiple passports, traditional methods are difficult to solve. Therefore, a feasible idea is to use the solution proposed by the embodiment of the present invention to perform face recognition across ages. For example, the applicant for the passport uses the scheme proposed by the present invention to perform the similarity search in the standard face image database of the existing issued passport according to the passport standard photo provided by the applicant, and may find and input the most photographs in the database. Several (such as 50 or 100) photos of the image can then be further approved manually.
可以看出, 本发明实施例的方案, 引入新的隐形因子分析模型, 可以显著 提高跨年龄阶段人脸识别性能, 具有广泛的应用价值。例如在国际上最大的人 脸年龄数据库(MORPH )上做了大规模测试, 在一些情况下识别率达到国际 领先水平。 It can be seen that the solution of the embodiment of the present invention introduces a new stealth factor analysis model, which can significantly improve the face recognition performance across ages, and has wide application value. For example, the biggest person in the world The face age database (MORPH) has been tested on a large scale, and in some cases the recognition rate has reached the international leading level.
下面还提供几种身份 -年龄因子模型的训练方法。  Several training methods for identity-age factor models are also provided below.
请参见图 3,图 3为本发明的一个实施例提供的一种模型训练方法的流程示 意图。 其中, 如图 3所示, 本发明的一个实施例提供的一种模型训练方法可包 括以下内容:  Referring to FIG. 3, FIG. 3 is a schematic flowchart of a model training method according to an embodiment of the present invention. As shown in FIG. 3, a model training method provided by an embodiment of the present invention may include the following contents:
301、 获取 Z个样本人脸图像对应的可用综合特征向量。  301. Obtain an available integrated feature vector corresponding to the Z sample face images.
302、 利用上述 Z个样本人脸图像对应的可用综合特征向量对身份-年龄因 子模型进行训练, 以确定上述身份 -年龄因子模型的模型参数。  302. Train the identity-age factor model by using the available comprehensive feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model.
其中, 上述可用综合特征向量通过身份-年龄因子模型描述,  Wherein, the above available comprehensive feature vector is described by an identity-age factor model,
其中, 上述身份-年龄因子模型如下:
Figure imgf000039_0001
Among them, the above identity-age factor model is as follows:
Figure imgf000039_0001
其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数,, 上述 表示高 斯白噪声, G 〜 NV (Q σ2ΐ
Figure imgf000039_0002
表示身份因子,上述 y 表 示年龄因子, 其中, 上述模型参数 — u, V, }。
Wherein, the above ^ represents the available integrated feature vector, the above ^ represents the sample feature average value, the U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above represents Gaussian white noise, G 〜 N V (Q σ 2 ΐ
Figure imgf000039_0002
Representing the identity factor, the above y represents the age factor, where the above model parameters are - u, V, }.
基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综合特征 T U x V y 向量 都由下面三个部分组成: 身份信息 、 年龄信息 和噪 声 。其中, 依赖于人脸图像所对应人物的身份, 可认为 不 Based on the above identity-age factor model, it can be seen that any available features corresponding to any face image The TU x V y vectors are composed of the following three parts: identity information, age information, and noise. Among them, depending on the identity of the person corresponding to the face image, it can be considered not
V y  V y
随着人物年龄进行变化, 可用于进行人物身份识别; 依赖于人脸图像 所对应人物的年龄, 可用于进行人物年龄估计。 As the person's age changes, it can be used for character identification; depending on the age of the person corresponding to the face image, it can be used to estimate the person's age.
在本发明一些可能的实施方式中,上述可用综合特征向量基于梯度方向直 方图或基于其它方式得到。  In some possible implementations of the invention, the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份 It can be seen that the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
-年龄因子模型描述, 其中, 上述身份-年龄因子模型如下:
Figure imgf000040_0001
由于 身份 -年龄因子模型的模型参数 ^— {^ U, , °" }, 因此利用2 个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模型进行 训练以确定模型参数 ^―、 , υ, V, σ }的取值,训练好的身份
- an age factor model description, wherein the above identity-age factor model is as follows:
Figure imgf000040_0001
Because of the model parameter ^- {^ U, , °" } of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , υ, V, σ }, trained identity
-年龄因子模型能够为任何待识别的人脸图像的识别奠定良好基础。 其中, 由 于利用互不相关的身份因子和年龄因子来共同确定待识别的人脸图像的可用 综合特征向量,因此有利于将待识别的人脸图像的可用综合特征向量中包含的 与身份相关的特征剥离出来,进而有利于剔除待识别的人脸图像的可用综合特 征向量中包含的与年龄相关的特征对身份识别的影响,进而有利于提高图像身 份识别的准确性和通用性, 进而有利于尽可能满足更多种应用场景的需求。 为便于更好的理解和实施上述模型训练方法,下面通过一些具体的应用场 景进行举例说明。 The age factor model can lay a good foundation for the identification of any face image to be recognized. Wherein, since the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized. The feature is stripped out, which is beneficial to eliminate the influence of the age-related features included in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. Meet as many application scenarios as possible. To facilitate a better understanding and implementation of the above model training method, the following is illustrated by some specific application scenarios.
假设待训练的身份 -年龄因子模型如下所示:
Figure imgf000041_0001
Suppose the identity-age factor model to be trained is as follows:
Figure imgf000041_0001
其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数,, 上述 G 表示高 〜 Τ ίθ σ2ΐ) X Wherein, the above ^ represents the available comprehensive feature vector, the above ^ represents the average value of the sample feature, the U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above G represents high ~ Τ ί θ σ 2 ΐ) X
斯白噪声, i ' Λ上述 表示身份因子,上述 Ύ 表 示年龄因子。 上述身份 -年龄因子模型的模型参数 — { ' U, V, }。 例如可通过最大化联合概率分布公式来最优化模型参数, 其中, 最大化联 合概率分布公式例如可如下公式 1所示: White noise, i ' Λ above represents the identity factor, and Ύ above represents the age factor. The model parameter of the above identity-age factor model - { ' U, V, }. For example, the model parameters can be optimized by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, as shown in the following formula 1:
Figure imgf000041_0002
其中, 公式 1中, k表示样本人脸图像所对应人物的年龄, i表示样本人脸
Figure imgf000041_0002
Where, in formula 1, k represents the age of the person corresponding to the sample face image, and i represents the sample face
图像所对应人物的身份标识,
Figure imgf000041_0003
表示身份标识为 i且年龄为 k的样本人脸图 像对应的可用综合特征向量, 1表示身份标识为 i的样本人脸图像所对应人物 的身份因子, ^^是年龄为 k的样本人脸图像所对应人物的年龄因子, ^^表 示在给定模型参数 Θ的条件之下, 和 联合概率分布。 其中, L表示联合 概率分布。 其中, 由于公式 1中的两个隐形因子
Figure imgf000042_0001
不能直接观测。 例如可釆 用坐标上升算法对因子 和 进行分析, 即在一个因子固定的情况下对另 一个隐形因子进行优化。 其中, 对于给定的模型参数 , 可估计出先验概率分 ρβ ( , yk \ T)
The identity of the person corresponding to the image,
Figure imgf000041_0003
A sample face map representing the identity i and age k Like the corresponding available comprehensive feature vector, 1 represents the identity factor of the person corresponding to the sample face image whose identity is i, ^^ is the age factor of the person corresponding to the sample face image of age k, ^^ indicates in the given The model parameters are under the conditions of the Θ, and the joint probability distribution. Where L represents the joint probability distribution. Where, due to the two invisibility factors in Equation 1,
Figure imgf000042_0001
Can not be directly observed. For example, the factor sum can be analyzed by a coordinate ascending algorithm, that is, another invisible factor is optimized with one factor fixed. Where, for a given model parameter, the prior probability score ρ β ( , y k \ T) can be estimated
0 最大化联合概率分布 L的条件期望来 得到先验概率分布
Figure imgf000042_0002
, 进而更新模型参数 Θ的取值。
Cloth 0 maximizes the conditional expectation of joint probability distribution L to obtain prior probability distribution
Figure imgf000042_0002
, and then update the value of the model parameter Θ.
也就是说, 给定初始化估计值 , 通过最大化如下公式 2中的 LC来得到一 个新的 :
Figure imgf000042_0003
That is, given the initialization estimate, a new one is obtained by maximizing L C in Equation 2 below:
Figure imgf000042_0003
其中, 公式 2中的 I J , T表示样本集合中的各样本人脸 图像(假设有 Z个样本人脸图像)对应的可用综合特征向量, LC是联合概率分 布 L在给定初始模型参数 的条件期望。 其中, 因为隐形因子 和^^未知, 因此 L不能直接最大化。 但是可通过初始化模型参数 σ。来估计隐形因子 '和 的分布, 进而得到在下分布之下联合概率分布 L的条件期望, 该条件期望 即 LcWherein, IJ and T in Equation 2 represent the available integrated feature vectors corresponding to each sample face image in the sample set (assuming there are Z sample face images), and L C is the joint probability distribution L in the given initial model parameters. Conditional expectations. Among them, because the invisible factor and ^^ are unknown, Therefore L cannot be directly maximized. But by initializing the model parameter σ . To estimate the distribution of the invisibility factor 'and, and then to obtain the conditional expectation of the joint probability distribution L under the lower distribution, which is expected to be L c .
下面提出上述身份 -年龄因子模型适应化的最大条件期望值 法: τ二  The following is the maximum conditional expectation of the above-identification-age factor model adaptation method: τ二
输入为: 标有身份和年龄的样本图像的特征向量集 Input as: Feature Vector Set of Sample Image with Identity and Age
Figure imgf000043_0001
输出为: 特征模型的模型参数 6 -、 β, u, v, < } 具体的, 可先初始化下面几个参数:
Figure imgf000043_0001
The output is: Model parameters of the feature model 6 -, β, u, v, < } Specifically, the following parameters can be initialized first:
σ2 0.1、 腦 ― 0.1,0.1)
Figure imgf000043_0002
σ 2 0.1, brain - 0.1, 0.1)
Figure imgf000043_0002
将初始化的 σ 、 υ、 ν带入身份-年龄因子模型公式中, 求得 ^ 基于模型参数 9- , υ, ^2}计算隐形因子 和 。 The initialized σ , υ, ν are brought into the identity-age factor model formula, and the invisible factor sum is calculated based on the model parameters 9-, υ, ^ 2 }.
其中, 》 =
Figure imgf000043_0003
Among them, 》 =
Figure imgf000043_0003
Figure imgf000044_0001
Figure imgf000044_0002
Figure imgf000044_0001
Figure imgf000044_0002
Figure imgf000044_0003
Figure imgf000044_0003
其中, 上述 Nd表示训练样本人脸图像中, 身份标识为 i的样本人脸图像的 个数, 上述 Nsk表示训练样本人脸图像中, 年龄为 k的样本人脸图像的个数。 基于计算出的隐形因子 和^^更新模型参数 - 3/: O 9ε9ϊϊ1£8/-oiAV The N d represents the number of sample face images whose identity is i in the training sample face image, and the N sk represents the number of sample face images of the age of k in the training sample face image. Based on the calculated stealth factor and ^^ update model parameters - 3/: O 9ε9ϊϊ1£8/-oiAV
Figure imgf000045_0001
Figure imgf000045_0001
Figure imgf000046_0001
Figure imgf000046_0002
Figure imgf000046_0001
Figure imgf000046_0002
Figure imgf000046_0003
其中, 上述 N表示样本人脸图像的总个数, d是样本本人脸图像的可用综 合特征向量的长度。 基于上述方式, 利用 Z个样本人脸图像对应的可用综合特征向量中的多个 可用综合特征向量多次求取参数 σ 、 和 V, 直到收敛。 通过上述算法可较 准确地计算出上述身份 -年龄因子模型的模型参数 θ = {β, 〃 σ2} 当然亦可通过其它方式训练得到模型参数
Figure imgf000046_0004
L σ }的具 体取值。 并不限于上述举例的训练方法。
Figure imgf000046_0003
Wherein, N represents the total number of sample face images, and d is the length of the available integrated feature vector of the sample face image. Based on the above manner, the parameters σ , and V are obtained multiple times using a plurality of available integrated feature vectors in the available integrated feature vectors corresponding to the Z sample face images until convergence. Through the above algorithm, the model parameter θ = {β, 〃 σ 2 } of the above identity-age factor model can be calculated more accurately. Of course, the model parameters can also be trained by other means.
Figure imgf000046_0004
The specific value of L σ }. It is not limited to the training method exemplified above.
请参见图 4,图 4为本发明的一个实施例提供的另一种模型训练方法的流程 示意图。 其中, 如图 4所示, 本发明的一个实施例提供的另一种模型训练方法 可包括以下内容: 401、 获取 Z个样本人脸图像对应的可用综合特征向量。 Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of another model training method according to an embodiment of the present invention. As shown in FIG. 4, another model training method provided by an embodiment of the present invention may include the following contents: 401. Acquire an available integrated feature vector corresponding to the Z sample face images.
当然, Z个样本人脸图像对应的可用综合特征向量中的身份因子和年龄因 子均已确定。  Of course, the identity factors and age factors in the available integrated feature vectors corresponding to the Z sample face images have been determined.
402、 利用上述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因 子模型进行训练, 以确定上述身份 -年龄因子模型的模型参数。  402. Train the identity-age factor model by using the available comprehensive feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model.
其中, 上述可用综合特征向量通过身份-年龄因子模型描述,  Wherein, the above available comprehensive feature vector is described by an identity-age factor model,
Figure imgf000047_0001
Figure imgf000047_0001
其中, 上述身份-年龄因子模型如下:
Figure imgf000047_0002
Among them, the above identity-age factor model is as follows:
Figure imgf000047_0002
Figure imgf000047_0003
Figure imgf000047_0003
其中, 上述 1,2 Among them, the above 1,2
Figure imgf000047_0004
表示上述可用综合特征向量, 上述 n表示上述可用综合
Figure imgf000047_0004
Representing the above-mentioned available comprehensive feature vector, the above n represents the above available synthesis
特征向量的分段总数(即,
Figure imgf000047_0005
被划分为等长度或不等长
The total number of segments of the feature vector (ie,
Figure imgf000047_0005
Divided into equal lengths or unequal lengths
度的 n个分段, 每个分段对应一个可用综合特征子向量,
Figure imgf000047_0006
包括 n个分段对
n segments of degree, each segment corresponding to an available integrated feature sub-vector,
Figure imgf000047_0006
Including n segment pairs
应的可用综合特征子向量, 即
Figure imgf000047_0007
包括 n个可用综合特征子向量), ta T u ta q 表示丄 的分段 q对应的可用综合特征子向量。上述 表示 q
The available composite feature subvector, ie
Figure imgf000047_0007
Including n available synthetic feature subvectors), t a T ut a q represents the available integrated feature subvector corresponding to the segment q of 丄. The above represents q
V ta β 对应的身份因子系数。 上述 表示 q 对应的年龄因子系数, 上述 ^ q
Figure imgf000048_0001
The identity factor coefficient corresponding to V t a β. The above represents the age factor coefficient corresponding to q, the above ^ q
Figure imgf000048_0001
表示 对应的样本特征平均值。其中,上述 表示 对应的身份
Figure imgf000048_0002
Indicates the corresponding sample feature average. Where the above indicates the corresponding identity
Figure imgf000048_0002
表示 q 对应的年龄因子, 其中, 上述 表示 s 〜 (  Indicates the age factor corresponding to q, where the above represents s ~ (
对应的高斯白噪声, q 0^, c^r 2/^)。 其中, 对应的模型 Corresponding Gaussian white noise, q 0^, c^r 2 /^). Where the corresponding model
6Q = {β , U q, V , aQ 2} 6 Q = {β , U q , V , a Q 2 }
参数 q q q q , 即, 用于描述可用综合特征向 量 T的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数The parameter qqqq , that is, the model parameter for describing the identity-age factor model of the available integrated feature subvector corresponding to the segment q of the available integrated feature vector T
Θ q 二 ^ ^ q, U q, V q, ση q2} J Θ q 二^^ q, U q, V q, σ η q 2 } J
其中, 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综
Figure imgf000048_0003
Among them, based on the above-identity-age factor model, it can be seen that any face image corresponding to the available comprehensive
Figure imgf000048_0003
合特征向量 T的分段 q对应的可用综合特征子向量 q 都由下面三个部 Ua Xa V y S The available composite feature sub-vectors q corresponding to the segment q of the feature vector T are all composed of the following three parts. U a X a V y S
分组成: 身份信息 4 q、 年龄信息 q 和噪声 。 The composition is: identity information 4 q , age information q and noise.
U X U X U X U X
其中, q 依赖于人脸图像所对应人物的身份, 可认为 q q Where q depends on the identity of the person corresponding to the face image, which can be considered qq
V y V y
不随着人物年龄进行变化,可用于进行人物身份识别。 q 依赖于人脸图 像所对应人物的年龄, 可用于进行对应人物年龄的估计。 It does not change with the age of the person and can be used for character identification. q depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person.
可以理解, 上述举例中以对分段从 1到 n顺序编号为例来进行描述的, 当然 在实际应用中也可不按照顺序对各分段进行编号。  It can be understood that the above examples are described by taking the sequence of numbers from 1 to n as an example. Of course, in actual applications, each segment may be numbered out of order.
在本发明一些可能的实施方式中,上述可用综合特征向量基于梯度方向直 方图或基于其它方式得到。  In some possible implementations of the invention, the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份  It can be seen that the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
-年龄因子模型描述, 其中, 上述身份-年龄因子模型如下: - an age factor model description, wherein the above identity-age factor model is as follows:
Figure imgf000049_0001
, 由于
Figure imgf000049_0001
Due to
Θ 二 {β , U , V, ση 2 } 身份 -年龄因子模型的模型参数 q 、 q q q Q 因此 利用 Z个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模 Θ 2 {β , U , V, σ η 2 } The model parameters q and qqq Q of the identity-age factor model. Therefore, the above-mentioned identity-age factor model can be used by using the available comprehensive feature vectors corresponding to the Z sample face images.
Θ 二 {β , U , V, ση 2} 型进行训练以确定模型参数 q q q q q 的取值, 训练好的各分段对应的身份-年龄因子模型能够为任何待识别的人脸图像的识 别奠定良好基础。其中, 由于利用互不相关的身份因子和年龄因子来共同确定 待识别的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可 用综合特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别 的人脸图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影 响, 进而有利于提高图像身份识别的准确性和通用性, 进而有利于尽可能满足 更多种应用场景的需求。 Θ two {β , U , V, σ η 2 } type training to determine the value of the model parameter qqqqq , the identity-age factor model corresponding to each segment trained can lay the identification of any face image to be identified Good foundation. Wherein, since the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized. The feature is stripped out, which in turn helps to eliminate the identification The influence of the age-related features contained in the available feature vectors of the face image on the identity recognition, which in turn helps to improve the accuracy and versatility of the image identification, thereby facilitating the needs of more application scenarios as much as possible. .
为便于更好的理解和实施上述模型训练方法,下面通过一些具体的应用场 景进行举例说明。  In order to better understand and implement the above model training method, the following is illustrated by some specific application scenarios.
假设可用综合特征向量
Figure imgf000050_0001
Hypothetical available feature vector
Figure imgf000050_0001
的对应的待训练身份 -年龄因子模型如下所示: The corresponding identity to be trained - the age factor model is as follows:
Figure imgf000050_0002
中, 上述 l,
its
Figure imgf000050_0002
, above l,
Figure imgf000050_0003
表示上述可用综合特征向量, 上述 n表示上述可用综合 特征向量的分段总数(即,
Figure imgf000050_0004
被划分为等长度或不等长 度的 n个分段, 每个分段对应一个可用综合特征子向量, T丄 包括 n个分段对 应的可用综合特征子向量, 即
Figure imgf000051_0001
包括 η个可用综合特征子向量),
Figure imgf000051_0002
q
Figure imgf000050_0003
Representing the above-mentioned available integrated feature vector, where n represents the total number of segments of the available integrated feature vector (ie,
Figure imgf000050_0004
Divided into n segments of equal length or unequal length, each segment corresponding to one available integrated feature subvector, T丄 includes n segment pairs The available composite feature subvector, ie
Figure imgf000051_0001
Including η available synthetic feature subvectors),
Figure imgf000051_0002
q
V tn β 对应的身份因子系数。 上述 表示 q 对应的年龄因子系数, 上述 ^
Figure imgf000051_0003
The identity factor coefficient corresponding to V t n β. The above represents the age factor coefficient corresponding to q, above ^
Figure imgf000051_0003
表示 q 对应的样本特征平均值。其中,上述 表示 对应的身份
Figure imgf000051_0004
Represents the sample feature average corresponding to q. Where the above indicates the corresponding identity
Figure imgf000051_0004
表示 q 对应的年龄因子, 其中, 上述 表示 s 〜  Indicates the age factor corresponding to q, where the above represents s ~
对应的高斯白噪声, q (0, σ 2/)。 其中, t 对应的模型 Corresponding Gaussian white noise, q (0, σ 2 /). Where t corresponds to the model
Θ 二 {β , U , V, σπ 2} Θ two {β , U , V, σ π 2 }
参数 q q q q , 即, 用于描述可用综合特征向 量 T 的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数The parameter qqqq , that is, the model parameter for describing the identity-age factor model of the available integrated feature subvector corresponding to the segmentation q of the available integrated feature vector T
Θ q 二 q,7 U q,7 V q,7 ση q2 } J Θ q two q, 7 U q, 7 V q, 7 σ η q 2 } J
例如可通过最大化联合概率分布公式来最优化模型参数, 其中, 最大化联 合概率分布公式例如可如下公式 3所示:
Figure imgf000052_0001
其中, 公式 2中, k表示样本人脸图像所对应人物的年龄, i表示样本人脸 图像所对应人物的身份标识, 其中,
Figure imgf000052_0002
表示身份标识为 i且年龄为 k的
For example, the model parameters can be optimized by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, as shown in the following formula 3:
Figure imgf000052_0001
Wherein, in formula 2, k represents the age of the person corresponding to the sample face image, and i represents the identity of the person corresponding to the sample face image, wherein
Figure imgf000052_0002
Indicates that the identity is i and the age is k
样本 Sample
表示 因 子, 联
Figure imgf000052_0003
合概率分布。
Representation factor
Figure imgf000052_0003
Probability distribution.
其中, ^表示联合概率分布。 其中, 可基于对应不同年龄不同身份的多 个样本人脸图像上进行试验。 其中, 由于身份 -年龄因子模型中的两个隐形因子 和  Where ^ represents the joint probability distribution. Among them, the experiment can be performed on multiple sample face images corresponding to different ages and different identities. Among them, due to the two invisibility factors in the identity-age factor model and
不能直接观测。 例如可釆用坐标上升算法对因子
Figure imgf000052_0004
禾 y 进行分析, 即在一个因子固定的情况下对另一个隐形因子进行优 化。 其中, 对于给定的模型参数
Figure imgf000053_0001
, 可估计出先验概率分布
Can not be directly observed. For example, the coordinate rising algorithm can be used to factor
Figure imgf000052_0004
He y is analyzed, that is, the other invisible factor is optimized when one factor is fixed. Chemical. Where, for a given model parameter
Figure imgf000053_0001
, can estimate the prior probability distribution
Pefq^,0) X q,i)
Figure imgf000053_0002
Pe f q^,0) X q,i)
Figure imgf000053_0002
。 从而可以通过最大化联合概率分布 L q . Thus by maximizing the joint probability distribution L q
Figure imgf000053_0003
Figure imgf000053_0003
的条件期望来得到先验概率分布 Pe q0) X(q ), ,进而更 新模型参数
Figure imgf000053_0004
的取值 也就是说,给定初始化估计值 4' ,通过最大化如下公式 4中的 Lc来 β
The condition expectation to get the prior probability distribution Pe q , 0) X(q ) , and then update the model parameters
Figure imgf000053_0004
That is, given the initial estimate 4 ', by maximizing L c in Equation 4 below
得到一个新的 q , Get a new q,
Figure imgf000053_0005
Figure imgf000053_0005
k  k
其中, 公式 4中的
Figure imgf000053_0006
Φ i)
Where, in formula 4
Figure imgf000053_0006
Φ i)
的各样本人脸图像(假设有 Z个样本人脸图像)对应的可用综合特征向量之中 的分段 q对应的可用综合特征子向量, LC是联合概率分布 ^在给定初始模型 参数 (q0)的条件期望。 其中, 因为, 隐形因子 和 , )未 β The available synthetic feature subvectors corresponding to the segment q of the available synthetic feature vectors corresponding to each sample face image (assuming Z sample face images), L C is the joint probability distribution ^ in the given initial model The conditional expectation of the parameter ( q , 0) . Among them, because, the invisible factor and , ) are not β
知, 因此 L不能直接最大化。 但是可通过初始化模型参数 (q'Q)来估计隐形 因子
Figure imgf000054_0001
的分布, 进而得到在下分布之下联合概率分布
Know, so L can't be directly maximized. But the invisible factor can be estimated by initializing the model parameters ( q ' Q )
Figure imgf000054_0001
Joint distribution, and then the joint probability distribution under the lower distribution
^的条件期望, 该条件期望即 LcThe condition of ^ is expected, and the condition is expected to be L c .
下面提出上述身份-年龄因子模型适应化的最大期望值(EM) 算法: 输入为:多个标有身份和年龄的样本人脸图像可用综合特征向量中的分段  The following is the maximum expected value (EM) algorithm for adapting the identity-age factor model described above: Input: Multiple segmentation of the face image with identity and age available. Segmentation in the integrated feature vector
Figure imgf000054_0002
Figure imgf000054_0002
输出为: 分段 q对应的可用综合特征子向量对应的身份 -年龄因子模型的模 型参数 :  The output is: Segment q Corresponding to the identity of the available integrated feature subvectors - Model parameters of the age factor model:
Θ q 二 ^ ^ q, U q, V q, ση q2} J Θ q 二^^ q, U q, V q, σ η q 2 } J
具体的, 可先初始化下面几个参数: Specifically, the following parameters can be initialized first:
2 0.1  2 0.1
Uq ^rand(-0AfiA) V ^rand(-0A,0A) 将初始化的
Figure imgf000055_0001
带入身份-年龄因子模型公式中, 求得
U q ^rand(-0AfiA) V ^rand(-0A,0A) Will be initialized
Figure imgf000055_0001
Brought into the identity-age factor model formula,
基于模型参数
Figure imgf000055_0002
计算隐形因子
Figure imgf000055_0003
Model based parameters
Figure imgf000055_0002
Computational invisibility factor
Figure imgf000055_0003
其中,  among them,
Figure imgf000055_0004
Figure imgf000055_0004
~l T l ~ l T l
Figure imgf000055_0005
3 ) 3 )
Figure imgf000055_0005
3) 3)
Figure imgf000056_0001
Figure imgf000056_0001
T T
其中,
Figure imgf000056_0002
among them,
Figure imgf000056_0002
T T
C = a i + UqU C = ai + U q U
Figure imgf000056_0003
其中, 上述 Nci表示训练样本人脸图像中, 身份标识为 i的样本人脸图像的 个数, 上述 Nsk表示训练样本人脸图像中, 年龄为 k的样本人脸图像的个数。
Figure imgf000056_0003
Wherein, N ci represents the number of sample face images whose identity is i in the training sample face image, and N sk represents the number of sample face images of age k in the training sample face image.
进一步基于计算出的隐形因子 更新模型参数
Figure imgf000056_0004
σ q 2 U和 q 其中,
Further updating the model parameters based on the calculated stealth factor
Figure imgf000056_0004
σ q 2 U and q where,
U q =iC-DB lE)iA-FB lE U q =iC-DB l E)iA-FB l E
Figure imgf000057_0001
Figure imgf000057_0001
Figure imgf000058_0001
Figure imgf000058_0001
Figure imgf000058_0002
其中, 上述 N表示样本人脸图像的总个数, d是样本本人脸图像的可用综 合特征向量的分度 q对应的可用综合特征子向量的长度。
Figure imgf000058_0002
Wherein, the above N represents the total number of sample face images, and d is the length of the available integrated feature sub-vector corresponding to the index q of the available integrated feature vector of the sample face image.
基于上述方式, 利用 Z个样本人脸图像对应的可用综合特征向量之中分段 q对应的可用综合特征子向量多次求取参数 σς
Figure imgf000058_0003
, 直到收敛为 止。 其中, 通过上述算法可较准确地计算出上述分段 q对应的可用综合特征子 向 量 对 应 的 身 份 - 年 龄 因 子 模 型 的 模 型 参 数 θη = {β , U q, V , aQ 2 }
Based on the above method, the available eigenvector vector corresponding to the segment q among the available integrated feature vectors corresponding to the Z sample face images is used to obtain the parameter σ多次 multiple times.
Figure imgf000058_0003
Until the convergence. The model parameter θ η = {β , U q , V , a Q 2 } of the identity-age factor model corresponding to the available integrated feature sub-vector corresponding to the segment q can be calculated more accurately by the above algorithm.
q q q q q 。 当然, 亦可通过其它方式训练得到 q qqqq . Of course, you can also train in other ways.
Θ ={Α, UQ, V, σ。2} Θ ={Α, U Q , V, σ. 2 }
模型参数 q q q q q 的具体取值。 并不限于上述举例的 训练方法。通过上述举例的方式, 亦可得到其它分段对应的可用综合特征子向 量对应的身份 -年龄因子模型的模型参数。 为便于更好的理解和实施本发明实施例的上述方案,下面还提供用于实施 上述方案的相关装置。 参见图 5, 本发明实施例提供一种图像身份识别装置 500, 可包括: 提取单元 510、 计算单元 520、 匹配单元 530和输出单元 540。 The specific value of the model parameter qqqqq . It is not limited to the training method exemplified above. Through the above-exemplified manner, the model parameters of the identity-age factor model corresponding to the available integrated feature sub-vectors corresponding to other segments may also be obtained. In order to facilitate a better understanding and implementation of the above described embodiments of the embodiments of the present invention, related apparatus for implementing the above aspects are also provided below. Referring to FIG. 5, an embodiment of the present invention provides an image identity recognition apparatus 500, which may include: The extracting unit 510, the calculating unit 520, the matching unit 530, and the output unit 540.
其中, 提取单元 510, 用于对待识别的人脸图像进行特征提取处理以得到 所述待识别的人脸图像对应的可用综合特征向量, 其中, 所述可用综合特征向 量由用于描述所述待识别的人脸图像所对应人物的身份的身份因子和用于描 述所述待识别的人脸图像所对应人物的年龄的年龄因子共同确定, 其中, 所述 身份因子和所述年龄因子互不相关;  The extracting unit 510 is configured to perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the to-be-used The identity factor of the identity of the person corresponding to the recognized face image is determined together with an age factor for describing the age of the person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other. ;
计算单元 520, 基于所述待识别的人脸图像对应的可用综合特征向量计算 所述待识别的人脸图像所对应的身份特征向量;  The calculating unit 520 is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image;
匹配单元 530, 用于计算所述待识别的人脸图像对应的身份特征向量与 Z 个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Z为正整数;  The matching unit 530 is configured to calculate a similarity between the identity feature vector corresponding to the to-be-recognized face image and the identity feature vector corresponding to each sample face image in the Z sample face images, where the identity feature The vector is determined by an identity factor, and the Z is a positive integer;
输出单元 540, 用于输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人脸图像为所述 Z个样本人脸图像的子集, 所述匹配单元计算出所述 Z1个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份 特征向量的相似度, 大于所述 Z个样本人脸图像之中除所述 Z1个样本人脸图像 之外的其它样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应 的身份特征向量的相似度,或所述 Z1个样本人脸图像对应的身份特征向量与所 述待识别的人脸图像对应的身份特征向量的相似度大于设定阔值, 其中, 所述 输出的 Z1个样本人脸图像对应的身份信息为所述待识别的人脸图像对应的可 能身份信息。  The output unit 540 is configured to output identity information corresponding to the Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, and the matching unit calculates the Z1 The similarity between the identity feature vector corresponding to the sample face image and the identity feature vector corresponding to the face image to be recognized is greater than the Z sample face image among the Z sample face images. The similarity between the identity feature vector corresponding to the other face image of the sample and the identity feature vector corresponding to the face image to be recognized, or the identity feature vector corresponding to the Z1 sample face image and the person to be identified The similarity of the identity feature vector corresponding to the face image is greater than the set threshold. The identity information corresponding to the output Z1 sample face image is the possible identity information corresponding to the face image to be recognized.
在本发明的一些实施例中, 提取单元 510可具体用于, 对待识别的人脸图 像进行预处理;对进行预处理后的所述待识别的人脸图像进行特征提取处理以 得到所述待识别的人脸图像对应的可用综合特征向量。  In some embodiments of the present invention, the extracting unit 510 may be specifically configured to: perform pre-processing on the face image to be recognized; perform feature extraction processing on the pre-processed face image to obtain the The available integrated feature vector corresponding to the recognized face image.
在本发明的一些实施例中,在所述对进行预处理后的所述待识别的人脸图 像进行特征提取处理以得到所述待识别的人脸图像对应的可用综合特征向量 的方面, 提取单元 510可具体用于, 从进行预处理后的所述待识别的人脸图像 中提取原始综合特征向量,对提取到的所述原始综合特征向量进行降维处理以 得到所述待识别的人脸图像对应的可用综合特征向量。  In some embodiments of the present invention, performing feature extraction processing on the to-be-identified face image after the pre-processing is performed to obtain an aspect of the available integrated feature vector corresponding to the face image to be recognized, and extracting The unit 510 may be specifically configured to: extract an original integrated feature vector from the to-be-identified face image after the pre-processing, perform a dimensionality reduction process on the extracted original integrated feature vector to obtain the to-be-identified person The available composite feature vector corresponding to the face image.
在本发明的一些实施例中,所述原始综合特征向量或所述可用综合特征向 量基于梯度方向直方图得到。 In some embodiments of the invention, the original integrated feature vector or the available integrated feature The amount is obtained based on the gradient direction histogram.
在本发明的一些实施例中,所述待识别的人脸图像对应的可用综合特征向 量通过身份-年龄因子模型描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000060_0001
In some embodiments of the present invention, the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000060_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high~
斯白噪声, G Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 在本发明的一些实施例中, 计算单元 520具体用于, 通过如下方式, 基于 所述待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像 所对应的身份特征向量: White noise, G Ν (0 σ 2 ΐ), the X represents an identity factor, and y represents an age factor. In some embodiments of the present invention, the calculating unit 520 is specifically configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized. :
Figure imgf000060_0002
Figure imgf000060_0002
其中, 所述 1 表示所述身份特征向量, 其中, 所述
Figure imgf000060_0003
σ2/ + [/[/ +νν 。 在本发明的另一些实施例中,所述待识别的人脸图像对应的可用综合特征 向量通过身份 -年龄因子模型描述,
Figure imgf000061_0001
Wherein the 1 represents the identity feature vector, where
Figure imgf000060_0003
σ 2 / + [/[/ +νν . In other embodiments of the present invention, the available comprehensive features corresponding to the face image to be identified The vector is described by the identity-age factor model,
Figure imgf000061_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000061_0002
Wherein, the identity-age factor model is as follows:
Figure imgf000061_0002
其中, 所述  Wherein
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合  Wherein, the T 丄 represents the available integrated feature vector, and the n represents the available synthesis
T  T
特征向量的分段总数, 所述
Figure imgf000061_0003
表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000061_0004
表示所述
Figure imgf000061_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 4表示所述 q 对应的高斯白噪
Figure imgf000062_0001
在本发明的一些实施例中, 计算单元 520具体用于, 通过如下方式基于所 述待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所 对应的身份特征向量:
The total number of segments of the feature vector,
Figure imgf000061_0003
Representing the available integrated feature sub-vector corresponding to the segment q,
Figure imgf000061_0004
Indicates the stated
Figure imgf000061_0005
q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation The age factor corresponding to q, wherein the 4 represents the Gaussian white noise corresponding to the q
Figure imgf000062_0001
In some embodiments of the present invention, the calculating unit 520 is specifically configured to calculate, according to the available integrated feature vector corresponding to the face image to be recognized, an identity feature vector corresponding to the face image to be recognized:
Figure imgf000062_0002
中, 所述 q q .,
its
Figure imgf000062_0002
In the qq .,
其中,所述 表示所述身份特征向量,所述 J q 表示所述 的分段 q对应的身份特征向量。 在本发明的一些实施例中,所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 通过 所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本 人脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿距离来表征。 The representation represents the identity feature vector, and the J q represents an identity feature vector corresponding to the segment q. In some embodiments of the present invention, the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images is determined by the The identity feature vector corresponding to the recognized face image is represented by a cosine distance or an Euclidean distance or a Manhattan distance of the identity feature vector corresponding to each sample face image in the Z sample face images.
可以理解的是,本实施例的装置的各功能模块的功能可根据上述方法实施 例中的方法具体实现, 其具体实现过程可以参照上述方法实施例的相关描述, 此处不再赘述。 It can be understood that the functions of the functional modules of the apparatus of this embodiment can be implemented according to the above method. The method in the example is specifically implemented, and the specific implementation process may refer to the related description of the foregoing method embodiment, and details are not described herein again.
可以看出,本实施例中利用互不相关的身份因子和年龄因子来共同确定待 识别的人脸图像的可用综合特征向量,并基于上述待识别的人脸图像对应的可 用综合特征向量计算上述待识别的人脸图像所对应的由身份因子确定的身份 特征向量, 计算上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图 像中的每个样本人脸图像所对应身份特征向量的相似度, 并将 Z个样本人脸图 像之中,与上述待识别的人脸图像对应的身份特征向量的相似度满足要求的 Z1 个样本人脸图像对应的身份信息,作为上述待识别的人脸图像对应的可能身份 信息进行输出。由于是利用互不相关的身份因子和年龄因子来共同确定待识别 的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可用综合 特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别的人脸 图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影响,进而 有利于提高图像身份识别的准确性和通用性,进而有利于尽可能满足更多种应 用场景的需求。 参见图 6, 本发明实施例还提供一种模型训练装置 600, 包括:  It can be seen that, in this embodiment, the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above. Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vectors corresponding to the face image to be recognized among the Z sample face images satisfies the required identity information of the Z1 sample face images, as the above-mentioned to be identified The face image corresponds to the possible identity information for output. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios. Referring to FIG. 6, an embodiment of the present invention further provides a model training apparatus 600, including:
获取单元 610和训练单元 620。  The unit 610 and the training unit 620 are acquired.
获取单元 610, 用于获取 Z个样本人脸图像对应的可用综合特征向量。 训练单元 620, 用于利用所述 Z个样本人脸图像对应的可用综合特征向量 对身份 -年龄因子模型进行训练, 以确定所述身份-年龄因子模型的模型参数; 其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  The obtaining unit 610 is configured to obtain an available integrated feature vector corresponding to the Z sample face images. The training unit 620 is configured to train the identity-age factor model by using the available integrated feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model; wherein the available comprehensive features are The vector is described by the identity-age factor model,
Figure imgf000063_0001
Figure imgf000063_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000064_0001
Wherein, the identity-age factor model is as follows:
Figure imgf000064_0001
其中, 所述
Figure imgf000064_0002
1, 2,
Wherein
Figure imgf000064_0002
1, 2,
其中, 所述 τ表示所述可用综合特征向量, 所述 η表示所述可用综合  Wherein τ represents the available integrated feature vector, and the η represents the available synthesis
\η Τ \ η Τ
特征向量的分段总数, 所述 ^ 表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000064_0003
表示所述
Figure imgf000064_0004
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所
a total number of segments of the feature vector, the ^ representing the available integrated feature subvector corresponding to the segment q,
Figure imgf000064_0003
Indicates the stated
Figure imgf000064_0004
q corresponding sample feature average, wherein the identifier corresponding to the q corresponds to the identity factor, the representation
' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪 其中, 所述
Figure imgf000065_0001
的分段 q对应的可用综合特征子向量对应的身份 -年龄因
' q corresponds to an age factor, where q represents the Gaussian white noise corresponding to the t Wherein
Figure imgf000065_0001
The identity-age factor corresponding to the available comprehensive feature subvector corresponding to the segment q
Θ 二 {β , U , V, ση 2 } Θ two {β , U , V, σ η 2 }
子模型的模型参数 q q q q qThe model parameter qqqqq of the submodel .
在本发明的一些实施例中,所述可用综合特征向量基于梯度方向直方图得 可以理解的是,本实施例的装置的各功能模块的功能可根据上述方法实施 例中的方法具体实现, 其具体实现过程可以参照上述方法实施例的相关描述, 此处不再赘述。  In some embodiments of the present invention, the available integrated feature vector is based on the gradient direction histogram. It can be understood that the functions of the functional modules of the device in this embodiment can be specifically implemented according to the method in the foregoing method embodiment. For a specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份 -年龄因子模型描述, 其中, 上述身份-年龄因子模型如下:  It can be seen that the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows:
Figure imgf000065_0002
, 由于
Figure imgf000065_0002
Due to
6Q = {β , U q, V , aQ 2 } 身份 -年龄因子模型的模型参数 qq q q ^ ,因此 利用 z个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模 6 Q = {β , U q , V , a Q 2 } The model parameters q and qqq ^ of the identity-age factor model, so the identity-age factor model can be used for the above-mentioned identity-age factor model using the available comprehensive feature vectors corresponding to the z sample face images.
Θ 二 {β , U , V, ση 2 } Θ two {β , U , V, σ η 2 }
型进行训练以确定模型参数 q q q q q 的取值, 训练好的各分段对应的身份-年龄因子模型能够为任何待识别的人脸图像的识 别奠定良好基础。其中, 由于利用互不相关的身份因子和年龄因子来共同确定 待识别的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可 用综合特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别 的人脸图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影 响, 进而有利于提高图像身份识别的准确性和通用性, 进而有利于尽可能满足 更多种应用场景的需求。 The type is trained to determine the value of the model parameter qqqqq , and the identity-age factor model corresponding to each segment trained can lay a good foundation for the recognition of any face image to be recognized. Wherein, since the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized. The feature is stripped out, which is beneficial to eliminate the influence of the age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. As much as possible More kinds of application scenarios.
参见图 7, 本发明实施例还提供另一种模型训练装置 700, 可包括: 获取单元 710, 用于获取 Z个样本人脸图像对应的可用综合特征向量; 训练单元 720, 用于利用所述 Z个样本人脸图像对应的可用综合特征向量 对身份 -年龄因子模型进行训练, 以确定所述身份 -年龄因子模型的模型参数, 其中, 所述可用综合特征向量通过身份-年龄因子模型描述,  Referring to FIG. 7, an embodiment of the present invention further provides another model training apparatus 700, which may include: an obtaining unit 710, configured to acquire an available integrated feature vector corresponding to a Z sample face image; and a training unit 720, configured to use the The identity-age factor model is trained by the available comprehensive feature vectors corresponding to the Z sample face images to determine model parameters of the identity-age factor model, wherein the available integrated feature vectors are described by an identity-age factor model.
其中, 所述身份-年龄因子模型如下:
Figure imgf000066_0001
Wherein, the identity-age factor model is as follows:
Figure imgf000066_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, wherein the representation is high
斯白噪声, G 〜 Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ }。 White noise, G 〜 Ν (0 σ 2 ΐ), the X represents an identity factor, and y represents an age factor, wherein the model parameters are υ, V, σ }.
在本发明的一些实施例中,所述可用综合特征向量基于梯度方向直方图得 可以理解的是,本实施例的装置的各功能模块的功能可根据上述方法实施 例中的方法具体实现, 其具体实现过程可以参照上述方法实施例的相关描述, 此处不再赘述。  In some embodiments of the present invention, the available integrated feature vector is based on the gradient direction histogram. It can be understood that the functions of the functional modules of the device in this embodiment can be specifically implemented according to the method in the foregoing method embodiment. For a specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份 -年龄因子模型描述, 其中, 上述身份-年龄因子模型如下:
Figure imgf000067_0001
由于 身份 -年龄因子模型的模型参数 ^— {^ U, , °" }, 因此利用2 个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模型进行 训练以确定模型参数 ^―、 , υ, V, σ }的取值,训练好的身份 -年龄因子模型能够为任何待识别的人脸图像的识别奠定良好基础。 其中, 由 于利用互不相关的身份因子和年龄因子来共同确定待识别的人脸图像的可用 综合特征向量,因此有利于将待识别的人脸图像的可用综合特征向量中包含的 与身份相关的特征剥离出来,进而有利于剔除待识别的人脸图像的可用综合特 征向量中包含的与年龄相关的特征对身份识别的影响,进而有利于提高图像身 份识别的准确性和通用性, 进而有利于尽可能满足更多种应用场景的需求。
It can be seen that the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows:
Figure imgf000067_0001
Because of the model parameter ^- {^ U, , °" } of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , υ, V, σ }, the trained identity-age factor model can lay a good foundation for the recognition of any facial image to be recognized. Among them, because of the use of mutually unrelated identity factors and age factors Determining the available integrated feature vector of the face image to be recognized, thereby facilitating the stripping of the identity-related features included in the available integrated feature vector of the face image to be recognized, thereby facilitating the removal of the face image to be recognized. The influence of the age-related features included in the integrated feature vector on the identity recognition can be used to improve the accuracy and versatility of the image identification, and thus to meet the needs of more application scenarios as much as possible.
参见图 8, 本发明实施例还提供一种身份识别系统, 可包括:  Referring to FIG. 8, an embodiment of the present invention further provides an identity recognition system, which may include:
客户端 810和身份识别服务器 820。  Client 810 and identity server 820.
客户端 810, 用于向身份识别服务器 820发送待识别的人脸图像; 其中, 身份识别服务器 820, 用于接收来自客户端 810的所述待识别的人脸 图像,对所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图 像对应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描述所述待 识别的人脸图像所对应人物的身份的身份因子和用于描述所述待识别的人脸 图像所对应人物的年龄的年龄因子共同确定, 其中, 所述身份因子和所述年龄 因子互不相关;基于所述待识别的人脸图像对应的可用综合特征向量计算所述 待识别的人脸图像所对应的身份特征向量;计算所述待识别的人脸图像对应的 身份特征向量与 Ζ个样本人脸图像中的每个样本人脸图像所对应身份特征向量 的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Ζ为正整数; 想所 述客户端输出 Zl个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人脸 图像为所述 Z个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特征 向量与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 Z个样 本人脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的身 份特征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Z1 个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份特 征向量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的身 份信息为所述待识别的人脸图像对应的可能身份信息。 a client 810, configured to send a face image to be identified to the identity recognition server 820, where the identity recognition server 820 is configured to receive the image of the face to be recognized from the client 810, for the person to be identified The face image is subjected to feature extraction processing to obtain an available integrated feature vector corresponding to the face image to be recognized, wherein the available integrated feature vector is used to describe the identity of the person corresponding to the face image to be recognized. The factor is determined together with an age factor for describing an age of a person corresponding to the face image to be recognized, wherein the identity factor and the age factor are not related to each other; based on the face image to be recognized Calculating an identity feature vector corresponding to the face image to be recognized by using the integrated feature vector; calculating an identity feature vector corresponding to the face image to be recognized and each sample face image in the sample face image Corresponding to the similarity of the identity vector, wherein the identity feature vector is determined by an identity factor, and the Ζ is a positive integer; The client outputs Z1 sample face images corresponding to the identity information, where the Z1 sample face images are subsets of the Z sample face images, and the Z1 sample face images correspond to the identity features. The similarity between the vector and the identity feature vector corresponding to the face image to be identified is greater than the identity of the other sample face images other than the Z1 sample face images among the Z sample face images. a similarity between the feature vector and the identity feature vector corresponding to the face image to be recognized, or an identity feature vector corresponding to the Z1 sample face image and an identity feature vector corresponding to the face image to be recognized The degree is greater than the set threshold, and the identity information corresponding to the output Z1 sample face images is the possible identity information corresponding to the face image to be identified.
在本发明的一些实施例中,所述待识别的人脸图像对应的可用综合特征向 量通过身份-年龄因子模型描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000068_0001
In some embodiments of the present invention, the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model, wherein the identity-age factor model is as follows:
Figure imgf000068_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 Wherein, the ^ represents the available integrated feature vector, the ^ represents a sample feature average, the U represents an identity factor coefficient, and the V represents an age factor coefficient, and the representation is high
斯白噪声, G 〜 Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 在本发明的一些实施例中,在所述基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量的方面,所述 身份识别服务器具体用于,通过如下方式,基于所述待识别的人脸图像对应的 可用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量:
Figure imgf000069_0001
其中, 所述 表示所述身份特征向量,
White noise, G 〜 Ν (0 σ 2 ΐ), the X represents an identity factor, and y represents an age factor. In some embodiments of the present invention, the identity recognition server is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image. Specifically, the identifier feature vector corresponding to the face image to be recognized is calculated based on the available integrated feature vector corresponding to the face image to be identified:
Figure imgf000069_0001
Wherein the representation of the identity feature vector,
其中, 所述
Figure imgf000069_0002
σ2/ + [/ +νν
Wherein
Figure imgf000069_0002
σ 2 / + [/ + νν
在本发明的一些实施例中,所述待识别的人脸图像对应的可用综合特征向 量通过身份-年龄因子模型描述,
Figure imgf000069_0003
In some embodiments of the present invention, the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
Figure imgf000069_0003
其中, 所述身份-年龄因子模型如下:  Wherein, the identity-age factor model is as follows:
Figure imgf000069_0004
Figure imgf000069_0004
其中, 所述 T表示所述可用综合特征向量, 所述 n表示所述可用综合  Wherein the T represents the available integrated feature vector, and the n represents the available synthesis
特征向量的分段总数, 所述
Figure imgf000069_0005
q 表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000070_0001
表示所述
Figure imgf000070_0002
q 对应的样本特征平均
The total number of segments of the feature vector,
Figure imgf000069_0005
q represents the available comprehensive features corresponding to the segment q Collector vector, said
Figure imgf000070_0001
Indicates the stated
Figure imgf000070_0002
q corresponding sample feature average
值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 a value, where the identifier represents an identity factor corresponding to the q, the representation
' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪
Figure imgf000070_0003
' q corresponds to an age factor, where q represents the Gaussian white noise corresponding to the t
Figure imgf000070_0003
在本发明的一些实施例中,在所述基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量的方面,所述 身份识别服务器具体用于,通过如下方式基于所述待识别的人脸图像对应的可 用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量:  In some embodiments of the present invention, the identity recognition server is configured to calculate an identity feature vector corresponding to the to-be-recognized face image based on the available integrated feature vector corresponding to the to-be-identified face image. Specifically, the identifier feature vector corresponding to the to-be-recognized face image is calculated based on the available integrated feature vector corresponding to the to-be-recognized face image:
Figure imgf000070_0004
所述 q q
Figure imgf000071_0001
Figure imgf000070_0004
The qq
Figure imgf000071_0001
其中,所述 F表示所述身份特征向量,所述
Figure imgf000071_0002
的分段 q对应的身份特征向量。 可以理解的是,本实施例的装置的各功能模块的功能可根据上述方法实施 例中的方法具体实现, 其具体实现过程可以参照上述方法实施例的相关描述, 此处不再赘述。
Wherein F represents the identity feature vector,
Figure imgf000071_0002
The segmentation q corresponds to the identity feature vector. It is to be understood that the functions of the functional modules of the device in this embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein again.
可以看出,本实施例中是身份识别服务器利用互不相关的身份因子和年龄 因子来共同确定待识别的人脸图像的可用综合特征向量,并基于上述待识别的 人脸图像对应的可用综合特征向量计算上述待识别的人脸图像所对应的由身 份因子确定的身份特征向量,计算上述待识别的人脸图像对应的身份特征向量 与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 并 将 Z个样本人脸图像之中, 与上述待识别的人脸图像对应的身份特征向量的相 似度满足要求的 Z 1个样本人脸图像对应的身份信息,作为上述待识别的人脸图 像对应的可能身份信息进行输出。由于是利用互不相关的身份因子和年龄因子 来共同确定待识别的人脸图像的可用综合特征向量,因此有利于将待识别的人 脸图像的可用综合特征向量中包含的与身份相关的特征剥离出来,进而有利于 剔除待识别的人脸图像的可用综合特征向量中包含的与年龄相关的特征对身 份识别的影响, 进而有利于提高图像身份识别的准确性和通用性, 进而有利于 尽可能满足更多种应用场景的需求。 参见图 9, 图 9描述了本发明实施例提供的身份识别设备 900的结构, 该身 份识别设备 900包括: 至少一个处理器 901, 例如 CPU, 至少一个网络接口 904或者其他用户接口 903, 存储器 905, 至少一个通信总线 902。 通信总线 902用于实现这些组件之间的连接通信。 身份识别设备 900可选的包含用户 接口 903, 包括显示器, 键盘或点击设备(如鼠标, 轨迹球( trackball ), 触 感板或者触感显示屏)。 存储器 905可能包含高速 RAM存储器, 当然也还可 能还包括非不稳定的存储器 (non-volatile memory ), 例如至少一个磁盘存 储器。 存储器 905可选的可以包含至少一个位于远离前述处理器 901的存储 装置。 It can be seen that, in this embodiment, the identity identification server uses the mutually unrelated identity factors and age factors to jointly determine the available integrated feature vector of the face image to be recognized, and based on the available synthesis corresponding to the face image to be identified. The feature vector calculates an identity feature vector determined by the identity factor corresponding to the face image to be identified, and calculates an identity feature vector corresponding to the face image to be recognized and each sample face image in the Z sample face images The similarity of the corresponding identity feature vector, and the similarity of the identity feature vector corresponding to the face image to be recognized among the Z sample face images satisfies the identity information corresponding to the required Z 1 sample face image And outputting as the possible identity information corresponding to the face image to be identified. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios. Referring to FIG. 9, FIG. 9 illustrates the structure of an identity recognition device 900 according to an embodiment of the present invention. The identity recognition device 900 includes: at least one processor 901, such as a CPU, at least one network interface 904 or other user interface 903, and a memory 905. At least one communication bus 902. Communication bus 902 is used to implement connection communication between these components. The identification device 900 optionally includes a user interface 903, including a display, a keyboard or a pointing device (eg, a mouse, a trackball, a touch Sensor board or touch screen display). The memory 905 may include a high speed RAM memory, and may of course also include a non-volatile memory such as at least one disk memory. The memory 905 can optionally include at least one storage device located remotely from the aforementioned processor 901.
在一些实施方式中, 存储器 905存储了如下的元素, 可执行模块或者数 据结构, 或者他们的子集, 或者他们的扩展集:  In some embodiments, memory 905 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
操作系统 9051, 包含各种系统程序, 用于实现各种基础业务以及处理 基于硬件的任务;  The operating system 9051, which contains various system programs for implementing various basic services and handling hardware-based tasks;
应用程序模块 9052, 包含各种应用程序, 用于实现各种应用业务。 应用程序模块 9052中包括但不限于提取单元 510、 计算单元 520、 匹配单 元 530和输出单元 540。  Application module 9052, which contains various applications for implementing various application services. The application module 9052 includes, but is not limited to, an extracting unit 510, a calculating unit 520, a matching unit 530, and an output unit 540.
应用程序模块 9052中各模块的具体实现参见图 5所示实施例中的相应 模块, 在此不赘述。  For the specific implementation of each module in the application module 9052, refer to the corresponding modules in the embodiment shown in FIG. 5, and details are not described herein.
在本发明一些实施例中, 通过调用存储器 905存储的程序或指令, 处理 器 901可用于: 对待识别的人脸图像进行特征提取处理以得到上述待识别的人 脸图像对应的可用综合特征向量, 其中, 上述可用综合特征向量由用于描述上 述待识别的人脸图像所对应人物的身份的身份因子和用于描述上述待识别的 人脸图像所对应人物的年龄的年龄因子共同确定, 其中, 上述身份因子和上述 年龄因子互不相关。基于上述待识别的人脸图像对应的可用综合特征向量计算 上述待识别的人脸图像所对应的身份特征向量;计算上述待识别的人脸图像对 应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征 向量的相似度, 其中, 上述身份特征向量由身份因子确定, 上述 Z为正整数; 输出 Z1个样本人脸图像对应的身份信息 (其中, Z1个样本人脸图像中的每个 样本人脸图像对应的身份信息是可用于指示出该样本人脸图像所对应人物的 身份的任何信息 (如姓名、 身份证号、 身份证图片、 护照号和 /或护照图片等 等), 甚至可以是样本人脸图像本身 (若样本人脸图像用于指示出该样本人脸 图像所对应人物的身份)), 其中, 上述 Z1个样本人脸图像为上述 Z个样本人脸 图像的子集,上述 Z1个样本人脸图像对应的身份特征向量与上述待识别的人脸 图像对应的身份特征向量的相似度, 大于上述 Z个样本人脸图像之中除上述 Z1 个样本人脸图像之外的其它样本人脸图像对应的身份特征向量与上述待识别 的人脸图像对应的身份特征向量的相似度,或上述 Z1个样本人脸图像对应的身 份特征向量与上述待识别的人脸图像对应的身份特征向量的相似度大于设定 阔值。其中,上述输出的 Z1个样本人脸图像对应的身份信息为上述待识别的人 脸图像对应的可能身份信息。 In some embodiments of the present invention, by calling a program or an instruction stored in the memory 905, the processor 901 may be configured to: perform feature extraction processing on the face image to be recognized to obtain an available integrated feature vector corresponding to the face image to be identified, Wherein, the above-mentioned available integrated feature vector is jointly determined by an identity factor for describing the identity of the person corresponding to the face image to be identified, and an age factor for describing the age of the person corresponding to the face image to be recognized, wherein The above identity factors are not related to the above age factors. Calculating an identity feature vector corresponding to the face image to be recognized based on the available integrated feature vector corresponding to the face image to be identified; calculating an identity feature vector corresponding to the face image to be recognized and a Z sample face image The similarity of the identity feature vector corresponding to each sample face image, wherein the identity feature vector is determined by an identity factor, and the above Z is a positive integer; and the identity information corresponding to the Z1 sample face image is output (where Z1 samples) The identity information corresponding to each sample face image in the face image is any information (such as name, ID number, ID card picture, passport number, and/or) that can be used to indicate the identity of the person corresponding to the sample face image. a passport picture, etc.), or even a sample face image itself (if the sample face image is used to indicate the identity of the person corresponding to the sample face image), wherein the Z1 sample face images are the above Z a subset of the sample face image, the identity feature vector corresponding to the Z1 sample face image and the face image to be recognized Similarity identity feature vectors is larger than in the Z-sample addition to the face images Z1 The similarity between the identity feature vector corresponding to the sample face image other than the sample face image and the identity feature vector corresponding to the face image to be recognized, or the identity feature vector corresponding to the Z1 sample face image and the above The similarity of the identity feature vector corresponding to the face image to be identified is greater than the set threshold. The identity information corresponding to the Z1 sample face images outputted above is the possible identity information corresponding to the face image to be identified.
其中, 可通过多种可能的特征提取处理方式,对待识别的人脸图像进行特 征提取处理以得到上述待识别的人脸图像对应的可用综合特征向量。在本发明 一些可能的应用场景中,上述可用综合特征向量例如可基于梯度方向直方图或 其它方式来得到。  The feature image may be extracted by the plurality of possible feature extraction processing modes to obtain the available integrated feature vector corresponding to the face image to be identified. In some possible application scenarios of the present invention, the above-described available integrated feature vector can be obtained, for example, based on a gradient direction histogram or other means.
在本发明一些可能的应用场景中,上述对待识别的人脸图像进行特征提取 处理以得到上述待识别的人脸图像对应的可用综合特征向量, 可以包括: 对待 识别的人脸图像进行预处理(预处理可以包括几何校正、 修剪和 /或归一化处 理等); 对进行预处理后的上述待识别的人脸图像进行特征提取处理以得到上 述待识别的人脸图像对应的可用综合特征向量。 当然,如果获得的待识别的人 脸图像已经符合了直接进行特征提取的相关要求,则亦可省略对待识别的人脸 图像进行预处理的步骤。在本发明的一些实施例中,原始综合特征向量例如可 基于梯度方向直方图或基于其它方式来得到。  In some possible application scenarios of the present invention, performing feature extraction processing on the face image to be recognized to obtain the available integrated feature vector corresponding to the face image to be identified may include: preprocessing the face image to be recognized ( The pre-processing may include geometric correction, trimming, and/or normalization processing, etc.; performing feature extraction processing on the face image to be recognized after the pre-processing to obtain the available integrated feature vector corresponding to the face image to be recognized . Of course, if the obtained face image to be recognized has already met the relevant requirements for direct feature extraction, the step of pre-processing the face image to be recognized may also be omitted. In some embodiments of the invention, the original integrated feature vector may be derived, for example, based on a gradient direction histogram or based on other means.
在本发明一些可能的应用场景中,上述对进行预处理后的上述待识别的人 脸图像进行特征提取处理以得到上述待识别的人脸图像对应的可用综合特征 向量, 可以包括: 从进行预处理后的上述待识别的人脸图像中提取原始综合特 征向量,对提取到的上述原始综合特征向量进行降维处理以得到上述待识别的 人脸图像对应的可用综合特征向量。 其中, 降维处理的方式可例如可以是 PCA+LDA的的降维处理方式。 可以理解, 降维处理的主要目的是降低计算复 杂度,如果具有足够的计算能力来支持, 当然亦可不执行对提取到的上述原始 综合特征向量进行降维处理的步骤,例如可直接将提取到的原始综合特征向量 作为上述待识别的人脸图像对应的可用综合特征向量。  In some possible application scenarios of the present invention, performing the feature extraction process on the pre-processed face image to obtain the available integrated feature vector corresponding to the face image to be recognized may include: The original integrated feature vector is extracted from the processed face image to be recognized, and the extracted original integrated feature vector is subjected to dimensionality reduction processing to obtain an available integrated feature vector corresponding to the face image to be recognized. The manner of the dimensionality reduction processing may be, for example, a dimensionality reduction processing method of the PCA+LDA. It can be understood that the main purpose of the dimensionality reduction processing is to reduce the computational complexity. If there is sufficient computing power to support, of course, the step of performing the dimensionality reduction processing on the extracted original integrated feature vector may not be performed, for example, the extraction may be directly performed. The original integrated feature vector is used as the available integrated feature vector corresponding to the face image to be identified.
在本发明一些可能的应用场景中,上述待识别的人脸图像对应的可用综合 特征向量通过身份-年龄因子模型描述。  In some possible application scenarios of the present invention, the available integrated feature vector corresponding to the face image to be identified is described by an identity-age factor model.
出于简化和稳定性等方面的考虑, 身份 -年龄因子模型例如可釆用线性模 型进行表达。 并且,年龄特征向量和身份特征向量可以认为是分别由年龄因子 和身份因子通过线性变换得到。 For the sake of simplicity and stability, the identity-age factor model can use, for example, a linear model. Type is expressed. Moreover, the age feature vector and the identity feature vector can be considered to be obtained by linear transformation from the age factor and the identity factor, respectively.
其中, 上述身份-年龄因子模型例如可如下:
Figure imgf000074_0001
Wherein, the above identity-age factor model can be as follows:
Figure imgf000074_0001
其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数, 上述 表示高 Wherein, the above ^ represents the above-mentioned available integrated feature vector, the above ^ represents the sample feature average value, the above U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above represents high
斯白噪声, G 〜 Ν I (0 σ2ΐ),上述 X^ 表示身份因子,上述 y 表 示年龄因子。 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综合特征 White noise, G ~ Ν I (0 σ 2 ΐ), the above X^ represents the identity factor, and the above y represents the age factor. Based on the above identity-age factor model, it can be seen that any available features corresponding to any face image
T U X V y T U X V y
都由下面三个部分组成: 身份信息 、 年龄信息 和噪  They are composed of the following three parts: identity information, age information, and noise.
。其中, 依赖于人脸图像所对应人物的身份, 可认为 不 随着人物年龄进行变化,
Figure imgf000074_0002
依赖于人脸图像 所对应人物的年龄, 可用于进行人物年龄估计。
. Among them, depending on the identity of the person corresponding to the face image, it can be considered that it does not change with the age of the person.
Figure imgf000074_0002
Depending on the age of the person corresponding to the face image, it can be used to estimate the age of the person.
其中, 描述任何人脸图像对应的可用综合特征向量 T丄 的身份-年龄因 子模型都具有相同的模型参数 9一、 β, U, V, °" }。 可利用 个样本人脸图像对应的可用综合特征向量对上述身份-年龄因子模型进行训 Wherein, the identity-age factor model describing the available integrated feature vector T丄 corresponding to any face image has the same model parameters 9-1, β, U, V, °" }. The above-mentioned identity-age factor model is trained by the available comprehensive feature vectors corresponding to the sample face images.
Θ二 {β, U, σ2} 练,以确定上述身份 -年龄因子模型的模型参数 Θ2{β, U, σ 2 } practice to determine the model parameters of the above identity-age factor model
的取值。 其中,基于上述可能的应用场景, 上述基于上述待识别的人脸图像对应的 可用综合特征向量计算上述待识别的人脸图像所对应的身份特征向量,具体可 以包括: 通过如下方式,基于上述待识别的人脸图像对应的可用综合特征向量 计算上述待识别的人脸图像所对应的身份特征向量: The value. The calculating the identity feature vector corresponding to the to-be-recognized face image based on the available comprehensive feature vector corresponding to the face image to be identified, based on the foregoing possible application scenario, may specifically include: The available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
F 二F II
Figure imgf000075_0001
Figure imgf000075_0001
其中, 上述 1 示上述身份特征向量, 其中, 上述
Figure imgf000075_0002
其中, 身份因子 *^的预测分布如下:
Figure imgf000075_0003
Wherein, the above 1 indicates the above identity feature vector, wherein
Figure imgf000075_0002
Among them, the predicted distribution of the identity factor *^ is as follows:
Figure imgf000075_0003
因此,  Therefore,
Figure imgf000075_0004
在本发明另一些可能的应用场景中,上述待识别的人脸图像对应的可用综 合特征向量通过身份 -年龄因子模型描述,
Figure imgf000076_0001
Figure imgf000075_0004
In other possible application scenarios of the present invention, the available comprehensive feature vector corresponding to the face image to be identified is described by an identity-age factor model.
Figure imgf000076_0001
其中, 上述身份-年龄因子模型如下:
Figure imgf000076_0002
Among them, the above identity-age factor model is as follows:
Figure imgf000076_0002
其中, 上述  Among them, the above
T表示上述可用综合特征向量, 上述 n表示上述可用综合 特征向量的分段总数(即,
Figure imgf000076_0003
被划分为等长度或不等长 度的
Figure imgf000076_0004
T represents the above-mentioned available integrated feature vector, and the above n represents the total number of segments of the available integrated feature vector (ie,
Figure imgf000076_0003
Divided into equal lengths or unequal lengths
Figure imgf000076_0004
n个分段, 每个分段对应一个可用综合特征子向量, 包括 n个分段对 应的可用综合特征子向量, 即
Figure imgf000076_0005
包括 n个可用综合特征子向量), ta T u \a q 表示丄 的分段 q对应的可用综合特征子向量。上述 表示 q
n segments, each segment corresponding to an available integrated feature sub-vector, including the available integrated feature sub-vectors corresponding to n segments, ie
Figure imgf000076_0005
Including n available integrated feature sub-vectors, t a T u \ a q represents the available integrated feature sub-vectors corresponding to the segment q of the 丄. The above represents q
V ta β 对应的身份因子系数。 上述 表示 q 对应的年龄因子系数, 上述 ^ q 表示 4 对应的样本特征平均值。其中,上述 表示 4 对应的身份
Figure imgf000077_0001
The identity factor coefficient corresponding to V t a β. The above represents the age factor coefficient corresponding to q, the above ^ q Represents the average of the sample characteristics corresponding to 4. Wherein, the above indicates the identity corresponding to 4
Figure imgf000077_0001
表示 q 对应的年龄因子, 其中, 上述 表示  Indicates the age factor corresponding to q, where
斯白噪声, s q 〜 ( White noise, s q ~ (
对应的高 0, cr 2/)。 其中, 对应的模型 Corresponding height 0, cr 2 /). Where the corresponding model
Θ 二 , U , V, ση 2 } Θ 2, U , V, σ η 2 }
参数 q q q q , 即, 用于描述可用综合特征向 The parameter qqqq , ie, is used to describe the available comprehensive features
Figure imgf000077_0002
的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数
the amount
Figure imgf000077_0002
The model parameter of the identity-age factor model of the available comprehensive feature subvector corresponding to the segmentation q
Θ, = β^ uq, Vg, }。 其中, 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综 Θ, = β^ u q , V g , }. Among them, based on the above-identity-age factor model, it can be seen that any face image corresponding to the available comprehensive
合特征向量
Figure imgf000077_0003
都由下面三个部
Feature vector
Figure imgf000077_0003
All by the following three departments
Ua xa v y ε 分组成: 身份信息 q q、 年龄信息 q 和噪声 。 U a x a vy ε is divided into: identity information qq , age information q and noise.
U X U X U X U X
其中, q 依赖于人脸图像所对应人物的身份, 可认为 q q Where q depends on the identity of the person corresponding to the face image, which can be considered qq
V y V y
不随着人物年龄进行变化,可用于进行人物身份识别。 q 依赖于人脸图 像所对应人物的年龄, 可用于进行对应人物年龄的估计。 可以理解, 上述举例中以对分段从 1到 n顺序编号为例来进行描述的, 当然 在实际应用中也可不按照顺序对各分段进行编号。 It does not change with the age of the person and can be used for character identification. q depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person. It can be understood that the above examples are described by taking the sequence of numbers from 1 to n as an example. Of course, in actual applications, each segment may be numbered out of order.
其中, 描述任何人脸图像对应的可用综合特征向量 T 所包含的分段 q Wherein, the segment included in the available integrated feature vector T corresponding to any face image is described q
对应的可用综合特征子向量 q 的身份-年龄因子模型都具有相同的模型参 The identity-age factor models of the corresponding available feature eigenvectors q all have the same model parameters.
Θ 二 {β , U , V, ση 2 } Θ two {β , U , V, σ η 2 }
q q q q q 。 可利用多个样本人脸图像对应的 可用综合特征向量对上述身份 -年龄因子模型进行训练, 以确定上述身份 -年龄 eQ = {β , U q, V , aQ 2 } q qqqq . The above-described identity-age factor model can be trained using the available comprehensive feature vectors corresponding to the plurality of sample face images to determine the above-identity-age e Q = {β , U q , V , a Q 2 }
因子模型的模型参数 q q q q q 的取值, 对于用 于描述每个分段对应的可用综合特征向量的身份-年龄因子模型所具有的模型 参数的取值均可按照上述举例方式来确定。 其中,基于上述另一些可能的应用场景, 上述基于上述待识别的人脸图像 对应的可用综合特征向量计算上述待识别的人脸图像所对应的身份特征向量 可包括: 通过如下方式,基于上述待识别的人脸图像对应的可用综合特征向量 计算上述待识别的人脸图像所对应的身份特征向量: The value of the model parameter qqqqq of the factor model, the value of the model parameter possessed by the identity-age factor model for describing the available integrated feature vector corresponding to each segment can be determined according to the above exemplary manner. The calculating the identity feature vector corresponding to the face image to be recognized based on the available integrated feature vector corresponding to the face image to be identified may include: based on the foregoing manner, based on the foregoing other possible application scenarios, The available feature vector corresponding to the recognized face image is used to calculate the identity feature vector corresponding to the face image to be identified:
Figure imgf000078_0001
其中, 上述
Figure imgf000079_0001
Figure imgf000078_0001
Among them, the above
Figure imgf000079_0001
其中,上述
Figure imgf000079_0002
表示上述身份特征向量,上述 f q 表示上述
Among them, the above
Figure imgf000079_0002
Representing the above identity feature vector, the above fq represents the above
的分段 q对应的身份特征向量。 其中, 1 由 n个分段 q对应的身份特征向量 组成 The segmentation q corresponds to the identity feature vector. Where 1 consists of an identity feature vector corresponding to n segments q
X q X q
其中, 身份因子的 预测分布如下:
Figure imgf000079_0003
Among them, the predicted distribution of identity factors is as follows:
Figure imgf000079_0003
因此,  Therefore,
Figure imgf000079_0004
Figure imgf000079_0004
在本发明的一些可能的应用场景中,上述待识别的人脸图像对应的身份特 征向量与 z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的相似 度, 例如通过上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像 中的每个样本人脸图像所对应身份特征向量的余弦距离或欧氏距离或曼哈顿 距离 (或能够表征两者相似度的其它参数)来表征。  In some possible application scenarios of the present invention, the similarity between the identity feature vector corresponding to the face image to be identified and the identity feature vector corresponding to each sample face image in the z sample face images, for example, by using the above The cosine distance or the Euclidean distance or the Manhattan distance (or the ability to characterize the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each sample face image in the Z sample face images Other parameters) to characterize.
举例来说, 可用如下公式求取两个身份特征向量对应的余弦距离: ► T I ► For example, the cosine distance corresponding to two identity feature vectors can be obtained by the following formula: ► TI ►
Figure imgf000080_0001
Figure imgf000080_0003
Figure imgf000080_0001
Figure imgf000080_0003
其中,
Figure imgf000080_0002
Jn 和身份特征向量 的余 弦距离。求取两个身份特征向量的欧氏距离或曼哈顿距离的方式此处不再具体 详细描述。 可以看出,本实施例中利用互不相关的身份因子和年龄因子来共同确定待 识别的人脸图像的可用综合特征向量,并基于上述待识别的人脸图像对应的可 用综合特征向量计算上述待识别的人脸图像所对应的由身份因子确定的身份 特征向量, 计算上述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图 像中的每个样本人脸图像所对应身份特征向量的相似度, 并将 Z个样本人脸图 像之中,与上述待识别的人脸图像对应的身份特征向量的相似度满足要求的 Z1 个样本人脸图像对应的身份信息,作为上述待识别的人脸图像对应的可能身份 信息进行输出。由于是利用互不相关的身份因子和年龄因子来共同确定待识别 的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可用综合 特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别的人脸 图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影响,进而 有利于提高图像身份识别的准确性和通用性,进而有利于尽可能满足更多种应 用场景的需求。 参见图 10, 图 10描述了本发明实施例的模型训练设备 1000的结构, 该模 型训练设备 1000包括: 至少一个处理器 1001, 例如 CPU, 至少一个网络接 口 1004或者其他用户接口 1003, 存储器 1005, 至少一个通信总线 1002。 通 信总线 1002用于实现这些组件之间的连接通信。 其中, 模型训练设备 1000 可选的包含用户接口 1003, 包括: 显示器, 键盘或点击设备 (如鼠标, 轨 迹球(trackball ), 触感板或者触感显示屏)。存储器 1005可能包含高速 RAM 存储器, 当然也还可能包括非不稳定的存储器 (non-volatile memory ), 例 如至少一个磁盘存储器。 存储器 1005可选的可以包含至少一个位于远离前 述处理器 1001的存储装置。
among them,
Figure imgf000080_0002
The cosine distance of Jn and the identity vector. The manner in which the Euclidean distance or Manhattan distance of two identity vector vectors is obtained is not described in detail herein. It can be seen that, in this embodiment, the mutually unrelated identity factors and age factors are used to jointly determine the available integrated feature vector of the face image to be recognized, and the above-mentioned comprehensive feature vector corresponding to the face image to be identified is used to calculate the above. Calculating an identity feature vector determined by an identity factor corresponding to the face image to be recognized, and calculating an identity feature corresponding to the face image to be recognized and an identity feature corresponding to each sample face image in the Z sample face images The similarity of the vector, and the similarity of the identity feature vectors corresponding to the face image to be recognized among the Z sample face images satisfies the required identity information of the Z1 sample face images, as the above-mentioned to be identified The face image corresponds to the possible identity information for output. Since the mutually different identity factors and age factors are used to jointly determine the available integrated feature vectors of the face image to be recognized, it is advantageous to identify the identity-related features included in the available integrated feature vector of the face image to be recognized. Stripping out, which is beneficial to eliminate the influence of age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby improving the accuracy and versatility of image identification, thereby facilitating It may meet the needs of more kinds of application scenarios. Referring to FIG. 10, FIG. 10 illustrates a structure of a model training device 1000 according to an embodiment of the present invention. The model training device 1000 includes: at least one processor 1001, such as a CPU, at least one network interface 1004 or other user interface 1003, and a memory 1005. At least one communication bus 1002. Communication bus 1002 is used to implement connection communication between these components. Among them, model training equipment 1000 An optional user interface 1003 is included, including: a display, a keyboard or a pointing device (such as a mouse, trackball, touchpad or tactile display). The memory 1005 may include a high speed RAM memory, and may of course also include a non-volatile memory such as at least one disk memory. The memory 1005 can optionally include at least one storage device located remotely from the aforementioned processor 1001.
在一些实施方式中, 存储器 1005存储了如下的元素, 可执行模块或者 数据结构, 或者他们的子集, 或者他们的扩展集:  In some embodiments, memory 1005 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
操作系统 10051, 包含各种系统程序, 用于实现各种基础业务以及处理 基于硬件的任务;  Operating system 10051, which contains various system programs for implementing various basic services and processing hardware-based tasks;
应用程序模块 10052, 包含各种应用程序, 用于实现各种应用业务。  The application module 10052 includes various applications for implementing various application services.
应用程序模块 10052中包括但不限于获取单元 610和训练单元 620。  The application module 10052 includes, but is not limited to, an acquisition unit 610 and a training unit 620.
应用程序模块 10052中各模块的具体实现参见图 6所示实施例中的相应模 块, 在此不赘述。  For the specific implementation of each module in the application module 10052, refer to the corresponding module in the embodiment shown in FIG. 6, and details are not described herein.
本发明一些实施例中, 通过调用存储器 1005存储的程序或指令, 处理器 1001可用于: 获取 Z个样本人脸图像对应的可用综合特征向量(当然, Z个样 本人脸图像对应的可用综合特征向量中的身份因子和年龄因子均已确定)利用 上述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进行训 练, 以确定上述身份-年龄因子模型的模型参数。  In some embodiments of the present invention, by calling a program or instruction stored in the memory 1005, the processor 1001 may be configured to: obtain an available integrated feature vector corresponding to the Z sample face images (of course, the available comprehensive features corresponding to the Z sample face images) The identity factor and the age factor in the vector have been determined. The identity-age factor model is trained using the available comprehensive feature vectors corresponding to the Z sample face images to determine the model parameters of the identity-age factor model described above.
其中, 上述可用综合特征向量通过身份-年龄因子模型描述,  Wherein, the above available comprehensive feature vector is described by an identity-age factor model,
其中,
Figure imgf000081_0001
among them,
Figure imgf000081_0001
其中, 上述身份-年龄因子模型如下:  Among them, the above identity-age factor model is as follows:
q = i βq + εq = i βq + ε
Figure imgf000081_0002
q 其中, 上述
Figure imgf000082_0001
1, 2,
Figure imgf000081_0002
q Among them, the above
Figure imgf000082_0001
1, 2,
Figure imgf000082_0002
表示上述可用综合特征向量, 上述 n表示上述可用综合
Figure imgf000082_0002
Representing the above-mentioned available comprehensive feature vector, the above n represents the above available synthesis
T T
特征向量的分段总数(即, 可用综合特征向量 被划分为等长度或不等长 度的 n个分段, 每个分段对应一个可用综合特征子向量, f丄 包括 n个分段对 应的可用综合特征子向量, 即
Figure imgf000082_0003
包括 n个可用综合特征子向量), ta T u ta q 表示 丄 的分段 q对应的可用综合特征子向量。上述 表示 q
The total number of segments of the feature vector (ie, the available feature vector is divided into n segments of equal length or unequal length, each segment corresponding to one available integrated feature subvector, f丄 including n segments corresponding to the available Integrated feature subvector, ie
Figure imgf000082_0003
Including n available integrated feature sub-vectors, t a T ut a q represents the available integrated feature sub-vectors corresponding to the segment q of the 丄. The above represents q
V ta β 对应的身份因子系数。 上述 q表示 q 对应的年龄因子系数, 上述^ q
Figure imgf000082_0004
The identity factor coefficient corresponding to V t a β. The above q represents the age factor coefficient corresponding to q, the above ^ q
Figure imgf000082_0004
表示 q 对应的样本特征平均值。其中,上述 表示 q 对应的身份
Figure imgf000082_0005
Represents the sample feature average corresponding to q. Where the above represents the identity corresponding to q
Figure imgf000082_0005
表示 q 对应的年龄因子, 其中, 上述 表示  Indicates the age factor corresponding to q, where
s 〜 (0 cr 2/) s ~ (0 cr 2 /)
对应的高斯白噪声, q , 。 其中, 对应的模型 Θ 二 , U , V, ση 2 } Corresponding Gaussian white noise, q, . Where the corresponding model Θ 2, U , V, σ η 2 }
参数
Figure imgf000083_0001
q q q , 即, 用于描述可用综合特征向
parameter
Figure imgf000083_0001
Qqq , that is, used to describe the available comprehensive features
量 T 的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数 The segmentation of the quantity T corresponds to the identity of the available synthetic feature subvectors - the model parameters of the age factor model
Θ q 二 ^ ^ q, U q, V q, ση q2 } J 其中, 基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综 Θ q 二^^ q, U q, V q, σ η q 2 } J where, based on the above identity-age factor model, it can be seen that any face image corresponds to the available comprehensive
合特征向量
Figure imgf000083_0002
的分段 q对应的可用综合特征子向量 都由下面三个部
Feature vector
Figure imgf000083_0002
The available composite feature subvectors corresponding to the segmentation q are composed of the following three parts.
Ua xa v y ε 分组成: 身份信息 q q、 年龄信息 q 和噪声 。 U a x a vy ε is divided into: identity information qq , age information q and noise.
U X U X U X U X
其中, q 依赖于人脸图像所对应人物的身份, 可认为 q q Where q depends on the identity of the person corresponding to the face image, which can be considered qq
V y V y
不随着人物年龄进行变化,可用于进行人物身份识别。 q q依赖于人脸图 像所对应人物的年龄, 可用于进行对应人物年龄的估计。 可以理解, 上述举例中以对分段从 1到 n顺序编号为例来进行描述的, 当然 在实际应用中也可不按照顺序对各分段进行编号。 It does not change with the age of the person and can be used for character identification. Qq depends on the age of the person corresponding to the face image and can be used to estimate the age of the corresponding person. It can be understood that the above examples are described by taking the sequence of numbers from 1 to n as an example. Of course, in actual applications, each segment may be numbered out of order.
在本发明一些可能的实施方式中,上述可用综合特征向量基于梯度方向直 方图或基于其它方式得到。  In some possible implementations of the invention, the above-described available integrated feature vectors are derived based on a gradient direction histogram or based on other means.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份 -年龄因子模型描述, 其中, 上述身份-年龄因子模型如下:
Figure imgf000084_0001
由于
It can be seen that the available comprehensive feature vector corresponding to the face image in the embodiment can be described by the identity-age factor model, wherein the above identity-age factor model is as follows:
Figure imgf000084_0001
due to
Θ a 二 {β U Θ a two {β U
、'一 a, V  , 'a, V
q' a, a, σ a } ) 身份-年龄因子模型的模型参数— — q ,因此 利用 Ζ个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模 q' a, a, σ a } ) The model parameter of the identity-age factor model— q , so the above-mentioned identity-age factor model can be used for the available comprehensive feature vector corresponding to the sample face image
Θ 二 {β , U , V, ση 2 } 型进行训练以确定模型参数 q q q q q 的取值, 训练好的各分段对应的身份-年龄因子模型能够为任何待识别的人脸图像的识 别奠定良好基础。其中, 由于利用互不相关的身份因子和年龄因子来共同确定 待识别的人脸图像的可用综合特征向量,因此有利于将待识别的人脸图像的可 用综合特征向量中包含的与身份相关的特征剥离出来,进而有利于剔除待识别 的人脸图像的可用综合特征向量中包含的与年龄相关的特征对身份识别的影 响, 进而有利于提高图像身份识别的准确性和通用性, 进而有利于尽可能满足 更多种应用场景的需求。 Θ two {β , U , V, σ η 2 } type training to determine the value of the model parameter qqqqq , the identity-age factor model corresponding to each segment trained can lay the identification of any face image to be identified Good foundation. Wherein, since the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized. The feature is stripped out, which is beneficial to eliminate the influence of the age-related features contained in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. Meet as many application scenarios as possible.
T t 假设可用综合特征向量 i 的分段 q对应的可用综合特征子向量 ^ 的对应的待训练身份 -年龄因子模型如下所示: T t assumes that the corresponding composite eigenvector vector corresponding to the available eigenvector vector ^ of the composite eigenvector i can be used as follows: The age factor model is as follows:
Figure imgf000084_0002
其中, 上述
Figure imgf000085_0001
1, 2,
Figure imgf000084_0002
Among them, the above
Figure imgf000085_0001
1, 2,
Figure imgf000085_0002
表示上述可用综合特征向量, 上述 n表示上述可用综合 特征向量的分段总数(即, 可用综合特征向量
Figure imgf000085_0003
被划分为等长度或不等长 度的 n个分段, 每个分段对应一个可用综合特征子向量, T丄 包括 n个分段对 应的可用综合特征子向量, 即
Figure imgf000085_0004
包括 n个可用综合特征子向量), 表示 q 对应的身份因子系数。 上述^表示 对应的年龄因子系数, 上述^ Γ
Figure imgf000085_0006
Figure imgf000085_0002
Representing the above-mentioned available integrated feature vector, the above n represents the total number of segments of the available integrated feature vector (ie, the available integrated feature vector)
Figure imgf000085_0003
Divided into n segments of equal length or unequal length, each segment corresponding to an available integrated feature subvector, T丄 includes n available segments corresponding to the available integrated feature subvector, ie
Figure imgf000085_0004
Including n available synthetic feature subvectors), Represents the identity factor coefficient corresponding to q. The above ^ represents the corresponding age factor coefficient, the above ^ Γ
Figure imgf000085_0006
表示 q 对应的样本特征平均值。其中,上述 表示 q 对应的身份
Figure imgf000085_0007
Represents the sample feature average corresponding to q. Where the above represents the identity corresponding to q
Figure imgf000085_0007
表示 q 对应的年龄因子, 其中, 上述 表示 其中, q 对应的模型 Indicates the age factor corresponding to q, where the above representation Where q corresponds to the model
, 即, 用于描述可用综合特征向 量
Figure imgf000086_0001
的分段 q对应的可用综合特征子向量的身份 -年龄因子模型的模型参数
, ie, used to describe the available composite feature vectors
Figure imgf000086_0001
The model parameter of the identity-age factor model of the available comprehensive feature subvector corresponding to the segmentation q
Θ q 二 ^ ^ q, U q, V q, ση q2 } J 处理器 1001例如可通过最大化联合概率分布公式来最优化模型参数, 其 中, 最大化联合概率分布公式例如可如下公式 3所示: Θ q 二 ^ ^ q, U q, V q, σ η q 2 } J The processor 1001 can optimize the model parameters, for example, by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula can be, for example, the following formula 3 Shown as follows:
Figure imgf000086_0002
其中, 公式 2中, k表示样本人脸图像所对应人物的年龄, i表示样本人脸
Figure imgf000086_0002
Where, in Equation 2, k represents the age of the person corresponding to the sample face image, and i represents the sample face
→k →k
图像所对应人物的身份标识, 其中, t q, {) 表示身份标识为 i且年龄为 k的 The identity of the person corresponding to the image, where t q, {) indicates that the identity is i and the age is k
样本 表示 因
Figure imgf000086_0003
子, 联
Figure imgf000087_0001
Sample representation
Figure imgf000086_0003
Child
Figure imgf000087_0001
合概率分布。 Probability distribution.
其中, ^表示联合概率分布。 其中, 可基于对应不同年龄不同身份的多 个样本人脸图像上进行试验。 其中, 由于身份 -年龄因子模型中的两个隐形因子 和
Figure imgf000087_0002
Where ^ represents the joint probability distribution. Wherein, the experiment may be performed on a plurality of sample face images corresponding to different ages and different identities. Among them, due to the two invisibility factors in the identity-age factor model
Figure imgf000087_0002
^ q^ k)不能直接观测。 例如可釆用坐标上升算法对因子 xq, )和 情况下对另一个隐形因子进行优 ^ q^ k) cannot be observed directly. For example, the coordinate rising algorithm can be used to optimize the factor x q, and the other invisible factor.
, 可估计出先验概率分布
Figure imgf000087_0003
(q,0) 。 从而可以通过最大化联合概率分布 L 的条件期望来得到先验概率分布 P 0) ^^'^ ) \ Tq 进而更 β
, can estimate the prior probability distribution
Figure imgf000087_0003
(q,0). Thus, the prior probability distribution P 0) ^^'^ ) \ T q can be obtained by maximizing the conditional expectation of the joint probability distribution L.
新模型参数 ^ 的取值 t The new model parameter values t ^
也就是说,给定初始化估计值 (q'Q),通过最大化如下公式 4中的 Lc来 β That is, given the initial estimate ( q ' Q ), by maximizing L c in Equation 4 below β
得到一个新的 [ , Get a new one [ ,
Figure imgf000088_0001
Figure imgf000088_0001
其中, 公式 4中的 表示样本集合中
Figure imgf000088_0002
的各样本人脸图像(假设有 Z个样本人脸图像)对应的可用综合特征向量之中 的分段 q对应的可用综合特征子向量, Lc是联合概率分布^在给定初始模型 β → →
Wherein, in the representation sample set in Equation 4
Figure imgf000088_0002
Each sample face image (assuming there are Z sample face images) corresponds to the available integrated feature subvector corresponding to the segment q of the available integrated feature vectors, L c is the joint probability distribution ^ in the given initial model β → →
参数 (q0)的条件期望。 其中, 因为, 隐形因子 和 y( , )未 β The conditional expectation of the parameter ( q , 0) . Among them, because the stealth factor and y( , ) are not β
知, 因此 L不能直接最大化。 但是可通过初始化模型参数 (q'Q)来估计隐形 因子 的分布, 进而得到在下分布之下联合概率分布
Figure imgf000088_0003
Know, so L can't be directly maximized. However, the distribution of the invisible factor can be estimated by initializing the model parameters ( q ' Q ), and then the joint probability distribution under the lower distribution is obtained.
Figure imgf000088_0003
^的条件期望, 该条件期望即 LcThe condition of ^ is expected, and the condition is expected to be L c .
下面提出上述身份-年龄因子模型适应化的最大期望值(EM ) 算法: 输入为:多个标有身份和年龄的样本人脸图像可用综合特征向量中的分段
Figure imgf000089_0001
输出为: 分段 q对应的可用综合特征子向量对应的身份 -年龄因子模型的模 型参数 :
The following is the maximum expected value (EM) algorithm for adapting the identity-age factor model described above: Input: Multiple sample faces with identity and age can be segmented in the integrated feature vector
Figure imgf000089_0001
The output is: Model parameters of the identity-age factor model corresponding to the available integrated feature subvectors corresponding to segment q:
Θ q 二 ^ ^ q, U q, V q, ση q2} J Θ q 二^^ q, U q, V q, σ η q 2 } J
具体的, 可先初始化下面几个参数: Specifically, the following parameters can be initialized first:
2 0.1  2 0.1
Uq ^rand(- AfiA) V ^rand(-0A,0A) U q ^rand(- AfiA) V ^rand(-0A,0A)
2 jj y 2 jj y
将初始化的 , q , 带入身份-年龄因子模型公式中, 求得
Figure imgf000089_0002
基于模型参数 Θ q 二 {、β, U q, V q, ση q2} ^ 计算隐形因子 和
Bring the initialized, q, into the identity-age factor model formula, and obtain
Figure imgf000089_0002
Calculate the stealth factor and based on the model parameters Θ q { {, β, U q, V q, σ η q 2 } ^
Figure imgf000089_0003
其中,
Figure imgf000090_0001
Figure imgf000089_0003
among them,
Figure imgf000090_0001
Figure imgf000090_0002
Figure imgf000090_0002
Figure imgf000090_0003
Figure imgf000090_0003
C = a q2I + U q U q TC = aq 2 I + U q U q T ;
Φ
Figure imgf000090_0004
q
Figure imgf000091_0001
i+va Tc~X。
Φ
Figure imgf000090_0004
q
Figure imgf000091_0001
i+v a T c~X.
其中, 上述 Nci表示训练样本人脸图像中, 身份标识为 i的样本人脸图像的 个数, 上述 Nsk表示训练样本人脸图像中, 年龄为 k的样本人脸图像的个数。 进一步基于计算出的隐形因子 q, )和 k)更新模型参数 u^和v qWherein, N ci represents the number of sample face images whose identity is i in the training sample face image, and N sk represents the number of sample face images of age k in the training sample face image. Further updating the model parameters u^ and vq based on the calculated stealth factors q, ) and k)
Figure imgf000091_0002
Figure imgf000091_0002
Figure imgf000091_0003
Figure imgf000091_0003
 ,
Figure imgf000091_0004
Figure imgf000091_0004
Figure imgf000092_0001
Figure imgf000092_0002
Figure imgf000092_0001
Figure imgf000092_0002
Figure imgf000092_0003
Figure imgf000092_0003
其中, 上述 N表示样本人脸图像的总个数, d是样本本人脸图像的可用综 合特征向量的分度 q对应的可用综合特征子向量的长度。  Wherein, N represents the total number of sample face images, and d is the length of the available integrated feature sub-vector corresponding to the index q of the available composite feature vector of the sample face image.
基于上述方式, 利用 Z个样本人脸图像对应的可用综合特征向量之中分段 q对应的可用综合特征子向量多次求取参数 、 u 和v. , 直到收敛为 止。 其中, 通过上述算法可较准确地计算出上述分段 q对应的可用综合特征子 向 量 对 应 的 身 份 - 年 龄 因 子 模 型 的 模 型 参 数 Based on the above manner, segmentation among the available integrated feature vectors corresponding to the Z sample face images q The corresponding synthetic feature subvector corresponding to q is used to find the parameters, u and v. multiple times until convergence. The model parameter of the identity-age factor model corresponding to the available comprehensive feature sub-vector corresponding to the segment q can be accurately calculated by the above algorithm.
Figure imgf000093_0001
Figure imgf000093_0001
训练方法。通过上述举例的方式, 亦可得到其它分段对应的可用综合特征子向 量对应的身份 -年龄因子模型的模型参数。 参见图 11, 图 11描述了本发明实施例的模型训练设备 1100的结构, 该模 型训练设备 1100包括: 至少一个处理器 1101, 例如 CPU, 至少一个网络接口 1104或者其他用户接口 1103, 存储器 1105, 至少一个通信总线 1102。 通信 总线 1102用于实现这些组件之间的连接通信。 其中, 模型训练设备 1100可 选的包含用户接口 1103, 包括: 显示器, 键盘或点击设备 (如鼠标, 轨迹 球(trackball ), 触感板或者触感显示屏)。 存储器 1105可能包含高速 RAM 存储器, 当然也还可能包括非不稳定的存储器 (non-volatile memory ), 例 如至少一个磁盘存储器。 存储器 1105可选的可以包含至少一个位于远离前 述处理器 1101的存储装置。 Training method. Through the above exemplified manner, model parameters of the identity-age factor model corresponding to the available comprehensive feature sub-vectors corresponding to other segments may also be obtained. Referring to FIG. 11, FIG. 11 illustrates a structure of a model training device 1100 according to an embodiment of the present invention. The model training device 1100 includes: at least one processor 1101, such as a CPU, at least one network interface 1104 or other user interface 1103, and a memory 1105. At least one communication bus 1102. Communication bus 1102 is used to implement connection communication between these components. The model training device 1100 optionally includes a user interface 1103, including: a display, a keyboard or a pointing device (such as a mouse, a trackball, a touchpad or a touch sensitive display). Memory 1105 may contain high speed RAM memory and may of course also include non-volatile memory, such as at least one disk memory. The memory 1105 can optionally include at least one storage device located remotely from the processor 1101.
在一些实施方式中, 存储器 1105存储了如下的元素, 可执行模块或者 数据结构, 或者他们的子集, 或者他们的扩展集:  In some embodiments, the memory 1105 stores the following elements, executable modules or data structures, or a subset thereof, or their extension set:
操作系统 11051, 包含各种系统程序, 用于实现各种基础业务以及处理 基于硬件的任务;  Operating system 11051, which contains various system programs for implementing various basic services and processing hardware-based tasks;
应用程序模块 11052, 包含各种应用程序, 用于实现各种应用业务。 应用程序模块 11052中包括但不限于获取单元 710和训练单元 720。  The application module 11052 includes various applications for implementing various application services. The application module 11052 includes, but is not limited to, an acquisition unit 710 and a training unit 720.
应用程序模块 11052中各模块的具体实现参见图 7所示实施例中的相应 模块, 在此不赘述。 本发明一些实施例中, 通过调用存储器 1105存储的程序或指令, 处理 器 1101可用于: 获取 Z个样本人脸图像对应的可用综合特征向量。 利用上述 Z 个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进行训练, 以 确定上述身份 -年龄因子模型的模型参数。 For the specific implementation of each module in the application module 11052, refer to the corresponding module in the embodiment shown in FIG. 7, and details are not described herein. In some embodiments of the present invention, by calling a program or instruction stored in the memory 1105, the processor 1101 may be configured to: obtain an available integrated feature vector corresponding to the Z sample face images. The identity-age factor model is trained using the available comprehensive feature vectors corresponding to the Z sample face images to determine the model parameters of the identity-age factor model described above.
其中, 上述可用综合特征向量通过身份-年龄因子模型描述,  Wherein, the above available comprehensive feature vector is described by an identity-age factor model,
其中, 上述身份-年龄因子模型如下:
Figure imgf000094_0001
Among them, the above identity-age factor model is as follows:
Figure imgf000094_0001
其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数,, 上述 表示高 斯白噪声, 〜 Ν ( V0 ' σ2ΐ),上述 X表示身份因子,上述 y 表 示年龄因子, 其中, 上述模型参数 — u, V, } 。 Wherein, the above ^ represents the available integrated feature vector, the above ^ represents the average value of the sample feature, the U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above represents Gaussian white noise, Ν (V0 ' σ 2 ΐ), The above X represents an identity factor, and the above y represents an age factor, wherein the above model parameter is u, V, }.
基于上述身份-年龄因子模型可看出, 任何人脸图像对应的可用综合特征 U X V y 向量 都由下面三个部分组成: 身份信息 、 年龄信息 和噪 声 。其中, 依赖于人脸图像所对应人物的身份, 可认为 不  Based on the above-mentioned identity-age factor model, it can be seen that the available comprehensive features U X V y vectors corresponding to any face image are composed of the following three parts: identity information, age information and noise. Among them, depending on the identity of the person corresponding to the face image, it can be considered not
V y  V y
随着人物年龄进行变化, 可用于进行人物身份识别; 依赖于人脸图像 所对应人物的年龄, 可用于进行人物年龄估计。 在本发明一些可能的实施方式中,上述可用综合特征向量基于梯度方向直 方图或基于其它方式得到。 As the age of the character changes, it can be used for character identification; depending on the age of the person corresponding to the face image, it can be used to estimate the age of the person. In some possible embodiments of the present invention, the above-mentioned available integrated feature vector is obtained based on a gradient direction histogram or based on other methods.
可以看出,本实施例中提出人脸图像对应的可用综合特征向量可通过身份 It can be seen that the available integrated feature vector corresponding to the face image in the embodiment can be identified by identity.
-年龄因子模型描述, 其中, 上述身份-年龄因子模型如下:
Figure imgf000095_0001
由于 身份 -年龄因子模型的模型参数 ^— {^ U, , °" }, 因此利用2 个样本人脸图像对应的可用综合特征向量可以对上述身份 -年龄因子模型进行 训练以确定模型参数 ^―、 , υ, V, σ }的取值,训练好的身份
- an age factor model description, wherein the above identity-age factor model is as follows:
Figure imgf000095_0001
Because of the model parameter ^- {^ U, , °" } of the identity-age factor model, the above-mentioned identity-age factor model can be trained to determine the model parameters by using the available comprehensive feature vectors corresponding to the two sample face images. , , υ, V, σ }, trained identity
-年龄因子模型能够为任何待识别的人脸图像的识别奠定良好基础。 其中, 由 于利用互不相关的身份因子和年龄因子来共同确定待识别的人脸图像的可用 综合特征向量,因此有利于将待识别的人脸图像的可用综合特征向量中包含的 与身份相关的特征剥离出来,进而有利于剔除待识别的人脸图像的可用综合特 征向量中包含的与年龄相关的特征对身份识别的影响,进而有利于提高图像身 份识别的准确性和通用性, 进而有利于尽可能满足更多种应用场景的需求。 The age factor model can lay a good foundation for the identification of any face image to be recognized. Wherein, since the available integrated feature vectors of the face image to be recognized are jointly determined by using mutually unrelated identity factors and age factors, it is advantageous to associate the identity-related features included in the available integrated feature vector of the face image to be recognized. The feature is stripped out, which is beneficial to eliminate the influence of the age-related features included in the available comprehensive feature vector of the face image to be recognized on the identity recognition, thereby facilitating the improvement of the accuracy and versatility of the image identification, thereby facilitating the image recognition. Meet as many application scenarios as possible.
为便于更好的理解和实施上述模型训练方法,下面通过一些具体的应用场 景进行举例说明。  In order to better understand and implement the above model training method, the following is illustrated by some specific application scenarios.
假设处理器 1101待训练的身份 -年龄因子模型如下所示:
Figure imgf000095_0002
ε 其中, 上述 ^ 表示上述可用综合特征向量, 上述^表示样本特征平 均值, 上述 U表示身份因子系数, 上述 V表示年龄因子系数,, 上述 表示高 斯白噪声, G 〜 NV (Q σ2ΐ),上述 X^ 表示身份因子,上述 y 表 示年龄因子。 上述身份 -年龄因子模型的模型参数
Figure imgf000096_0001
υ, V, σ } 。 例如处理器 1101可通过最大化联合概率分布公式来最优化模型参数, 其 中, 最大化联合概率分布公式例如可如下公式 1所示:
Assume that the identity-age factor model that processor 1101 is to train is as follows:
Figure imgf000095_0002
ε Wherein, the above ^ represents the available integrated feature vector, the above ^ represents the sample feature average value, the U represents the identity factor coefficient, and the above V represents the age factor coefficient, and the above represents Gaussian white noise, G 〜 N V (Q σ 2 ΐ) The above X^ represents an identity factor, and the above y represents an age factor. Model parameters of the above identity-age factor model
Figure imgf000096_0001
υ, V, σ } . For example, the processor 1101 may optimize the model parameters by maximizing the joint probability distribution formula, wherein the maximum joint probability distribution formula may be, for example, as shown in the following formula 1:
Figure imgf000096_0002
, , ) 其中, 公式 1中, k表示样本人脸图像所对应人物的年龄, i表示样本人脸
Figure imgf000096_0002
, , ) where, in formula 1, k represents the age of the person corresponding to the sample face image, and i represents the sample face
图像所对应人物的身份标识,
Figure imgf000096_0003
表示身份标识为 i且年龄为 k的样本人脸图 像对应的可用综合特征向量, 表示身份标识为 i的样本人脸图像所对应人物 的身份因子, ^^是年龄为 k的样本人脸图像所对应人物的年龄因子, ^^表 示在给定模型参数 Θ的条件之下, 和 联合概率分布。 其中, L表示联合 概率分布。 其中, 由于公式 1中的两个隐形因子 和^^不能直接观测。 例如可釆 用坐标上升算法对因子 和 进行分析, 即在一个因子固定的情况下对另 一个隐形因子进行优化。 其中, 对于给定的模型参数 , 可估计出先验概率分 布
Figure imgf000097_0001
。从而可以通过最大化联合概率分布 L的条件期望来 得到先验概率分布
Figure imgf000097_0002
, 进而更新模型参数 Θ的取值。
The identity of the person corresponding to the image,
Figure imgf000096_0003
The available comprehensive feature vector corresponding to the sample face image whose identity is i and age k, represents the identity factor of the person corresponding to the sample face image whose identity is i, ^^ is the sample face image of age k Corresponding to the age factor of the character, ^^ represents the condition of the given model parameter Θ, and the joint probability distribution. Where L represents the joint probability distribution. Among them, the two invisible factors and ^^ in Equation 1 cannot be directly observed. For example, the factor sum can be analyzed by a coordinate ascending algorithm, that is, another invisible factor is optimized with one factor fixed. Where, for a given model parameter, a prior probability distribution can be estimated
Figure imgf000097_0001
. Thus, the prior probability distribution can be obtained by maximizing the conditional expectation of the joint probability distribution L.
Figure imgf000097_0002
, and then update the value of the model parameter Θ.
也就是说, 给定初始化估计值 , 通过最大化如下公式 2中的 LC来得到一 个新的 : That is, given the initialization estimate, a new one is obtained by maximizing L C in Equation 2 below:
其中, 公式 脸
Figure imgf000097_0003
Among them, formula face
Figure imgf000097_0003
图像(假设有 Z个样本人脸图像)对应的可用综合特征向量, LC是联合概率分 布 L在给定初始模型参数 的条件期望。 其中, 因为隐形因子 和^^未知, 因此 L不能直接最大化。 但是可通过初始化模型参数 σ。来估计隐形因子
Figure imgf000097_0004
和 的分布, 进而得到在下分布之下联合概率分布 L的条件期望, 该条件期望 即 LC。 下面提出上述身份 -年龄因子模型适应化的最大条件期望值(EM )算法: 输入为: 标有身份和年龄的样本图像的特征向量集
The available composite feature vector corresponding to the image (assuming there are Z sample face images), L C is the conditional expectation of the joint probability distribution L given the initial model parameters. Among them, because the invisibility factor and ^^ are unknown, L cannot be directly maximized. But by initializing the model parameter σ . To estimate the invisibility factor
Figure imgf000097_0004
The distribution of sums, in turn, gives the conditional expectation of the joint probability distribution L under the lower distribution, which is expected to be L C . The maximum conditional expectation (EM) algorithm for the above identity-age factor model adaptation is presented below: Input as: Feature Vector Set of Sample Image with Identity and Age
Figure imgf000098_0001
输出为: 特征模型的模型参数 6 -、 β, U, V, σ } 具体的, 可先初始化下面几个参数:
Figure imgf000098_0001
The output is: Model parameters of the feature model 6 -, β, U, V, σ } Specifically, the following parameters can be initialized first:
σ2 0.1、 膽 ― 0·1,0·1) σ 2 0.1, biliary - 0·1, 0·1)
V ra^(— 0.1,0.1) . V ra^(— 0.1,0.1) .
2 β 将初始化的 σ 、 υ、 V带入身份-年龄因子模型公式中, 求得 ^ 。 基于模型参数 9-^, υ, 计算隐形因子 '和 。 其中, 2 β Bring the initialized σ , υ, V into the identity-age factor model formula and find ^. Based on the model parameters 9-^, υ, calculate the stealth factor 'and. among them,
Figure imgf000098_0002
Figure imgf000099_0001
Figure imgf000099_0002
Figure imgf000098_0002
Figure imgf000099_0001
Figure imgf000099_0002
τ  τ
C二 σΊ+UU C two σΊ+UU
Figure imgf000099_0003
Figure imgf000099_0004
VC— V。
Figure imgf000099_0003
Figure imgf000099_0004
VC—V.
其中, 上述 Nd表示训练样本人脸图像中, 身份标识为 i的样本人脸图像的 个数, 上述 Nsk表示训练样本人脸图像中, 年龄为 k的样本人脸图像的个数。 基于计算出的隐形因子 和^^更新模型参数 σ 、 和 νThe N d represents the number of sample face images whose identity is i in the training sample face image, and the N sk represents the number of sample face images of the age of k in the training sample face image. The model parameters σ , and ν are updated based on the calculated stealth factor and ^^.
其中,  among them,
-1 -1
U =(C-DBE)(A-FB~LE
Figure imgf000100_0001
U = (C-DB E) (A-FB~ L E
Figure imgf000100_0001
Figure imgf000101_0001
Figure imgf000101_0001
Figure imgf000101_0002
其中, 上述 N表示样本人脸图像的总个数, d是样本本人脸图像的可用 合特征向量的长度。 基于上述方式, 利用 Z个样本人脸图像对应的可用综合特征向量中的多个 可用综合特征向量多次求取参数 σ 、 和^ , 直到收敛。 通过上述算法可较 准确地计算出上述身份 -年龄因子模型的模型参数 ^ = u,v,σ } 。 当然亦可通过其它方式训练得到模型参数 θ = {β, ί ,ν, σ2}
Figure imgf000101_0002
Wherein, N represents the total number of sample face images, and d is the length of the available feature vector of the sample face image. Based on the above manner, the parameters σ and ^ are obtained multiple times using a plurality of available integrated feature vectors in the available integrated feature vectors corresponding to the Z sample face images until convergence. Through the above algorithm, the model parameters ^ = u , v, σ } of the above identity-age factor model can be calculated more accurately. Of course, the model parameters θ = {β, ί , ν, σ 2 } can also be trained by other means.
Figure imgf000101_0003
体取值。 并不限于上述举例的训练方法。 本发明实施例还提供一种计算机存储介质, 其中, 该计算机存储介质可存 储有程序,该程序执行时包括上述方法实施例中记载的电源前馈控制方法的部 分或全部步骤。
Figure imgf000101_0003
Body value. It is not limited to the training method exemplified above. The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the power feedforward control method described in the foregoing method embodiment.
需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都表述 为一系列的动作组合,但是本领域技术人员应该知悉, 本发明并不受所描述的 动作顺序的限制,因为依据本发明,某些步骤可以釆用其他顺序或者同时进行。 其次, 本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施 例, 所涉及的动作和模块并不一定是本发明所必须的。 在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述。 It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention. In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in an embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置, 可通过其 它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例如所述单 元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例 如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽 略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接辆合或通信连 接可以是通过一些接口, 装置或单元的间接辆合或通信连接, 可以是电性或其 它的形式。 单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。  In the several embodiments provided herein, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integration into another system, or some features can be ignored, or not executed. Alternatively, the mutual coupling or direct connection or communication connection shown or discussed may be an indirect connection or communication connection through some interface, device or unit, and may be electrical or other form. The components displayed by the unit may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以釆用硬件的形式实现,也可以釆用软件功能单元的 形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中, 包括若干指令用以使得一台计算机设备(可为个人计算机、 服务器或 者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述的 存储介质包括: U盘、 只读存储器 (ROM, Read-Only Memory ), 随机存取存 储器(RAM, Random Access Memory )、 移动硬盘、 磁碟或者光盘等各种可以 存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program code. .
以上所述, 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽 管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理 解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分 技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱 离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or part of them The technical features are equivalent to those of the embodiments of the present invention.

Claims

权 利 要 求 Rights request
1、 一种图像身份识别方法, 其特征在于, 包括: 1. An image identity recognition method, characterized by including:
对待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对 应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描述所述待识别 的人脸图像所对应人物的身份的身份因子和用于描述所述待识别的人脸图像 所对应人物的年龄的年龄因子共同确定, 其中, 所述身份因子和所述年龄因子 互不相关; Perform feature extraction processing on the face image to be recognized to obtain an available comprehensive feature vector corresponding to the face image to be recognized, wherein the available comprehensive feature vector is used to describe the person corresponding to the face image to be recognized. The identity factor of the identity and the age factor used to describe the age of the person corresponding to the face image to be recognized are jointly determined, wherein, the identity factor and the age factor are not related to each other;
基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识别的 人脸图像所对应的身份特征向量; Calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized;
计算所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中 的每个样本人脸图像所对应身份特征向量的相似度, 其中, 所述身份特征向量 由身份因子确定, 所述 Z为正整数; Calculate the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images, where, the identity feature vector is determined by the identity factor, The Z is a positive integer;
输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人脸图像 为所述 Z个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特征向量 与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 Z个样本人 脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Z1个样 本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份特征向 量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的身份信 息为所述待识别的人脸图像对应的可能身份信息。 Output the identity information corresponding to the Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, and the identity feature vectors corresponding to the Z1 sample face images are consistent with the Z1 sample face images. The similarity of the identity feature vector corresponding to the face image to be recognized is greater than the identity feature vector corresponding to the other sample face images among the Z sample face images except the Z1 sample face images. The similarity of the identity feature vectors corresponding to the face images to be recognized, or the similarity between the identity feature vectors corresponding to the Z1 sample face images and the identity feature vectors corresponding to the face images to be recognized is greater than the setting A fixed threshold value, wherein the identity information corresponding to the output Z1 sample face images is the possible identity information corresponding to the face image to be recognized.
2、 根据权利要求 1所述的方法, 其特征在于, 2. The method according to claim 1, characterized in that,
所述对待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图 像对应的可用综合特征向量, 包括: 对待识别的人脸图像进行预处理; 对进行 预处理后的所述待识别的人脸图像进行特征提取处理以得到所述待识别的人 脸图像对应的可用综合特征向量。 The feature extraction processing of the face image to be recognized to obtain the available comprehensive feature vector corresponding to the face image to be recognized includes: preprocessing the face image to be recognized; preprocessing the face image to be recognized. The recognized face image is subjected to feature extraction processing to obtain an available comprehensive feature vector corresponding to the face image to be recognized.
3、 根据权利要求 2所述的方法, 其特征在于, 所述对进行预处理后的所述 待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对应的可 用综合特征向量, 包括: 从进行预处理后的所述待识别的人脸图像中提取原始 综合特征向量,对提取到的所述原始综合特征向量进行降维处理以得到所述待 识别的人脸图像对应的可用综合特征向量。 3. The method according to claim 2, characterized in that: performing feature extraction processing on the pre-processed face image to be recognized to obtain available comprehensive features corresponding to the face image to be recognized. The vector includes: extracting an original comprehensive feature vector from the preprocessed face image to be recognized, and performing dimensionality reduction processing on the extracted original comprehensive feature vector to obtain the to-be-identified face image. Available comprehensive feature vectors corresponding to the recognized face images.
4、 根据权利要求 1至 3所述的方法, 其特征在于, 所述原始综合特征向量 或可用综合特征向量基于梯度方向直方图得到。 4. The method according to claims 1 to 3, characterized in that the original comprehensive feature vector or the available comprehensive feature vector is obtained based on a gradient direction histogram.
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 5. The method according to any one of claims 1 to 4, characterized in that,
所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000105_0001
The available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model, where the identity-age factor model is as follows:
Figure imgf000105_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Ν (0 σ2ΐ) X y 斯白噪声, V ' ,所述 表示身份因子,所述 表 示年龄因子。 Wherein, the ^ represents the available comprehensive feature vector, the ^ represents the sample feature average, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the represents high ~ N (0 σ 2 ΐ) X y is white noise, V ' , represents the identity factor, and represents the age factor.
6、 根据权利要求 5所述的方法, 其特征在于, 6. The method according to claim 5, characterized in that,
所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识 别的人脸图像所对应的身份特征向量, 包括: 通过如下方式, 基于所述待识别 的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对应的身 份特征向量: Calculating the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized includes: in the following manner, based on the face image to be recognized corresponding to The comprehensive feature vector can be used to calculate the identity feature vector corresponding to the face image to be recognized:
Figure imgf000105_0002
其中, 所述 1 表示所述身份特征向量,
Figure imgf000105_0002
Among them, the 1 represents the identity feature vector,
其中, 所述 Among them, the
Figure imgf000106_0001
Figure imgf000106_0001
7、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述待识别的人 脸图像对应的可用综合特征向量通过身份 -年龄因子模型描述, 7. The method according to any one of claims 1 to 4, characterized in that the available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model,
Figure imgf000106_0002
其中, 所述身份-年龄因子模型如下:
Figure imgf000106_0002
Among them, the identity-age factor model is as follows:
Figure imgf000106_0003
Figure imgf000106_0003
其中, 所述 其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 Among them, the T丄 represents the available comprehensive feature vector, and the n represents the available comprehensive feature vector.
特征向量的分段总数, 所述
Figure imgf000106_0004
的分段 q对应的可用综合特
The total number of segments of the feature vector, described
Figure imgf000106_0004
The available comprehensive characteristics corresponding to the segment q
征子向量, 所述
Figure imgf000106_0005
表示所述
Figure imgf000107_0001
q 对应的样本特征平均
eigenvector, described
Figure imgf000106_0005
express the stated
Figure imgf000107_0001
The average sample feature corresponding to q
值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所
Figure imgf000107_0002
value, where, said represents the identity factor corresponding to said q, said represents the
Figure imgf000107_0002
述 q 对应的年龄因子, 其中, 所述 q 对应的高斯白噪
Figure imgf000107_0003
The age factor corresponding to the above q, where, the Gaussian white noise corresponding to the above q
Figure imgf000107_0003
8、 根据权利要求 7所述的方法, 其特征在于, 8. The method according to claim 7, characterized in that,
所述基于所述待识别的人脸图像对应的可用综合特征向量计算所述待识 别的人脸图像所对应的身份特征向量, 包括: 通过如下方式, 基于所述待识别 的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对应的身 份特征向量: Calculating the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized includes: in the following manner, based on the face image to be recognized corresponding to The comprehensive feature vector can be used to calculate the identity feature vector corresponding to the face image to be recognized:
Figure imgf000107_0004
其中, 所述 ,所述 表示所述身份特征向量,所述 J q 表示所述 的分段 q对应的身份特征向量。
Figure imgf000107_0004
Among them, the , represents the identity feature vector, and J q represents the identity feature vector corresponding to the segment q.
9、 根据权利要求 1至 7任意一项所述的方法, 其特征在于, 所述待识别的 人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所对 应身份特征向量的相似度,通过所述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的余弦距离或欧 氏距离或曼哈顿距离来表征。 9. The method according to any one of claims 1 to 7, characterized in that the identity feature vector corresponding to the face image to be recognized corresponds to each of the Z sample face images. The similarity of the identity feature vector is determined by the cosine distance, Euclidean distance or Manhattan distance between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images. represented by distance.
10、 一种模型训练方法, 其特征在于, 包括: 10. A model training method, characterized by including:
获取 Z个样本人脸图像对应的可用综合特征向量; Obtain the available comprehensive feature vectors corresponding to Z sample face images;
利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模 型进行训练, 以确定所述身份 -年龄因子模型的模型参数; Utilize the available comprehensive feature vectors corresponding to the Z sample face images to train the identity-age factor model to determine the model parameters of the identity-age factor model;
其中, 所述可用综合特征向量通过身份-年龄因子模型描述, Wherein, the available comprehensive feature vector is described by the identity-age factor model,
Figure imgf000108_0001
Figure imgf000108_0001
其中, 所述
Figure imgf000108_0002
的分段 q对应的可用综合特征子向量对应的身份 -年龄因 子模型如下:
Among them, the
Figure imgf000108_0002
The identity-age factor model corresponding to the available comprehensive feature subvector corresponding to the segment q is as follows:
Figure imgf000108_0003
中, 所述 l, n 其中, 所述 τ表示所述可用综合特征向量, 所述 η表示所述可用综合
Figure imgf000109_0001
T
That
Figure imgf000108_0003
, the l, n Wherein, the τ represents the available comprehensive feature vector, and the η represents the available comprehensive feature vector.
Figure imgf000109_0001
T
特征向量的分段总数, 所述 q 表示所述 -X. 的分段 q对应的可用综合特 The total number of segments of the feature vector, the q represents the available comprehensive features corresponding to the segment q of the -X.
征子向量, 所述
Figure imgf000109_0002
表示所述
eigenvector, described
Figure imgf000109_0002
express the stated
Figure imgf000109_0003
q 对应的样本特征平均
Figure imgf000109_0003
The average sample feature corresponding to q
值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 value, where, the represents the identity factor corresponding to the q, and represents the
' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪
Figure imgf000109_0004
' The age factor corresponding to q, where, the q represents the Gaussian white noise corresponding to the t
Figure imgf000109_0004
其中, 所述 T丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 Among them, the identity-age factor corresponding to the available comprehensive feature subvector corresponding to the segment q of T丄
Θ 二 {β , U , V, ση 2} 子模型的模型参数 q q q q q Θ two {β, U, V, σ η 2 } model parameters qqqqq of the sub-model.
11、 根据权利要求 10所述的方法, 其特征在于, 所述可用综合特征向量基 于梯度方向直方图得到。 11. The method according to claim 10, wherein the available comprehensive feature vector is obtained based on a gradient direction histogram.
12、 一种模型训练方法, 其特征在于, 包括: 12. A model training method, characterized by including:
获取 Z个样本人脸图像对应的可用综合特征向量; Obtain the available comprehensive feature vectors corresponding to Z sample face images;
利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模 型进行训练, 以确定所述身份 -年龄因子模型的模型参数, Use the available comprehensive feature vectors corresponding to the Z sample face images to train the identity-age factor model to determine the model parameters of the identity-age factor model,
其中, 所述可用综合特征向量通过身份-年龄因子模型描述, Wherein, the available comprehensive feature vector is described by the identity-age factor model,
其中, 所述身份-年龄因子模型如下:
Figure imgf000110_0001
Among them, the identity-age factor model is as follows:
Figure imgf000110_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 〜 Ν (0 σ2ΐ) X y 斯白噪声, V ' ,所述 表示身份因子,所述 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ }。 Wherein, the ^ represents the available comprehensive feature vector, the ^ represents the sample feature average, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the represents high ~ N (0 σ 2 ΐ )
13、 根据权利要求 12所述的方法, 其特征在于, 所述可用综合特征向量基 于梯度方向直方图得到。 13. The method according to claim 12, characterized in that the available comprehensive feature vector is obtained based on a gradient direction histogram.
14、 一种图像身份识别装置, 其特征在于, 包括: 14. An image identity recognition device, characterized by including:
提取单元,用于对待识别的人脸图像进行特征提取处理以得到所述待识别 的人脸图像对应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描 述所述待识别的人脸图像所对应人物的身份的身份因子和用于描述所述待识 别的人脸图像所对应人物的年龄的年龄因子共同确定,其中, 所述身份因子和 所述年龄因子互不相关; An extraction unit, configured to perform feature extraction processing on the face image to be recognized to obtain an available comprehensive feature vector corresponding to the face image to be recognized, wherein the available comprehensive feature vector is used to describe the person to be recognized. The identity factor of the identity of the person corresponding to the face image and the age factor used to describe the age of the person corresponding to the face image to be recognized are jointly determined, wherein the identity factor and the age factor are independent of each other;
计算单元,基于所述待识别的人脸图像对应的可用综合特征向量计算所述 待识别的人脸图像所对应的身份特征向量; A computing unit calculates the comprehensive feature vector based on the available comprehensive feature vector corresponding to the face image to be recognized. The identity feature vector corresponding to the face image to be recognized;
匹配单元, 用于计算所述待识别的人脸图像对应的身份特征向量与 Z个样 本人脸图像中的每个样本人脸图像所对应身份特征向量的相似度, 其中, 所述 身份特征向量由身份因子确定, 所述 Z为正整数; A matching unit, used to calculate the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images, wherein, the identity feature vector Determined by the identity factor, Z is a positive integer;
输出单元, 用于输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1 个样本人脸图像为所述 Z个样本人脸图像的子集, 所述匹配单元计算出所述 Z1 个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份特 征向量的相似度, 大于所述 Z个样本人脸图像之中除所述 Z1个样本人脸图像之 外的其它样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的 身份特征向量的相似度,或所述 Z1个样本人脸图像对应的身份特征向量与所述 待识别的人脸图像对应的身份特征向量的相似度大于设定阔值, 其中, 所述输 出的 Z 1个样本人脸图像对应的身份信息为所述待识别的人脸图像对应的可能 身份信息。 The output unit is used to output the identity information corresponding to the Z1 sample face images, wherein the Z1 sample face images are a subset of the Z sample face images, and the matching unit calculates the Z1 sample face images. The similarity between the identity feature vector corresponding to the sample face image and the identity feature vector corresponding to the face image to be recognized is greater than that of the Z sample face images except for the Z1 sample face images. The similarity between the identity feature vectors corresponding to other sample face images and the identity feature vector corresponding to the face image to be recognized, or the identity feature vectors corresponding to the Z1 sample face images to the face to be recognized The similarity of the identity feature vectors corresponding to the images is greater than the set threshold, wherein the identity information corresponding to the output Z 1 sample face images is the possible identity information corresponding to the face image to be recognized.
15、 根据权利要求 14所述的装置, 其特征在于, 15. The device according to claim 14, characterized in that,
所述提取单元具体用于,对待识别的人脸图像进行预处理; 对进行预处理 后的所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像 对应的可用综合特征向量。 The extraction unit is specifically configured to preprocess the face image to be recognized; perform feature extraction processing on the preprocessed face image to be recognized to obtain the available comprehensive information corresponding to the face image to be recognized. Feature vector.
16、 根据权利要求 15所述的装置, 其特征在于, 在所述对进行预处理后的 所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对应 的可用综合特征向量的方面, 所述提取单元具体用于,从进行预处理后的所述 待识别的人脸图像中提取原始综合特征向量,对提取到的所述原始综合特征向 量进行降维处理以得到所述待识别的人脸图像对应的可用综合特征向量。 16. The device according to claim 15, wherein: performing feature extraction processing on the pre-processed face image to be recognized to obtain an available synthesis corresponding to the face image to be recognized. In terms of feature vectors, the extraction unit is specifically configured to extract an original comprehensive feature vector from the preprocessed face image to be recognized, and perform dimensionality reduction processing on the extracted original comprehensive feature vector to obtain The available comprehensive feature vector corresponding to the face image to be recognized.
17、 根据权利要求 14至 16任一项所述的装置, 其特征在于, 所述原始综合 特征向量或所述可用综合特征向量基于梯度方向直方图得到。 17. The device according to any one of claims 14 to 16, characterized in that the original comprehensive feature vector or the available comprehensive feature vector is obtained based on a gradient direction histogram.
18、 根据权利要求 14至 17任一项所述的装置, 其特征在于, 18. The device according to any one of claims 14 to 17, characterized in that,
所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下: -no-
Figure imgf000112_0001
The available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model, where the identity-age factor model is as follows: -no-
Figure imgf000112_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Among them, the ^ represents the available comprehensive feature vector, the ^ represents the average value of the sample characteristics, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the represents high ~
斯白噪声, G N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 White noise, GN (VQ ' σ 2 ΐ), the X represents the identity factor, and the y represents the age factor.
19、 根据权利要求 18所述的装置, 其特征在于, 19. The device according to claim 18, characterized in that,
所述计算单元具体用于,通过如下方式,基于所述待识别的人脸图像对应 的可用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: The calculation unit is specifically configured to calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner:
Figure imgf000112_0002
Figure imgf000112_0002
其中, 述 1 表示所述身份特征向量, 其中,Among them, 1 represents the identity feature vector, where,
Figure imgf000112_0003
Figure imgf000112_0003
20、 根据权利要求 14至 17任一项所述的装置, 其特征在于, 所述待识别的 人脸图像对应的可用综合特征向量通过身份 -年龄因子模型描述,
Figure imgf000113_0001
20. The device according to any one of claims 14 to 17, characterized in that, the available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model,
Figure imgf000113_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000113_0002
Among them, the identity-age factor model is as follows:
Figure imgf000113_0002
其中, 所述 Among them, the
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 Among them, the T丄 represents the available comprehensive feature vector, and the n represents the available comprehensive feature vector.
T T
特征向量的分段总数, 所述
Figure imgf000113_0003
表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000113_0004
表示所述
Figure imgf000113_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 士 ε 〜
The total number of segments of the feature vector, described
Figure imgf000113_0003
Represents the available comprehensive feature subvector corresponding to the segment q, the
Figure imgf000113_0004
express the stated
Figure imgf000113_0005
The average value of sample features corresponding to q, where, represents the identity factor corresponding to q, represents the age factor corresponding to q, wherein, represents the Gaussian white noise corresponding to q Shi ε ~
声, g Ν σSound, g Ν σ
Figure imgf000114_0001
q2ϊ
Figure imgf000114_0001
q 2 ϊ
21、 根据权利要求 20所述的装置, 其特征在于, 所述计算单元具体用于,通过如下方式,基于所述待识别的人脸图像对应 的可用综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: 21. The device according to claim 20, wherein the calculation unit is specifically configured to calculate the face to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner: The identity feature vector corresponding to the image:
Figure imgf000114_0002
中, 所述 q q
That
Figure imgf000114_0002
In, the qq
其中,所述
Figure imgf000114_0003
表示所述身份特征向量,所述 f q 表示所述 的分段 q对应的身份特征向量。
Among them, the
Figure imgf000114_0003
represents the identity feature vector, and fq represents the identity feature vector corresponding to the segment q.
22、 根据权利要求 14至 20任意一项所述的装置, 其特征在于, 所述待识别 的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所 对应身份特征向量的相似度,通过所述待识别的人脸图像对应的身份特征向量 与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的余弦距离或 欧氏距离或曼哈顿距离来表征。 22. The device according to any one of claims 14 to 20, characterized in that the identity feature vector corresponding to the face image to be recognized corresponds to each of the Z sample face images. The similarity of the identity feature vector is determined by the cosine distance, Euclidean distance or Manhattan distance between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images. represented by distance.
23、 一种模型训练装置, 其特征在于, 包括: 23. A model training device, characterized by including:
获取单元, 用于获取 Z个样本人脸图像对应的可用综合特征向量; 训练单元, 用于利用所述 Z个样本人脸图像对应的可用综合特征向量对身 份 -年龄因子模型进行训练, 以确定所述身份 -年龄因子模型的模型参数; 其中, 所述可用综合特征向量通过身份-年龄因子模型描述,
Figure imgf000115_0001
The acquisition unit is used to obtain the available comprehensive feature vectors corresponding to Z sample face images; A training unit, configured to train the identity-age factor model using the available comprehensive feature vectors corresponding to the Z sample face images to determine the model parameters of the identity-age factor model; wherein, the available comprehensive feature vectors Described by the identity-age factor model,
Figure imgf000115_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000115_0002
Among them, the identity-age factor model is as follows:
Figure imgf000115_0002
Figure imgf000115_0003
Figure imgf000115_0003
其中, 所述 1,2 其中,
Figure imgf000115_0004
表示所述可用综合特征向量, 所述 n表示所述可用综合 T
where, the 1,2 where,
Figure imgf000115_0004
represents the available comprehensive feature vector, and the n represents the available comprehensive T
特征向量的分段总数, 所述
Figure imgf000115_0005
表示所述 的分段 q对应的可用综合特
The total number of segments of the feature vector, described
Figure imgf000115_0005
Indicates the available comprehensive characteristics corresponding to the segment q
征子向量, 所述
Figure imgf000115_0006
表示所述
eigenvector, described
Figure imgf000115_0006
express the stated
q 对应的年龄因子系数,所述 ^ 表示所述 q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 The age factor coefficient corresponding to q, the ^ represents the average sample characteristic corresponding to q value, where, said represents the identity factor corresponding to said q, said represents the
述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 The age factor corresponding to q, where, represents the Gaussian white noise corresponding to q
scholar
声, ε g 〜 Ν V 0,' σ q2Ι Sound, ε g ~ Ν V 0,' σ q 2 Ι
其中, 所述 τ丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 eQ = {β , U q, V , aQ 2 } 子模型的模型参数 q q q q qAmong them, the available comprehensive feature subvector corresponding to the segment q of the τ丄 corresponds to the identity-age factor e Q = {β , U q , V , a Q 2 } and the model parameters qqqqq of the sub-model.
24、 根据权利要求 23所述的装置, 其特征在于, 所述可用综合特征向量基 于梯度方向直方图得到。 24. The device according to claim 23, wherein the available comprehensive feature vector is obtained based on a gradient direction histogram.
25、 一种模型训练装置, 其特征在于, 包括: 25. A model training device, characterized by including:
获取单元, 用于获取 Z个样本人脸图像对应的可用综合特征向量; 训练单元, 用于利用所述 Z个样本人脸图像对应的可用综合特征向量对身 份 -年龄因子模型进行训练, 以确定所述身份 -年龄因子模型的模型参数, 其中, 所述可用综合特征向量通过身份-年龄因子模型描述, The acquisition unit is used to obtain the available comprehensive feature vectors corresponding to the Z sample face images; the training unit is used to train the identity-age factor model using the available comprehensive feature vectors corresponding to the Z sample face images to determine Model parameters of the identity-age factor model, wherein, the available comprehensive feature vector is described by the identity-age factor model,
其中, 所述身份-年龄因子模型如下: Among them, the identity-age factor model is as follows:
Figure imgf000116_0001
Figure imgf000116_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 Among them, the ^ represents the available comprehensive feature vector, and the ^ represents the sample feature average mean value, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the U represents the high
斯白噪声, G 〜 N ( VQ ' σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子, 其中, 所述模型参数 — υ, V, σ } 。 White noise, G ~ N (VQ ' σ 2 ΐ), the X represents the identity factor, the y represents the age factor, where, the model parameters — υ, V, σ }.
26、 根据权利要求 25所述的装置, 其特征在于, 所述可用综合特征向量基 于梯度方向直方图得到。 26. The device according to claim 25, wherein the available comprehensive feature vector is obtained based on a gradient direction histogram.
27、 一种身份识别系统, 其特征在于, 包括: 27. An identity recognition system, characterized by including:
客户端, 用于向身份识别服务器发送待识别的人脸图像; Client, used to send face images to be recognized to the identity recognition server;
其中, 所述身份识别服务器, 用于接收来自所述客户端的所述待识别的人 脸图像,对所述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸 图像对应的可用综合特征向量, 其中, 所述可用综合特征向量由用于描述所述 待识别的人脸图像所对应人物的身份的身份因子和用于描述所述待识别的人 脸图像所对应人物的年龄的年龄因子共同确定, 其中, 所述身份因子和所述年 龄因子互不相关;基于所述待识别的人脸图像对应的可用综合特征向量计算所 述待识别的人脸图像所对应的身份特征向量;计算所述待识别的人脸图像对应 的身份特征向量与 Ζ个样本人脸图像中的每个样本人脸图像所对应身份特征向 量的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Ζ为正整数; 想 所述客户端输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人 脸图像为所述 Ζ个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 ζ个 样本人脸图像之中除所述 Z1个样本人脸图像之外的其它样本人脸图像对应的 身份特征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Wherein, the identity recognition server is configured to receive the face image to be recognized from the client, and perform feature extraction processing on the face image to be recognized to obtain the face image corresponding to the face image to be recognized. Available comprehensive feature vectors, wherein the available comprehensive feature vector consists of an identity factor used to describe the identity of the person corresponding to the face image to be recognized and an age factor used to describe the person corresponding to the face image to be recognized The age factor of is jointly determined, wherein the identity factor and the age factor are not related to each other; the identity feature corresponding to the face image to be recognized is calculated based on the available comprehensive feature vector corresponding to the face image to be recognized. Vector; calculate the similarity between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images, where the identity feature vector is represented by the identity factor It is determined that Z is a positive integer; I want the client to output identity information corresponding to Z1 sample face images, where the Z1 sample face images are a subset of the Z sample face images, so The similarity between the identity feature vectors corresponding to the Z1 sample face images and the identity feature vector corresponding to the face image to be recognized is greater than the Z1 sample face images among the Z1 sample face images. The similarity between the identity feature vector corresponding to other sample face images and the identity feature vector corresponding to the face image to be recognized, or the
Z1个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份 特征向量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的 身份信息为所述待识别的人脸图像对应的可能身份信息。 The similarity between the identity feature vectors corresponding to the Z1 sample face images and the identity feature vector corresponding to the face image to be recognized is greater than the set threshold, wherein the identity information corresponding to the output Z1 sample face images Possible identity information corresponding to the face image to be recognized.
28、 根据权利要求 27所述的身份识别系统, 其特征在于, 28. The identity recognition system according to claim 27, characterized in that,
所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000118_0001
The available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model, where the identity-age factor model is as follows:
Figure imgf000118_0001
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高 〜 Among them, the ^ represents the available comprehensive feature vector, the ^ represents the average value of the sample characteristics, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the represents high ~
斯白噪声, G Ν (0 σ2ΐ),所述 X表示身份因子,所述 y 表 示年龄因子。 White noise, G N (0 σ 2 ΐ), the X represents the identity factor, and the y represents the age factor.
29、 根据权利要求 28所述的身份识别系统, 其特征在于, 在所述基于所述 待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对 应的身份特征向量的方面, 所述身份识别服务器具体用于, 通过如下方式, 基 于所述待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图 像所对应的身份特征向量: 29. The identity recognition system according to claim 28, wherein the identity feature vector corresponding to the face image to be recognized is calculated based on the available comprehensive feature vector corresponding to the face image to be recognized. In aspect, the identity recognition server is specifically configured to calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner:
Figure imgf000118_0002
Figure imgf000118_0002
其中, 所述 1 表示所述身份特征向量, 其中, 所述
Figure imgf000118_0003
= σ2/ + [/ +ν^
where, the 1 represents the identity feature vector, where, the
Figure imgf000118_0003
= σ 2 / + [/ +ν^
30、 根据权利要求 27所述的身份识别系统, 其特征在于, 所述待识别的人 脸图像对应的可用综合特征向量通过身份 -年龄因子模型描述,
Figure imgf000119_0001
30. The identity recognition system according to claim 27, characterized in that, the available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model,
Figure imgf000119_0001
其中, 所述身份-年龄因子模型如下:
Figure imgf000119_0002
Among them, the identity-age factor model is as follows:
Figure imgf000119_0002
其中, 所述 Among them, the
其中, 所述 T丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 Among them, the T丄 represents the available comprehensive feature vector, and the n represents the available comprehensive feature vector.
T T
特征向量的分段总数, 所述
Figure imgf000119_0003
表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000119_0004
表示所述
Figure imgf000119_0005
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 4表示所述 q 对应的高斯白噪
The total number of segments of the feature vector, described
Figure imgf000119_0003
Represents the available comprehensive feature subvector corresponding to the segment q, the
Figure imgf000119_0004
express the stated
Figure imgf000119_0005
The average value of sample features corresponding to q, where, represents the identity factor corresponding to q, represents the The age factor corresponding to the above q, where, the 4 represents the Gaussian white noise corresponding to the above q
31、 根据权利要求 30所述的身份识别系统, 其特征在于, 在所述基于所述 待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像所对 应的身份特征向量的方面, 所述身份识别服务器具体用于,通过如下方式基于 所述待识别的人脸图像对应的可用综合特征向量计算所述待识别的人脸图像 所对应的身份特征向量: 31. The identity recognition system according to claim 30, wherein the identity feature vector corresponding to the face image to be recognized is calculated based on the available comprehensive feature vector corresponding to the face image to be recognized. In aspect, the identity recognition server is specifically configured to calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner:
Figure imgf000120_0001
Figure imgf000120_0001
U U
其中, 所述 q— q _p q ' q 其中,所述
Figure imgf000120_0002
量,所述 J J a q 表示所述 的分段 q对应的身份特征向量。
where, the q— q _p q ' q where, the
Figure imgf000120_0002
quantity, the J J aq represents the identity feature vector corresponding to the segment q.
32, 一种身份识别设备, 其特征在于, 包括: 32. An identity recognition device, characterized by including:
处理器和存储器; processor and memory;
其中, 所述处理器用于,对待识别的人脸图像进行特征提取处理以得到所 述待识别的人脸图像对应的可用综合特征向量, 其中, 所述可用综合特征向量 由用于描述所述待识别的人脸图像所对应人物的身份的身份因子和用于描述 所述待识别的人脸图像所对应人物的年龄的年龄因子共同确定, 其中, 所述身 份因子和所述年龄因子互不相关;基于所述待识别的人脸图像对应的可用综合 特征向量计算所述待识别的人脸图像所对应的身份特征向量;计算所述待识别 的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人脸图像所 对应身份特征向量的相似度, 其中, 所述身份特征向量由身份因子确定, 所述 Z为正整数; 输出 Z1个样本人脸图像对应的身份信息, 其中, 所述 Z1个样本人 脸图像为所述 Z个样本人脸图像的子集, 所述 Z1个样本人脸图像对应的身份特 征向量与所述待识别的人脸图像对应的身份特征向量的相似度, 大于所述 z个 样本人脸图像之中除所述 Z 1个样本人脸图像之外的其它样本人脸图像对应的 身份特征向量与所述待识别的人脸图像对应的身份特征向量的相似度,或所述 Wherein, the processor is configured to perform feature extraction processing on the face image to be recognized to obtain an available comprehensive feature vector corresponding to the face image to be recognized, wherein the available comprehensive feature vector is It is jointly determined by an identity factor used to describe the identity of the person corresponding to the face image to be recognized and an age factor used to describe the age of the person corresponding to the face image to be recognized, where the identity factor and The age factors are independent of each other; calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized; calculate the identity feature vector corresponding to the face image to be recognized The similarity between the identity feature vector and the identity feature vector corresponding to each of the Z sample face images, where the identity feature vector is determined by the identity factor, and Z is a positive integer; Z1 samples are output Identity information corresponding to the face image, wherein the Z1 sample face images are a subset of the Z sample face images, and the identity feature vectors corresponding to the Z1 sample face images are consistent with the to-be-identified The similarity of the identity feature vectors corresponding to the face images is greater than the identity feature vectors corresponding to the other sample face images among the z sample face images except the Z 1 sample face images and the identity feature vectors to be The similarity of the identity feature vector corresponding to the recognized face image, or the
Z1个样本人脸图像对应的身份特征向量与所述待识别的人脸图像对应的身份 特征向量的相似度大于设定阔值,其中,所述输出的 Z1个样本人脸图像对应的 身份信息为所述待识别的人脸图像对应的可能身份信息。 The similarity between the identity feature vectors corresponding to the Z1 sample face images and the identity feature vector corresponding to the face image to be recognized is greater than the set threshold, wherein the identity information corresponding to the output Z1 sample face images Possible identity information corresponding to the face image to be recognized.
33、 根据权利要求 32所述的身份识别设备, 其特征在于, 33. The identity recognition device according to claim 32, characterized in that,
所述处理器用于: 对待识别的人脸图像进行预处理; 对进行预处理后的所 述待识别的人脸图像进行特征提取处理以得到所述待识别的人脸图像对应的 可用综合特征向量。 The processor is configured to: preprocess the face image to be recognized; perform feature extraction processing on the preprocessed face image to be recognized to obtain an available comprehensive feature vector corresponding to the face image to be recognized. .
34、 根据权利要求 33所述的身份识别设备, 其特征在于, 所述处理器用于 从进行预处理后的所述待识别的人脸图像中提取原始综合特征向量,对提取到 的所述原始综合特征向量进行降维处理以得到所述待识别的人脸图像对应的 可用综合特征向量。 34. The identity recognition device according to claim 33, characterized in that, the processor is configured to extract an original comprehensive feature vector from the preprocessed face image to be recognized, and perform the extraction of the original comprehensive feature vector. The comprehensive feature vector is subjected to dimensionality reduction processing to obtain an available comprehensive feature vector corresponding to the face image to be recognized.
35、 根据权利要求 32至 34所述的身份识别设备, 其特征在于, 所述原始综 合特征向量或可用综合特征向量基于梯度方向直方图得到。 35. The identity recognition device according to claims 32 to 34, characterized in that the original comprehensive feature vector or the available comprehensive feature vector is obtained based on a gradient direction histogram.
36、 根据权利要求 32至 35任一项所述的身份识别设备, 其特征在于, 所述待识别的人脸图像对应的可用综合特征向量通过身份 -年龄因子模型 描述, 其中, 所述身份-年龄因子模型如下:
Figure imgf000122_0001
36. The identity recognition device according to any one of claims 32 to 35, characterized in that, the available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model, wherein, the identity- The age factor model is as follows:
Figure imgf000122_0001
其中, 所述
Figure imgf000122_0002
表示所述可用综合特征向量, 所述 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数, 所述 表示高
Among them, the
Figure imgf000122_0002
represents the available comprehensive feature vector, the mean value, the U represents the identity factor coefficient, the V represents the age factor coefficient, and represents the high
~
斯白噪声, G N( VQ ' σ2ΐ),所述 X表示身份因子,所述 y表 示年龄因子。 White noise, GN (VQ ' σ 2 ΐ), the X represents the identity factor, and the y represents the age factor.
37、 根据权利要求 36所述的身份识别设备, 其特征在于, 37. The identity recognition device according to claim 36, characterized in that,
所述处理器用于: 通过如下方式,基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: The processor is configured to: calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner:
F二 ΓΣF2 ΓΣ
Figure imgf000122_0003
Figure imgf000122_0003
其中, 所述
Figure imgf000122_0004
表示所述身份特征向量,
Among them, the
Figure imgf000122_0004
represents the identity feature vector,
2 τ . ττττΤ Τ 2 τ . ττττΤ Τ
∑ 二 ∑ Two
其中, 所述 σΊ + UU1 +W Among them, the σΊ + UU 1 +W
38、 根据权利要求 32至 35任一项所述的身份识别设备, 其特征在于, 所述 待识别的人脸图像对应的可用综合特征向量通过身份-年龄因子模型描述, 38. The identity recognition device according to any one of claims 32 to 35, characterized in that the available comprehensive feature vector corresponding to the face image to be recognized is described by an identity-age factor model,
Figure imgf000122_0005
其中, 所述身份-年龄因子模型如下:
Figure imgf000123_0001
Figure imgf000122_0005
Among them, the identity-age factor model is as follows:
Figure imgf000123_0001
其中, 所述 其中, 所述 τ表示所述可用综合特征向量, 所述 η表示所述可用综合 Among them, the τ represents the available comprehensive feature vector, and the η represents the available comprehensive feature vector.
\η Τ \ η Τ
特征向量的分段总数, 所述 q 表示所述 的分段 q对应的可用综合特 征子向量, 所述
Figure imgf000123_0002
表示所述
Figure imgf000123_0003
q 对应的样本特征平均 值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 述 q 对应的年龄因子, 其中, 所述 表示所述 q 对应的高斯白噪 声, 〜 N[ 0, q 2I
The total number of segments of the feature vector, the q represents the available comprehensive feature subvector corresponding to the segment q, the
Figure imgf000123_0002
express the stated
Figure imgf000123_0003
The average value of the sample features corresponding to q, where, represents the identity factor corresponding to the q, represents the age factor corresponding to the q, wherein, represents the Gaussian white noise corresponding to the q, ~ N[ 0 , q 2 I
39、 根据权利要求 38所述的身份识别设备, 其特征在于, 39. The identity recognition device according to claim 38, characterized in that,
所述处理器用于: 通过如下方式,基于所述待识别的人脸图像对应的可用 综合特征向量计算所述待识别的人脸图像所对应的身份特征向量: The processor is configured to: calculate the identity feature vector corresponding to the face image to be recognized based on the available comprehensive feature vector corresponding to the face image to be recognized in the following manner:
Figure imgf000124_0001
中, 所述 q q
That
Figure imgf000124_0001
In, the qq
其中,所述 F表示所述身份特征向量,所述
Figure imgf000124_0002
的分段 q对应的身份特征向量。
Wherein, the F represents the identity feature vector, and the
Figure imgf000124_0002
The identity feature vector corresponding to the segment q.
40、 根据权利要求 31至 38任意一项所述的身份识别设备, 其特征在于, 所 述待识别的人脸图像对应的身份特征向量与 Z个样本人脸图像中的每个样本人 脸图像所对应身份特征向量的相似度,通过所述待识别的人脸图像对应的身份 特征向量与 Z个样本人脸图像中的每个样本人脸图像所对应身份特征向量的余 弦距离或欧氏距离或曼哈顿距离来表征。 40. The identity recognition device according to any one of claims 31 to 38, characterized in that the identity feature vector corresponding to the face image to be recognized is identical to each of the Z sample face images. The similarity of the corresponding identity feature vectors is determined by the cosine distance or Euclidean distance between the identity feature vector corresponding to the face image to be recognized and the identity feature vector corresponding to each of the Z sample face images. Or represented by Manhattan distance.
41、 一种模型训练设备, 其特征在于, 包括: 41. A model training device, characterized by including:
处理器和存储器; processor and memory;
其中,所述处理器用于,获取 Z个样本人脸图像对应的可用综合特征向量; 利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进 行训练, 以确定所述身份-年龄因子模型的模型参数; 其中, 所述可用综合特 征向量通过身份-年龄因子模型描述,
Figure imgf000125_0001
Wherein, the processor is configured to obtain available comprehensive feature vectors corresponding to Z sample face images; and use the available comprehensive feature vectors corresponding to the Z sample face images to train the identity-age factor model to determine the Model parameters of the identity-age factor model; wherein, the available comprehensive feature vector is described by the identity-age factor model,
Figure imgf000125_0001
其中, 所述
Figure imgf000125_0002
的分段 q对应的可用综合特征子向量对应的身份 -年龄因 子模型如下:
Among them, the
Figure imgf000125_0002
The identity-age factor model corresponding to the available comprehensive feature subvector corresponding to the segment q is as follows:
Figure imgf000125_0003
中, 所述
That
Figure imgf000125_0003
in, stated
其中, 所述丄 表示所述可用综合特征向量, 所述 n表示所述可用综合 T Among them, the 丄 represents the available comprehensive feature vector, and the n represents the available comprehensive T
特征向量的分段总数, 所述
Figure imgf000125_0004
表示所述 的分段 q对应的可用综合特
The total number of segments of the feature vector, described
Figure imgf000125_0004
Indicates the available comprehensive characteristics corresponding to the segment q
征子向量, 所述
Figure imgf000125_0005
表示所述
Figure imgf000125_0006
q 对应的样本特征平均
eigenvector, described
Figure imgf000125_0005
express the stated
Figure imgf000125_0006
The average sample feature corresponding to q
值, 其中, 所述 表示所述 q 对应的身份因子, 所述 表示所 ' q 对应的年龄因子, 其中, 所述 q表示所述 t 对应的高斯白噪
Figure imgf000126_0001
value, where, said represents the identity factor corresponding to said q, said represents the ' The age factor corresponding to q, where, the q represents the Gaussian white noise corresponding to the t
Figure imgf000126_0001
其中, 所述 T丄 的分段 q对应的可用综合特征子向量对应的身份 -年龄因 Among them, the identity-age factor corresponding to the available comprehensive feature subvector corresponding to the segment q of T丄
Θ 二 {β , U , V, ση 2 } Θ 二 {β , U , V , σ η 2 }
子模型的模型参数 q q q q qModel parameters qqqqq of the submodel.
42、 根据权利要求 41所述的模型训练设备, 其特征在于, 所述可用综合特 征向量基于梯度方向直方图得到。 42. The model training device according to claim 41, wherein the available comprehensive feature vector is obtained based on a gradient direction histogram.
43、 一种模型训练设备, 其特征在于, 包括: 43. A model training device, characterized by including:
处理器和存储器, processor and memory,
其中,所述处理器用于,获取 Z个样本人脸图像对应的可用综合特征向量; 利用所述 Z个样本人脸图像对应的可用综合特征向量对身份 -年龄因子模型进 行训练, 以确定所述身份 -年龄因子模型的模型参数, Wherein, the processor is configured to obtain available comprehensive feature vectors corresponding to Z sample face images; and use the available comprehensive feature vectors corresponding to the Z sample face images to train the identity-age factor model to determine the Model parameters of the identity-age factor model,
其中, 所述可用综合特征向量通过身份-年龄因子模型描述, Wherein, the available comprehensive feature vector is described by the identity-age factor model,
其中, 所述身份-年龄因子模型如下:
Figure imgf000126_0002
Among them, the identity-age factor model is as follows:
Figure imgf000126_0002
其中, 所述 ^ 表示所述可用综合特征向量, 所述^表示样本特征平 均值, 所述 U表示身份因子系数, 所述 V表示年龄因子系数,, 所述 表示高 斯白噪声, G 〜 I Νίθ σ2Ι\,所述
Figure imgf000127_0001
示年龄因子, 其中, 所述模型参数 Θ二、 β, U, V, σ2}
Wherein, the ^ represents the available comprehensive feature vector, the ^ represents the sample feature average, the U represents the identity factor coefficient, the V represents the age factor coefficient, and the represents high White noise, G ~ I Νίθ σ 2 Ι\, described
Figure imgf000127_0001
represents the age factor, where, the model parameters Θ2, β, U, V, σ 2 }
44、 根据权利要求 43所述的模型训练设备, 其特征在于, 所述可用综合特 征向量基于梯度方向直方图得到。 44. The model training device according to claim 43, wherein the available comprehensive feature vector is obtained based on a gradient direction histogram.
45、 一种计算机存储介质, 其特征在于, 所述计算机存储介质可存储有程 序, 所述程序执行时包括权利要求 1至 13任意一项所述的步骤。 45. A computer storage medium, characterized in that the computer storage medium can store a program, and when executed, the program includes the steps described in any one of claims 1 to 13.
PCT/CN2014/081636 2013-11-29 2014-07-04 Image identity recognition method and related device, and identity recognition system WO2015078183A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310632582.0 2013-11-29
CN201310632582.0A CN104680119B (en) 2013-11-29 2013-11-29 Image personal identification method and relevant apparatus and identification system

Publications (1)

Publication Number Publication Date
WO2015078183A1 true WO2015078183A1 (en) 2015-06-04

Family

ID=53198301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081636 WO2015078183A1 (en) 2013-11-29 2014-07-04 Image identity recognition method and related device, and identity recognition system

Country Status (2)

Country Link
CN (1) CN104680119B (en)
WO (1) WO2015078183A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171185A (en) * 2018-01-03 2018-06-15 阿里巴巴集团控股有限公司 The method, apparatus and system of identification
CN109829782A (en) * 2019-01-03 2019-05-31 深圳壹账通智能科技有限公司 Cigarette sells control method and device, storage medium and electronic equipment
CN110309691A (en) * 2018-03-27 2019-10-08 腾讯科技(深圳)有限公司 A kind of face identification method, device, server and storage medium
CN110674748A (en) * 2019-09-24 2020-01-10 腾讯科技(深圳)有限公司 Image data processing method, image data processing device, computer equipment and readable storage medium
US10607110B2 (en) 2016-02-22 2020-03-31 International Business Machines Corporation Generating a reference digital image based on an indicated time frame and searching for other images using the reference digital image
CN110969072A (en) * 2018-09-30 2020-04-07 杭州海康威视系统技术有限公司 Model optimization method and device and image analysis system
CN111291765A (en) * 2018-12-07 2020-06-16 北京京东尚科信息技术有限公司 Method and device for determining similar pictures
CN111652049A (en) * 2020-04-17 2020-09-11 北京三快在线科技有限公司 Face image processing model training method and device, electronic equipment and storage medium
CN112149530A (en) * 2020-09-08 2020-12-29 安徽兰臣信息科技有限公司 It is alert with wearing glasses based on children cross age bracket noninductive face identification technique
CN113408556A (en) * 2020-03-16 2021-09-17 杭州海康威视数字技术股份有限公司 Identity recognition method and device
US20210342577A1 (en) * 2018-10-16 2021-11-04 University Of Seoul Industry Cooperation Foundation Face recognition method and face recognition device
CN114463830A (en) * 2022-04-14 2022-05-10 合肥的卢深视科技有限公司 Genetic relationship determination method, device, electronic device and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899579A (en) * 2015-06-29 2015-09-09 小米科技有限责任公司 Face recognition method and face recognition device
CN105654056A (en) * 2015-12-31 2016-06-08 中国科学院深圳先进技术研究院 Human face identifying method and device
CN106951857A (en) * 2017-03-17 2017-07-14 山东浪潮商用系统有限公司 A kind of identity based reminding method, apparatus and system
CN107357799B (en) * 2017-05-17 2020-04-24 广州视源电子科技股份有限公司 Method and device for evaluating registration upper limit of face recognition system
CN109509144B (en) * 2018-11-01 2023-05-23 中山大学 Face aging method based on countermeasure generation network and related to occupation
CN109523463B (en) * 2018-11-20 2023-04-07 中山大学 Face aging method for generating confrontation network based on conditions
CN113128278A (en) * 2019-12-31 2021-07-16 华为技术有限公司 Image identification method and device
CN111738194B (en) * 2020-06-29 2024-02-02 深圳力维智联技术有限公司 Method and device for evaluating similarity of face images
CN112395859A (en) * 2020-11-20 2021-02-23 中国平安人寿保险股份有限公司 Text processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098225A1 (en) * 2005-10-28 2007-05-03 Piccionelli Gregory A Age verification method for website access
CN101819628A (en) * 2010-04-02 2010-09-01 清华大学 Method for performing face recognition by combining rarefaction of shape characteristic
CN101833672A (en) * 2010-04-02 2010-09-15 清华大学 Sparse representation face identification method based on constrained sampling and shape feature
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8837787B2 (en) * 2012-04-05 2014-09-16 Ancestry.Com Operations Inc. System and method for associating a photo with a data structure node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098225A1 (en) * 2005-10-28 2007-05-03 Piccionelli Gregory A Age verification method for website access
CN101819628A (en) * 2010-04-02 2010-09-01 清华大学 Method for performing face recognition by combining rarefaction of shape characteristic
CN101833672A (en) * 2010-04-02 2010-09-15 清华大学 Sparse representation face identification method based on constrained sampling and shape feature
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10607110B2 (en) 2016-02-22 2020-03-31 International Business Machines Corporation Generating a reference digital image based on an indicated time frame and searching for other images using the reference digital image
CN108171185B (en) * 2018-01-03 2020-06-30 阿里巴巴集团控股有限公司 Identity recognition method, device and system
CN108171185A (en) * 2018-01-03 2018-06-15 阿里巴巴集团控股有限公司 The method, apparatus and system of identification
CN110309691A (en) * 2018-03-27 2019-10-08 腾讯科技(深圳)有限公司 A kind of face identification method, device, server and storage medium
CN110309691B (en) * 2018-03-27 2022-12-27 腾讯科技(深圳)有限公司 Face recognition method, face recognition device, server and storage medium
CN110969072B (en) * 2018-09-30 2023-05-02 杭州海康威视系统技术有限公司 Model optimization method, device and image analysis system
CN110969072A (en) * 2018-09-30 2020-04-07 杭州海康威视系统技术有限公司 Model optimization method and device and image analysis system
US20210342577A1 (en) * 2018-10-16 2021-11-04 University Of Seoul Industry Cooperation Foundation Face recognition method and face recognition device
US11594073B2 (en) * 2018-10-16 2023-02-28 University Of Seoul Industry Cooperation Foundation Face recognition method and face recognition device
CN111291765A (en) * 2018-12-07 2020-06-16 北京京东尚科信息技术有限公司 Method and device for determining similar pictures
CN109829782A (en) * 2019-01-03 2019-05-31 深圳壹账通智能科技有限公司 Cigarette sells control method and device, storage medium and electronic equipment
CN110674748A (en) * 2019-09-24 2020-01-10 腾讯科技(深圳)有限公司 Image data processing method, image data processing device, computer equipment and readable storage medium
CN110674748B (en) * 2019-09-24 2024-02-13 腾讯科技(深圳)有限公司 Image data processing method, apparatus, computer device, and readable storage medium
CN113408556B (en) * 2020-03-16 2023-08-22 杭州海康威视数字技术股份有限公司 Identity recognition method and device
CN113408556A (en) * 2020-03-16 2021-09-17 杭州海康威视数字技术股份有限公司 Identity recognition method and device
CN111652049A (en) * 2020-04-17 2020-09-11 北京三快在线科技有限公司 Face image processing model training method and device, electronic equipment and storage medium
CN112149530A (en) * 2020-09-08 2020-12-29 安徽兰臣信息科技有限公司 It is alert with wearing glasses based on children cross age bracket noninductive face identification technique
CN114463830A (en) * 2022-04-14 2022-05-10 合肥的卢深视科技有限公司 Genetic relationship determination method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN104680119A (en) 2015-06-03
CN104680119B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
WO2015078183A1 (en) Image identity recognition method and related device, and identity recognition system
Gong et al. Heterogeneous face recognition: A common encoding feature discriminant approach
WO2019119505A1 (en) Face recognition method and device, computer device and storage medium
JP5552519B2 (en) Construction of face feature vector
EP3084682B1 (en) System and method for identifying faces in unconstrained media
WO2019109526A1 (en) Method and device for age recognition of face image, storage medium
JP5418991B2 (en) Personal authentication system, personal authentication method
WO2017088432A1 (en) Image recognition method and device
CN109255392B (en) Video classification method, device and equipment based on non-local neural network
CN109711358B (en) Neural network training method, face recognition system and storage medium
CN110503076B (en) Video classification method, device, equipment and medium based on artificial intelligence
AU2019200711B2 (en) Biometric verification
Dhall et al. Finding happiest moments in a social context
WO2008015586A2 (en) Face recognition with combined pca-based datasets
WO2021223738A1 (en) Method, apparatus and device for updating model parameter, and storage medium
CN106503655A (en) A kind of electric endorsement method and sign test method based on face recognition technology
CN115408558A (en) Long video retrieval method and device based on multi-scale multi-example similarity learning
CN109816543B (en) Image searching method and device
CN113255557B (en) Deep learning-based video crowd emotion analysis method and system
CN111382791A (en) Deep learning task processing method, image recognition task processing method and device
CN109636867B (en) Image processing method and device and electronic equipment
TW201828156A (en) Image identification method, measurement learning method, and image source identification method and device capable of effectively dealing with the problem of asymmetric object image identification so as to possess better robustness and higher accuracy
Dong et al. A supervised dictionary learning and discriminative weighting model for action recognition
CN112070744B (en) Face recognition method, system, device and readable storage medium
JP2015041293A (en) Image recognition device and image recognition method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14865864

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14865864

Country of ref document: EP

Kind code of ref document: A1