CN105956571A - Age estimation method for face image - Google Patents
Age estimation method for face image Download PDFInfo
- Publication number
- CN105956571A CN105956571A CN201610317460.6A CN201610317460A CN105956571A CN 105956571 A CN105956571 A CN 105956571A CN 201610317460 A CN201610317460 A CN 201610317460A CN 105956571 A CN105956571 A CN 105956571A
- Authority
- CN
- China
- Prior art keywords
- matrix
- facial image
- estimation method
- age
- age estimation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/178—Human faces, e.g. facial parts, sketches or expressions estimating age from face image; using age information for improving recognition
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to an age estimation method for a face image. The age estimation method comprises the following five parts: (1) an image is blocked; (2) a matrix after blocking processing is learnt by using a PCA algorithm so as to acquire a convolution kernel for a convolution operation; (3) the acquired convolution kernel is learnt by using the PCA algorithm so as to carry out the convolution operation; (4) nonlinear processing is carried out behind a second convolution layer by using a mode of binarization; and (5) feature extraction is carried out by using a method of histogram statistics. According to the method, an age value is estimated by using nonlinear K-SVR (Kernel function Support Vector Regression) after feature extraction, and experiments show that the accuracy of age estimation can be greatly improved.
Description
Technical field
The present invention relates to face estimation of Age field, the age of a kind of facial image based on degree of depth learning model
Method of estimation.
Background technology
In face age automatic estimating system, being generally divided into two stages, first stage is to extract age characteristics, the
Two stages are to estimate the age, generally research it is important that how to extract optimal age characteristics.Existing estimation of Age system
In, learn or extract the method for age characteristics to can be generally divided into manual extraction age characteristics and automatic learning age feature.Hands
The dynamic method extracting age characteristics representative has LBP (Local Binary Patterns, LBP), SIFT (Scale-
Invariant Feature Transform, SIFT), subspace model etc., the shortcoming that manual extraction feature exists is by people
The impact selected for subjectivity.Although manually selecting feature may obtain extraordinary effect in some field, being primarily due to can
To select the feature adapted to for a certain specific data type, but facing to new data or new under conditions of, manually
Select feature mode to differ to be suitable for surely, be in this way difficult to adapt to the application in reality.
The degree of depth study that nearly this year rises, is also used for learning or extracting age characteristics.Degree of depth study is in machine learning
A field, its motivation setting up, the simulation neutral net that is analyzed of human brain, the mechanism that it imitates human brain explains number
According to.Degree of depth study structure contains many hidden layers, its by combination low-level feature formed more abstract high-rise represent attribute classification or
Feature, to find that the distribution characteristics of data represents.But existing degree of depth study structure parameter when hidden layer number increases sharply increases,
Operational performance is proposed higher requirement.This is also in the problem using degree of depth study to be faced and need to solve.
Summary of the invention
Present invention is primarily targeted at and overcome drawbacks described above of the prior art, propose a kind of based on degree of depth study
The age estimation method of the facial image of DLPCANet model, the method can provide a kind of efficient learning age feature, have
The too much problem of solution model parameter of effect, and realize Fast Learning and high accuracy estimation age.
The present invention adopts the following technical scheme that
A kind of age estimation method of facial image, it is characterised in that:
1) after the facial image of input being carried out pretreatment, then piecemeal, each block is gone equalization, processes successively
The facial image of all inputs, thus obtain a big matrix comprising all pieces;
2) obtain the convolution kernel of ground floor convolution operation from big matrix learning with PCA algorithm;
3) the output characteristic maps after ground floor convolution operation carried out piecemeal and goes equalization to process, obtaining another big square
Battle array, uses PCA algorithm to obtain the convolution kernel of second layer convolution operation from this big matrix learning;
4) feature maps of output after second layer convolution operation is carried out Nonlinear Processing;
5) output valve after conversion is divided into some pieces, each block rectangular histogram is added up, by all pieces of connections
Become a vector, obtain the feature of input picture;
6) feature of input picture is estimated the age with non-linear support vector regression.
Preferably, in step 1) described in pretreatment be binaryzation, smooth and standardization, obtain gray level image.
Preferably, in step 1) in, it is assumed that input picture, after pretreatment, obtains the gray-scale map that size is m × n-pixel
All gray level images obtained are carried out piecemeal by picture respectively, it is assumed that the size of each block is p1×p2, step in blocking process
Cut down as s1=s2=1, then the i-th-th opens the piecemeal result of input picture and is expressed asWhereinTo AiIn each block carry out equalization after be
Processing all input pictures successively and obtain a big matrix, it is expressed asWhereinThe size representing each block is p1p2× 1,The size of representing matrix A is p1p2×Nm1n1, the span of i
It is 1≤i≤N.
Preferably, in step 2) in, the described volume obtaining ground floor convolution operation with PCA algorithm from big matrix learning
Long-pending core, specific as follows, it is assumed that the convolution kernel number of the 1st layer is L1, PCA algorithm is so that following objective functions reconstructed error is
Little, its object function is:
WhereinFor unit matrix, its size is L1×L1, solve this object function and be matrix A ATCarry out eigenvalue
Decompose, choose L1Characteristic vector corresponding to the eigenvalue of individual maximum is as follows as its expression formula of convolution kernel of convolution operation:
WhereinRepresent handleIt is transformed into matrixForm, pl(XXT) represent solution matrix AAT
Main characteristic vector.
Preferably, in step 3) in, it is assumed that the convolution operation of second convolutional layer isWhereinTable
Show the output valve of first convolutional layer, Wl 2It it is convolution kernel.
Preferably, in step 4) in, described Nonlinear Processing includes first binaryzation, is reconverted into decimal value, table
Reaching formula isWherein δ represents binary conversion treatment,Span be
Preferably, in step 6) in, use the Selection of kernel function RBF in non-linear support vector regression.
From the above-mentioned description of this invention, compared with prior art, there is advantages that
The method of the present invention, carries out feature extraction based on degree of depth learning model, with non-linear support vector regression K-SVR
(Kernel function Support Vector Regression) estimates age value, can effectively solve the problem that model parameter
Too much problem, and realize Fast Learning and high accuracy estimation age.
Accompanying drawing explanation
Fig. 1 is the degree of depth learning model flow chart of the present invention, wherein patch-mean removal represent equalization,
Convolutional Layer C1 represents that first convolutional layer, Convolutional Layer C2 represent second convolution
Layer, Binary quantization and mapping represent binaryzation and mapping, Concatenated image
Block-wise histogram represents the statistics with histogram of all pieces in connection image.
Fig. 2 is that input picture piecemeal (patch) processes schematic diagram.
Fig. 3 is the window form trying to achieve characteristic vector and being transformed into convolution kernel.
Fig. 4 is first convolutional layer operation chart.
Fig. 5 is second convolutional layer operation chart.
Fig. 6 is the schematic diagram of non-linear layer operation.
Fig. 7 is that feature extraction layer carries out piecemeal schematic diagram.
Fig. 8 is the sample schematic diagram of two age public data storehouse MORPH and FG-NET.
Fig. 9 is to estimate age value two public data storehouse MORPH and FG-NET parts.
Detailed description of the invention
Below by way of detailed description of the invention, the invention will be further described.
In FIG, it is known that, the present invention is age estimation method based on degree of depth learning model DLPCANet, this degree of depth
Practise model and comprise three layers, be convolutional layer (The Convolutional Layer), non-linear layer (The Nonlinear respectively
Process Layer), feature extraction layer (Feature Pooling Layer).
Referring to figs. 1 through Fig. 7, the age estimation method of a kind of facial image of the present invention, comprise the steps:
1) facial image of input being carried out pretreatment, including binaryzation, smooth and standardization, obtaining size is m × n picture
All gray level images obtained are carried out piecemeal, as illustrated in fig. 2, it is assumed that the size of each block is by the gray level image of element respectively
p1×p2, the paces in blocking process are s1=s2=1, blocking process can also regard that with a window size be s as1=
s2The row and column of image is scanned by=1.Then the i-th-th opens the piecemeal result of input picture and is expressed asWhereinTo AiIn each block go
After equalization it isProcessing all input pictures successively and obtain a big matrix, it represents
For:
WhereinThe size representing each block is p1p2× 1,The size of representing matrix A is p1p2×
Nm1n1, the span of i is 1≤i≤N.
2) obtain the convolution kernel of ground floor convolution operation from big matrix A learning with PCA algorithm.Wherein convolution kernel number is just
It is that PCA algorithm tries to achieve characteristic vector.As it is shown on figure 3, be the window-shaped characteristic vector solved being transformed into convolution kernel W
Formula.The convolution kernel number assuming the 1st layer is L1, PCA algorithm is so that following objective functions reconstructed error is minimum, its object function
For:
WhereinFor unit matrix, its size is L1×L1, solving this object function is exactly to matrix A A in factTCarry out spy
Value indicative is decomposed, and chooses L1Characteristic vector corresponding to the eigenvalue of individual maximum is as the convolution kernel of convolution operation, and its expression formula is such as
Under:
WhereinRepresent handleIt is transformed into matrixForm, pl(XXT) represent solution matrix AAT
Main characteristic vector.
Fig. 4 is first convolutional layer operation chart, it is assumed that input picture isPCA Algorithm Learning is used to obtain the
The convolution kernel of one layer convolution operation is Wl 1, l=1,2 ...., L1, use different convolution kernels to go with input picture and roll up
Time long-pending, it is possible to obtain different features maps.So the convolution output of first convolutional layer can be write as:
Wherein, * represents convolution operation, output characteristic mapsSize and input IiEqually, reason is to carry out convolution
During operation, input picture is carried out edge zero padding operation so that the size after convolution is the same with input.
3) the output characteristic maps after ground floor convolution operation carried out piecemeal and go equalization, obtaining another big matrix,
PCA algorithm is used to obtain the convolution kernel of second layer convolution operation from this big matrix learning.Assume the convolution of second convolutional layer
Operation isWhereinRepresent the output valve of first convolutional layer, Wl 2It it is convolution kernel.Concrete: Fig. 5 table
Show second convolutional layer operation chart, the output of first convolutional layerAs the input of second convolutional layer, and ground floor
Convolution equally does same operation, by inputCan be expressed as after carrying out piecemeal and going equalization:
Wherein l=1,2 ... .L2, process the input of all second layers in the same way, can obtain
WhereinWith the spy corresponding to the dominant eigenvalue of PCA Algorithm for Solving matrix Y
Levy the vector convolution kernel W as second convolutional layerl 2.So the convolution of second convolutional layer is output as:
4) Fig. 6 represents non-linear layer operation chart, and feature maps of output after second layer convolution operation is carried out non-thread
Property process, including first binaryzation, be reconverted into decimal value, expression formula is
Wherein δ represents binary conversion treatment,Span be
5) output valve after conversion is divided into some pieces, each block rectangular histogram is added up, by all pieces of connections
Become a vector, obtain the feature of input picture.Particularly as follows: with reference to Fig. 7, be characterized abstraction, layer and carry out piecemeal schematic diagram, non-thread
The output of property layerAs the input value of feature extraction layer,Being divided into Z-block, its size is h1×h2.Each block is used straight
The method of side's figure statistics is added up, and then connects into a vectorial form all of piece, and it is expressed asProcess successivelyL=1,2 ...., L1, input picture I may finally be obtainediFeature be:
Process the sample of all inputs in the same way, the feature of input sample may finally be extracted, so using
Non-linear support vector regression.
6) by the feature of input picture with non-linear support vector regression K-SVR (Kernel function
Supportive Vector Regression, K-SVR) estimate the age.Use the core letter in non-linear support vector regression
Number selects RBF RBF (Radial-Basis Function).
Illustrate
With reference to Fig. 8, face age public data storehouse MORPH and FG-NET, the facial image of the two lane database has
Corresponding age information.MORPH data base comprises 55332 facial images, also comprises the most agnate people, age simultaneously
From 16 years old to 77 years old.FG-NET data base has 1002 facial images, and the image of the inside has highly variable (such as illumination, appearance
Gesture, expression etc.), age several years was from 0 years old to 69 years old.
MORPH data base is randomly selected 5000 images as 5000 images of training set as test set, and for
Little FG-NET data base then randomly selects the image of 80% as training set, and remaining 20% as test set.All of figure
As based on becoming the gray level image that size is 28*28 after pretreatment.Finally predict the outcome and be respectively as follows: at MORPH lane database
Age mean absolute error reached for 4.72 (ages), and the age mean absolute error at FG-NET lane database reached for 4.66 (years
Age), wherein being calculated as of mean absolute errorTkRepresent real age value, PkThe year estimated
Age is worth.Fig. 9 is to estimate age value two public data storehouse MORPH and FG-NET parts.
Above are only the detailed description of the invention of the present invention, but the design concept of the present invention is not limited thereto, all utilize this
Design carries out the change of unsubstantiality to the present invention, all should belong to the behavior invading scope.
Claims (7)
1. the age estimation method of a facial image, it is characterised in that:
1) after the facial image of input being carried out pretreatment, then piecemeal, each block is gone equalization, processes all successively
The facial image of input, thus obtain a big matrix comprising all pieces;
2) obtain the convolution kernel of ground floor convolution operation from big matrix learning with PCA algorithm;
3) the output characteristic maps after ground floor convolution operation carried out piecemeal and go equalization to process, obtaining another big matrix,
PCA algorithm is used to obtain the convolution kernel of second layer convolution operation from this big matrix learning;
4) feature maps of output after second layer convolution operation is carried out Nonlinear Processing;
5) output valve after conversion is divided into some pieces, each block rectangular histogram is added up, connects into one by all pieces
Individual vector, obtains the feature of input picture;
6) feature of input picture is estimated the age with non-linear support vector regression.
The age estimation method of a kind of facial image the most as claimed in claim 1, it is characterised in that: in step 1) described in
Pretreatment is binaryzation, smooth and standardization, obtains gray level image.
The age estimation method of a kind of facial image the most as claimed in claim 1, it is characterised in that: in step 1) in, it is assumed that
Input picture, after pretreatment, obtains the gray level image that size is m × n-pixel, is entered respectively by all gray level images obtained
Row piecemeal, it is assumed that the size of each block is p1×p2, the paces in blocking process are s1=s2=1, then the i-th-th opens input figure
The piecemeal result of picture is expressed asWhereinRight
AiIn each block carry out equalization after beProcess all input pictures successively to obtain
To a big matrix, it is expressed asWhereinRepresent the size of each block
For p1p2× 1,The size of representing matrix A is p1p2×Nm1n1, the span of i is 1≤i≤N.
4. the age estimation method of a kind of facial image as described in claim 1 or 3, it is characterised in that: in step 2) in, institute
The convolution kernel obtaining ground floor convolution operation with PCA algorithm from big matrix learning stated, specific as follows, it is assumed that the volume of the 1st layer
Long-pending core number is L1, PCA algorithm is so that following objective functions reconstructed error is minimum, and its object function is:
WhereinFor unit matrix, its size is L1×L1, solve this object function and be matrix A ATCarry out Eigenvalues Decomposition,
Choose L1Characteristic vector corresponding to the eigenvalue of individual maximum is as follows as its expression formula of convolution kernel of convolution operation:
WhereinRepresent handleIt is transformed into matrixForm, pl(XXT) represent solution matrix AATMaster
Characteristic vector.
The age estimation method of a kind of facial image the most as claimed in claim 4, it is characterised in that: in step 3) in, it is assumed that
The convolution operation of second convolutional layer isWhereinRepresent the output valve of first convolutional layer,It it is volume
Long-pending core.
The age estimation method of a kind of facial image the most as claimed in claim 5, it is characterised in that: in step 4) in, described
Nonlinear Processing include first binaryzation, be reconverted into decimal value, expression formula isWherein δ
Represent binary conversion treatment,Span be
The age estimation method of a kind of facial image the most as claimed in claim 1, it is characterised in that: in step 6) in, use
Selection of kernel function RBF in non-linear support vector regression.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610317460.6A CN105956571B (en) | 2016-05-13 | 2016-05-13 | A kind of age estimation method of facial image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610317460.6A CN105956571B (en) | 2016-05-13 | 2016-05-13 | A kind of age estimation method of facial image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105956571A true CN105956571A (en) | 2016-09-21 |
CN105956571B CN105956571B (en) | 2019-03-12 |
Family
ID=56912476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610317460.6A Active CN105956571B (en) | 2016-05-13 | 2016-05-13 | A kind of age estimation method of facial image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105956571B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454315A (en) * | 2016-10-26 | 2017-02-22 | 深圳市魔眼科技有限公司 | Adaptive virtual view-to-stereoscopic view method and apparatus, and display device |
CN108629264A (en) * | 2017-03-18 | 2018-10-09 | 上海荆虹电子科技有限公司 | Method and apparatus for image procossing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877054A (en) * | 2009-11-23 | 2010-11-03 | 北京中星微电子有限公司 | Method and device for determining age of face image |
US20110222724A1 (en) * | 2010-03-15 | 2011-09-15 | Nec Laboratories America, Inc. | Systems and methods for determining personal characteristics |
CN104036247A (en) * | 2014-06-11 | 2014-09-10 | 杭州巨峰科技有限公司 | Facial feature based face racial classification method |
US20150139485A1 (en) * | 2013-11-15 | 2015-05-21 | Facebook, Inc. | Pose-aligned networks for deep attribute modeling |
CN105426872A (en) * | 2015-12-17 | 2016-03-23 | 电子科技大学 | Face age estimation method based on correlation Gaussian process regression |
CN105447473A (en) * | 2015-12-14 | 2016-03-30 | 江苏大学 | PCANet-CNN-based arbitrary attitude facial expression recognition method |
-
2016
- 2016-05-13 CN CN201610317460.6A patent/CN105956571B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877054A (en) * | 2009-11-23 | 2010-11-03 | 北京中星微电子有限公司 | Method and device for determining age of face image |
US20110222724A1 (en) * | 2010-03-15 | 2011-09-15 | Nec Laboratories America, Inc. | Systems and methods for determining personal characteristics |
US20150139485A1 (en) * | 2013-11-15 | 2015-05-21 | Facebook, Inc. | Pose-aligned networks for deep attribute modeling |
CN104036247A (en) * | 2014-06-11 | 2014-09-10 | 杭州巨峰科技有限公司 | Facial feature based face racial classification method |
CN105447473A (en) * | 2015-12-14 | 2016-03-30 | 江苏大学 | PCANet-CNN-based arbitrary attitude facial expression recognition method |
CN105426872A (en) * | 2015-12-17 | 2016-03-23 | 电子科技大学 | Face age estimation method based on correlation Gaussian process regression |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454315A (en) * | 2016-10-26 | 2017-02-22 | 深圳市魔眼科技有限公司 | Adaptive virtual view-to-stereoscopic view method and apparatus, and display device |
CN108629264A (en) * | 2017-03-18 | 2018-10-09 | 上海荆虹电子科技有限公司 | Method and apparatus for image procossing |
CN108629264B (en) * | 2017-03-18 | 2022-09-27 | 上海荆虹电子科技有限公司 | Method and apparatus for image processing |
Also Published As
Publication number | Publication date |
---|---|
CN105956571B (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104463209B (en) | Method for recognizing digital code on PCB based on BP neural network | |
CN104462494B (en) | A kind of remote sensing image retrieval method and system based on unsupervised feature learning | |
CN105046664B (en) | A kind of image de-noising method based on adaptive EPLL algorithms | |
CN107977671A (en) | A kind of tongue picture sorting technique based on multitask convolutional neural networks | |
CN108734138B (en) | Melanoma skin disease image classification method based on ensemble learning | |
CN105913419A (en) | TFT-LCD mura defect detection method based on ICA learning and multichannel fusion | |
CN103810704B (en) | Based on support vector machine and the SAR image change detection of discriminative random fields | |
CN106156793A (en) | Extract in conjunction with further feature and the classification method of medical image of shallow-layer feature extraction | |
CN107480649A (en) | Fingerprint sweat pore extraction method based on full convolution neural network | |
CN100573559C (en) | Self-adapting multi-dimension veins image segmenting method based on small echo and average drifting | |
CN107292250A (en) | A kind of gait recognition method based on deep neural network | |
CN104268593A (en) | Multiple-sparse-representation face recognition method for solving small sample size problem | |
CN107392224A (en) | A kind of crop disease recognizer based on triple channel convolutional neural networks | |
CN105657402A (en) | Depth map recovery method | |
CN111753828A (en) | Natural scene horizontal character detection method based on deep convolutional neural network | |
CN104915676A (en) | Deep-level feature learning and watershed-based synthetic aperture radar (SAR) image classification method | |
CN108053398A (en) | A kind of melanoma automatic testing method of semi-supervised feature learning | |
CN107798356A (en) | Crop leaf disease recognition method based on depth convolutional neural networks | |
CN102750385A (en) | Correlation-quality sequencing image retrieval method based on tag retrieval | |
CN107944428A (en) | A kind of indoor scene semanteme marking method based on super-pixel collection | |
CN101916369B (en) | Face recognition method based on kernel nearest subspace | |
CN103208097A (en) | Principal component analysis collaborative filtering method for image multi-direction morphological structure grouping | |
CN105550712B (en) | Aurora image classification method based on optimization convolution autocoding network | |
CN108573284A (en) | Deep learning facial image extending method based on orthogonal experiment analysis | |
CN105956570A (en) | Lip characteristic and deep learning based smiling face recognition method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |