CN108629290A - Age estimation method, device and mobile terminal, storage medium based on structure light - Google Patents

Age estimation method, device and mobile terminal, storage medium based on structure light Download PDF

Info

Publication number
CN108629290A
CN108629290A CN201810327450.XA CN201810327450A CN108629290A CN 108629290 A CN108629290 A CN 108629290A CN 201810327450 A CN201810327450 A CN 201810327450A CN 108629290 A CN108629290 A CN 108629290A
Authority
CN
China
Prior art keywords
structure light
user
age
light image
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810327450.XA
Other languages
Chinese (zh)
Inventor
王会朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810327450.XA priority Critical patent/CN108629290A/en
Publication of CN108629290A publication Critical patent/CN108629290A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/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/178Human faces, e.g. facial parts, sketches or expressions estimating age from face image; using age information for improving recognition

Abstract

The application proposes that a kind of age estimation method, device and mobile terminal, storage medium based on structure light, this method include structure light image of the capture by user's face region;The texture feature information of the user's face is obtained according to the corresponding depth of field data of the structure light image;Age supposition is carried out to the user in conjunction with the texture feature information and default age models.The precision for speculating the age can be effectively promoted by the application, promote user experience degree.

Description

Age estimation method, device and mobile terminal, storage medium based on structure light
Technical field
This application involves technical field of mobile terminals more particularly to a kind of age estimation method, devices based on structure light And mobile terminal, storage medium.
Background technology
Under many application scenarios, for example, being answered with class of taking pictures using the U.S. face class application program in electronic equipment in user Some age presumption models can be preset when with program, in the application program to speculate to the age of user, to realize more For accurately U.S. face and effect of taking pictures.
In the related technology, age of user is speculated ineffective.
Invention content
The application is intended to solve at least some of the technical problems in related technologies.
The application proposes a kind of age estimation method based on structure light, can effectively promote the precision for speculating the age, Promote user experience degree.
The application proposes a kind of age estimating unit based on structure light.
The application proposes a kind of mobile terminal.
The application proposes a kind of computer readable storage medium.
The embodiment of the present application proposes a kind of age estimation method based on structure light, including:
The structure light image in user's face region is passed through in capture;
The texture feature information of the user's face is obtained according to the corresponding depth of field data of the structure light image;
Age supposition is carried out to the user in conjunction with the texture feature information and default age models.
The age estimation method based on structure light of the embodiment of the present application, by being captured first by user's face region Structure light image, the texture feature information of user's face is obtained according to the corresponding depth of field data of structure light image, and combines line It manages characteristic information and age supposition is carried out to user with default age models, can effectively promote the precision for speculating the age, be promoted User experience degree.
The embodiment of the present application proposes a kind of age estimating unit based on structure light, including:
Trapping module, for capturing the structure light image by user's face region;
Acquisition module, the texture for obtaining the user's face according to the corresponding depth of field data of the structure light image are special Reference ceases;
Module is speculated, for being pushed away at the progress age to the user with default age models in conjunction with the texture feature information It surveys.
The age estimating unit based on structure light of the embodiment of the present application, by being captured first by user's face region Structure light image, the texture feature information of user's face is obtained according to the corresponding depth of field data of structure light image, and combines line It manages characteristic information and age supposition is carried out to user with default age models, can effectively promote the precision for speculating the age, be promoted User experience degree.
The embodiment of the present application proposes a kind of mobile terminal, including:Imaging sensor, memory, microprocessor unit MCU, processor and it is stored in the executable journey that can be run on the memory and under the credible performing environment of the processor Sequence code;The MCU connect for the specialized hardware of the credible performing environment with the imaging sensor and the processor, It is imaged for controlling the imaging sensor, and imaging data is sent to the processor;The processor executes institute When stating executable program code, the age estimation method based on structure light as described in above-described embodiment is realized.
The embodiment of the present application proposes a kind of computer readable storage medium, is stored thereon with computer program, the program The age estimation method based on structure light as described in above-described embodiment is realized when being executed by processor.
The additional aspect of the application and advantage will be set forth in part in the description, and will partly become from the following description It obtains obviously, or recognized by the practice of the application.
Description of the drawings
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram for the age estimation method based on structure light that one embodiment of the application proposes;
Fig. 2 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 3 is project structured light principle schematic in the embodiment of the present application;
Fig. 4 is the flow diagram for the age estimation method based on structure light that another embodiment of the application proposes;
Fig. 5 is the flow diagram for the age estimation method based on structure light that another embodiment of the application proposes;
Fig. 6 is the structural schematic diagram for the age estimating unit based on structure light that one embodiment of the application proposes;
Fig. 7 is the structural schematic diagram for the age estimating unit based on structure light that another embodiment of the application proposes;
Fig. 8 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific implementation mode
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.On the contrary, this The embodiment of application includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Under many application scenarios, for example, being answered with class of taking pictures using the U.S. face class application program in electronic equipment in user Some age presumption models can be preset when with program, in the application program to speculate to the age of user, to realize more For accurately U.S. face and effect of taking pictures.
In the related technology, age of user is speculated ineffective.
For this problem, the embodiment of the present application proposes a kind of age estimation method based on structure light, and this method is first Capture obtains the line of user's face according to the corresponding depth of field data of structure light image by the structure light image in user's face region Characteristic information is managed, and texture feature information is combined to carry out age supposition to user with default age models, can effectively be promoted Speculate the precision at age, promotes user experience degree.
Fig. 1 is the flow diagram for the age estimation method based on structure light that one embodiment of the application proposes.
The age estimation method based on structure light can applying electronic equipment, electronic devices structure can be found in Fig. 2.
Fig. 2 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
As shown in Fig. 2, the electronic equipment includes:It is Laser video camera head 201, floodlight 202, visible image capturing head 203, radium-shine Lamp 204 and micro controller unit 205 (Microcontroller Unit, abbreviation MCU).Wherein, MCU205 includes that pulse is wide 2051 (Pulse Width Modulation, abbreviation PWM) of degree modulation, depth engine 2052, bus interface 2053 and random Access memory RAM 2054.
Wherein, PWM2051 is for modulating floodlight 202 so that it sends out infrared light, and modulation color-changing lamp 204 so that its Send out structure light;Laser video camera head 201, structure light image or visible images for acquiring user's face region;Depth is drawn 2052 are held up, for according to structure light image, calculating the corresponding depth data in obtained user's face region;Bus interface 2053, For depth data to be sent to processor, and the executable program code by being run on processor executes phase using depth data The operation answered.
Bus interface 2053 may include MIPI bus interface, I2C synchronous serial bus interface, spi bus interface.
Step 101:The structure light image in user's face region is passed through in capture.
In the related technology, it is the user's face region obtained based on camera, predominantly two dimensional image, using two dimensional image Age of user is speculated ineffective.Also, the age speculates that process is mainly realized in application, and operating system (such as android system) is also the system increased income, and safety is not high, once system by hacker attacks, user plane in application program There is also stolen risks for the information in portion region.
For this purpose, the application proposes a kind of age estimation method based on structure light, solid is got using structure light Three-dimensional information, the plane information relative to two dimensional image, thus it is speculated that the precision higher at age, and safety also higher.Also, The data that processing obtains are saved into the micro-control unit (MCU, Micro Controller Unit) of a hardware, are compared It is safer in the application in preserving.Wherein, MCU may include that pulse width modulates (PWM, Pulse Width Modulation), depth engine, preset interface and random access memory ram.
The embodiment of the present application, can specifically can to user's face field emission structure light during specific execute Generating structure light is modulated using the pulse width modulation (PWM, Pulse Width Modulation) in MCU, passes through color-changing lamp (structured light projection equipment) is to user's face field emission structure light.
In one embodiment of the application, structure light is after being irradiated to user's face region, due to user's face region Style characteristic, structure light can deform upon, and by acquiring above structure optical information, can obtain one has user's face area The structure light image of domain profile and depth.
Wherein, the type of structure light may include, laser stripe, Gray code, sine streak or, non-homogeneous speckle etc..
Its concrete principle is illustrated by taking a kind of widely used fringe projection technology as an example, wherein bar shaped projects skill below Art belongs to sensu lato area-structure light.
When using face structured light projection, as shown in figure 3, Fig. 3 is project structured light principle in the embodiment of the present application Schematic diagram generates sine streak by PWM, which is projected by color-changing lamp (structured light projection equipment) to measured object (for example, user's face region), the bending degree modulated by measured object using Laser video camera head shooting striped, demodulates the bent-strip Line obtains phase, then converts phase to the height of the whole audience.
It should be understood that in practical applications, according to the difference of concrete application scene, employed in the embodiment of the present application Structure light other than above-mentioned striped, can also be any other pattern.
Step 102:The texture feature information of user's face is obtained according to the corresponding depth of field data of structure light image.
Structure light image can be sent to micro-control unit MCU by the embodiment of the present application during specific execute, and It is calculated using micro-control unit MCU and obtains the corresponding depth of field data of object.
In order to further improve the security, structure light image can be sent to MCU, to structure light figure in the MCU of hardware As being handled, compared to application program processing is transmitted directly to, data operation within hardware, hacker can not obtain original Data, therefore it is safer.
Specifically, using the depth engine (for calculating depth of field data in structure light image) in MCU, demodulation structure light The corresponding phase information of deformation position pixel in image, then converts phase information to elevation information, is finally believed according to height Breath determines the corresponding depth of field data of object.
Optionally, in some embodiments, micro controller unit MCU can be utilized to calculate acquisition user's face region corresponding Depth of field data specifically can be with the corresponding phase information of deformation position pixel in demodulation structure light image, and phase information is turned Elevation information is turned to, and the corresponding depth of field data in user's face region is determined according to elevation information.
Depth of field data can be provided to by preset interface using journey by the embodiment of the present application during specific execute Sequence, so that application call depth of field data obtains the texture feature information of user's face.
Wherein, preset interface be meet the bus interface of preset standard, including MIPI (mobile industry processor interface, Mobile Industry Processor Interface) bus interface, I2C synchronous serial bus interface, spi bus interface.
Application program therein is under credible running environment TEE.
In one embodiment of the application, the depth of field data that depth engine can be calculated is provided by preset interface To application program.Since above-mentioned bus interface meets security protocol, and application program is in credible running environment (TEE, Trust Execution Environment) under, therefore application program can safely call depth of field data, to obtain user's face Texture feature information.
For example, the structure light image based on user's face region, is calculated the depth of field data such as profile, the height of face. Aforementioned depth of field data calculates in MCU, and application program need to only call the depth of field data, believes with the judgement textural characteristics to prestore The rule of breath is matched, you can obtains the texture feature information of user's face.
Step 103:Age supposition is carried out to user in conjunction with texture feature information and default age models.
It, can be by application program combination texture feature information and default age models pair in one embodiment of the application User carries out age supposition, and default age models therein can be age models in the related technology, and the embodiment of the present application is logical It crosses using the texture feature information of acquisition as auxiliary parameter, is provided to default age models and carries out age supposition, can effectively carry The precision for speculating the age is risen, user experience degree is promoted.
In the present embodiment, by capturing the structure light image by user's face region first, according to structure light image pair The depth of field data answered obtains the texture feature information of user's face, and combine texture feature information and default age models to Family carries out age supposition, can effectively promote the precision for speculating the age, promotes user experience degree.
Fig. 4 is the flow diagram for the age estimation method based on structure light that another embodiment of the application proposes.
Step 401:To user's face field emission infrared light and structure light.
In one embodiment of the application, using the PWM modulation generating structure light in MCU, emitted by color-changing lamp Structure light, and infrared light is emitted to object by floodlight (infrared transmitter).
Step 402:The infrared image and structure light image in user's face region are passed through in capture.
In one embodiment of the application, it can be captured by object by Laser video camera head (infrared light receiver) Infrared image and structure light image.
Step 403:Infrared image and structure light image are sent to micro controller unit MCU, and utilize microcontroller list First MCU handles infrared image and structure light image, to obtain infrared picture data and depth of field data.
Specifically, infrared image and structure light image are handled using the depth engine in MCU, it is infrared to obtain Image data and depth of field data.
Step 404:Infrared picture data and depth of field data are supplied to application program by preset interface, so that using journey Sequence calls infrared picture data and depth of field data to obtain the texture feature information of user's face.
In order to further increase the safety of verification, the present embodiment combines infrared image and structure light image, will be above-mentioned Information is transmitted in the MCU of hardware and is handled, then treated infrared picture data and depth of field data are provided to credible fortune Application program under row environment obtains the texture feature information of user's face.
For example, In vivo detection can be carried out first with infrared picture data, detects that active user's facial area is to live When body, depth of field data is recycled further to be obtained texture feature information.It is to shine that user's face region, which can effectively be avoided, When piece, the useless operation of capture texture feature information is still carried out.
Wherein, texture feature information process is obtained using depth of field data to describe unanimously, in the present embodiment with a upper embodiment It repeats no more.
In the present embodiment, by user's face field emission infrared light and structure light, and capture by user's face area The infrared image and structure light image in domain, and infrared image and structure light image are sent to micro-control unit MCU, and utilize Micro-control unit MCU handles infrared image and structure light image, to obtain infrared picture data and depth of field data, and Infrared picture data and depth of field data are supplied to application program by preset interface, so that application call infrared image number Texture feature information is obtained according to depth of field data, infrared image and structure light image combination are put into MCU and protected, is prevented The information in user's face region is stolen, and further promotes safety.
Fig. 5 is the flow diagram for the age estimation method based on structure light that another embodiment of the application proposes.
Step 501:The visible images of user's facial area are shot, and capture the structure light figure by user's face region Picture.
In one embodiment of the application, using the PWM modulation generating structure light in MCU, emitted by color-changing lamp Structure light.Again by the capture of Laser video camera head by the structure light image in user's face region.User is shot by visible image capturing head The visible images of facial area.
Wherein, it is seen that light video camera head for shooting photo, can record the camera of color information.
Step 502:It will be seen that light image and structure light image are sent to micro controller unit MCU, and utilize microcontroller Unit MCU handles visible images and structure light image, to obtain visible images data and depth of field data.
Specifically, visible images and structure light image are handled using the depth engine in MCU, it can with acquisition Light-exposed image data and depth of field data.
Step 503:It will be seen that light image data and depth of field data are supplied to application program by preset interface, so that using Routine call visible images data and depth of field data obtain the texture feature information of user's face.
In order to further increase the accuracy for obtaining texture feature information, the present embodiment will be seen that light image and structure light figure As combining, above- mentioned information is transmitted in the MCU of hardware and is handled, then will treated visible images data and depth of field number Texture feature information is obtained according to the application program being provided under credible running environment.
By will be seen that light image and structure light image combine, the texture that can obtain more rich user's face region is special Reference ceases, and such as facial wrinkles are of flaccid muscles etc., and relative to structure light image, Expressive Features are more accurate, improves and obtains texture spy The accuracy of reference breath.
In the present embodiment, by shooting the visible images of user's facial area, and capture by user's face region Structure light image, and will be seen that light image and structure light image are sent to micro-control unit MCU, and utilize micro-control unit MCU handles visible images and structure light image, to obtain visible images data and depth of field data, and will be seen that Light image data and depth of field data are supplied to application program by preset interface, so that application call visible images data Texture feature information is obtained with depth of field data, infrared image and structure light image are put into MCU and protected, user plane is prevented The information in portion region is stolen, and promotes safety;And it will be seen that light image and structure light image combine, description textural characteristics are more It is accurate to add, and improves the accuracy for obtaining texture feature information.
In another embodiment of the application, due to the security level required of certain application programs be not it is especially high, Visible images and structure light image is not needed to be calculated in MCU.For this purpose, the case where ensureing certain safety Under, it, can be directly it will be seen that light image be supplied under credible running environment after the visible images of shooting user's facial area Application program handled, structure light image mitigates the computation burden of MCU still by MCU processing, promotes processing speed Degree.
Fig. 6 is the structural schematic diagram for the age estimating unit based on structure light that one embodiment of the application proposes.
Referring to Fig. 6, which includes:Trapping module 601, acquisition module 602, and speculate module 603, wherein
Trapping module 601, for capturing the structure light image by user's face region.
Acquisition module 602, the textural characteristics for obtaining user's face according to the corresponding depth of field data of structure light image are believed Breath.
Module 603 is speculated, for combining texture feature information to carry out age supposition to user with default age models.
Optionally, in some embodiments, referring to Fig. 7, which further includes:
Projection module 604 is used for user's face field emission infrared light and structure light.
Trapping module 601, is specifically used for:
The infrared image and structure light image in user's face region are passed through in capture.
Optionally, in some embodiments, acquisition module 602 is specifically used for:
Infrared image and structure light image are sent to micro controller unit MCU, and using micro controller unit MCU to red Outer image and structure light image are handled, to obtain infrared picture data and depth of field data;And
Infrared picture data and depth of field data are supplied to application program by preset interface, so that application call is red Outer image data and depth of field data obtain the texture feature information of user's face.
Optionally, in some embodiments, acquisition module 602 is specifically used for:
The visible images of user's facial area are shot, and capture the structure light image by user's face region;
It will be seen that light image and structure light image are sent to micro controller unit MCU, and utilize MCU pairs of micro controller unit Visible images and structure light image are handled, to obtain visible images data and depth of field data;And
It will be seen that light image data and depth of field data are supplied to application program by preset interface, so that application call Visible images data and depth of field data obtain the texture feature information of user's face.
Optionally, in some embodiments, acquisition module 602 is specifically used for:
After the visible images of shooting user's facial area, directly it will be seen that light image is supplied to application program to carry out Processing.
Optionally, in some embodiments, acquisition module 602 is specifically used for:
The corresponding phase information of deformation position pixel in demodulation structure light image;
Convert phase information to elevation information;
The corresponding depth of field data in user's face region is determined according to elevation information.
Optionally, in some embodiments, application program is under credible running environment TEE.
Optionally, in some embodiments, preset interface is to meet the bus interface of preset standard, including MIPI buses connect Mouth, I2C synchronous serial bus interface, spi bus interface.
The division of modules is only used for for example, in other implementations in the above-mentioned age estimating unit based on structure light In example, the age estimating unit based on structure light can be divided into different modules as required, it is above-mentioned based on structure to complete All or part of function of the age estimating unit of light.
It should be noted that the aforementioned explanation to the age estimation method embodiment based on structure light, is also applied for The age estimating unit based on structure light of the embodiment, therefore details are not described herein.
In the present embodiment, by capturing the structure light image by user's face region first, according to structure light image pair The depth of field data answered obtains the texture feature information of user's face, and combine texture feature information and default age models to Family carries out age supposition, can effectively promote the precision for speculating the age, promotes user experience degree.
The embodiment of the present application also proposes a kind of mobile terminal.
Fig. 8 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.
In the present embodiment, mobile terminal includes but not limited to the equipment such as mobile phone, tablet computer.
As shown in figure 8, the mobile terminal includes:Imaging sensor 810, memory 820, MCU 830, processor 840 with And the executable program code that can be run on memory 820 and under the credible performing environment of processor 840 is stored in (in Fig. 8 It is not shown).
Wherein, MCU 830 is the specialized hardware of credible performing environment, is connect with imaging sensor 810 and processor 840, It is imaged for controlling imaging sensor 810, and imaging data is sent to processor 840.
When processor 840 executes executable program code, the age supposition side based on structure light of previous embodiment is realized Method.
In a kind of possible realization method of the present embodiment, carried out by cipher mode between MCU 830 and processor 840 Communication.
In the present embodiment, MCU 830 can take ranks pixel disorder method that image is encrypted.Specifically, MCU 830 can carry out the Pixel Information in artwork rearrangement, and processor can restore original by one-to-one relationship Image.
The image encryption method based on chaos can also be used in MCU 830, specifically, generates 2 Logistic chaos sequences, 2 Logistic are transformed, obtain two y sequences, carrying out value by yl and y2 sequence pairs original image substitutes encryption.Wherein, secret key is The initial state value of chaos system.
In a kind of possible realization method of the present embodiment, imaging sensor 810 may include:Infrared sensor, structure light Imaging sensor and visible light image sensor.
Wherein, infrared sensor includes Laser video camera head and floodlight;Structure light image sensor includes:Color-changing lamp, with And the Laser video camera head shared with infrared sensor, it is seen that optical image sensor includes:Visible image capturing head.
In a kind of possible realization method of the present embodiment, MCU 830 include PWM, depth engine, bus interface and RAM。
Wherein, PWM is used to modulate floodlight so as to send out infrared light, and modulation color-changing lamp is to send out structure light;
Laser video camera head, for capturing the structure light image by user's face region;
Depth engine, the texture feature information for obtaining user's face according to the corresponding depth of field data of structure light image; And
Bus interface, for texture feature information to be sent to processor 840, and by processor 840 in credible execution ring Texture feature information is combined to carry out age supposition to user with default age models in border.
Detailed process can be found in above-described embodiment, and details are not described herein.
The embodiment of the present application also proposes a kind of computer readable storage medium, is stored thereon with computer program, the program The age estimation method based on structure light such as previous embodiment is realized when being executed by processor.
It should be noted that in the description of the present application, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indicating or implying relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the application can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (13)

1. a kind of age estimation method based on structure light, which is characterized in that include the following steps:
The structure light image in user's face region is passed through in capture;
The texture feature information of the user's face is obtained according to the corresponding depth of field data of the structure light image;
Age supposition is carried out to the user in conjunction with the texture feature information and default age models.
2. the age estimation method based on structure light as described in claim 1, which is characterized in that pass through user in the capture Before the structure light image of facial area, further include:
To the user's face field emission infrared light and structure light;
The structure light image in user's face region is passed through in the capture, including:
Infrared image and the structure light image of the capture by the user's face region.
3. the age estimation method based on structure light as claimed in claim 2, which is characterized in that described according to the structure light The corresponding depth of field data of image obtains the texture feature information of the user's face, including:
The infrared image and the structure light image are sent to micro controller unit MCU, and utilize the microcontroller list First MCU handles the infrared image and the structure light image, to obtain infrared picture data and the depth of field data; And
The infrared picture data and the depth of field data are supplied to application program by preset interface, so that described apply journey Sequence calls the infrared picture data and the depth of field data to obtain the texture feature information of the user's face.
4. the age estimation method based on structure light as described in claim 1, which is characterized in that further include:
The visible images in the user's face region are shot, and capture the structure light image by the user's face region;
The visible images and the structure light image are sent to micro controller unit MCU, and utilize the microcontroller Unit MCU handles the visible images and the structure light image, to obtain visible images data and the scape Deep data;And
The visible images data and the depth of field data are supplied to application program by preset interface, so that the application Visible images data and the depth of field data described in routine call obtain the texture feature information of the user's face.
5. the age estimation method based on structure light as claimed in claim 4, which is characterized in that further include:
After the visible images for shooting the user's face region, the visible images are directly supplied to the application Program is handled.
6. the age estimation method based on structure light as described in claim 3 or 4, which is characterized in that utilize the microcontroller Device unit MCU, which is calculated, obtains the corresponding depth of field data in the user's face region, including:
Demodulate the corresponding phase information of deformation position pixel in the structure light image;
Convert the phase information to elevation information;
The corresponding depth of field data in the user's face region is determined according to the elevation information.
7. such as age estimation method of claim 3 to 5 any one of them based on structure light, which is characterized in that the application Program is under credible running environment TEE.
8. such as age estimation method of claim 3 to 4 any one of them based on structure light, which is characterized in that described default Interface is to meet the bus interface of preset standard, including MIPI bus interface, I2C synchronous serial bus interface, spi bus connect Mouthful.
9. a kind of age estimating unit based on structure light, which is characterized in that including:
Trapping module, for capturing the structure light image by user's face region;
Acquisition module, the textural characteristics for obtaining the user's face according to the corresponding depth of field data of the structure light image are believed Breath;
Module is speculated, for carrying out age supposition to the user in conjunction with the texture feature information and default age models.
10. the age estimating unit based on structure light as claimed in claim 9, which is characterized in that further include:
Projection module is used for the user's face field emission infrared light and structure light;
The trapping module, is specifically used for:
Infrared image and the structure light image of the capture by the user's face region.
11. a kind of mobile terminal, which is characterized in that including:Imaging sensor, memory, microprocessor unit MCU, processor And it is stored in the executable program code that can be run on the memory and under the credible performing environment of the processor;It is described MCU is the specialized hardware of the credible performing environment, is connect with the imaging sensor and the processor, for controlling It states imaging sensor to be imaged, and imaging data is sent to the processor;The processor executes the executable journey When sequence code, the age estimation method based on structure light as described in any one of claim 1-8 is realized.
12. mobile terminal according to claim 11, which is characterized in that by adding between the MCU and the processor Close mode is communicated.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The age estimation method based on structure light as described in any one of claim 1-8 is realized when execution.
CN201810327450.XA 2018-04-12 2018-04-12 Age estimation method, device and mobile terminal, storage medium based on structure light Pending CN108629290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810327450.XA CN108629290A (en) 2018-04-12 2018-04-12 Age estimation method, device and mobile terminal, storage medium based on structure light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810327450.XA CN108629290A (en) 2018-04-12 2018-04-12 Age estimation method, device and mobile terminal, storage medium based on structure light

Publications (1)

Publication Number Publication Date
CN108629290A true CN108629290A (en) 2018-10-09

Family

ID=63705268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810327450.XA Pending CN108629290A (en) 2018-04-12 2018-04-12 Age estimation method, device and mobile terminal, storage medium based on structure light

Country Status (1)

Country Link
CN (1) CN108629290A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130057656A1 (en) * 2011-09-06 2013-03-07 Electronics And Telecommunications Research Institute System and method for managing face data
CN104714633A (en) * 2013-12-12 2015-06-17 华为技术有限公司 Method and terminal for terminal configuration
CN105354819A (en) * 2015-09-29 2016-02-24 上海图漾信息科技有限公司 Depth data measurement system, depth data determination method and apparatus
CN105550641A (en) * 2015-12-04 2016-05-04 康佳集团股份有限公司 Age estimation method and system based on multi-scale linear differential textural features
CN107169483A (en) * 2017-07-12 2017-09-15 深圳奥比中光科技有限公司 Tasks carrying based on recognition of face
CN107424187A (en) * 2017-04-17 2017-12-01 深圳奥比中光科技有限公司 Depth calculation processor, data processing method and 3D rendering equipment
CN107608080A (en) * 2017-10-31 2018-01-19 深圳增强现实技术有限公司 Intelligent AR glasses and intelligent AR glasses depth of view information acquisition methods
CN107609383A (en) * 2017-10-26 2018-01-19 深圳奥比中光科技有限公司 3D face identity authentications and device
CN107705356A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130057656A1 (en) * 2011-09-06 2013-03-07 Electronics And Telecommunications Research Institute System and method for managing face data
CN104714633A (en) * 2013-12-12 2015-06-17 华为技术有限公司 Method and terminal for terminal configuration
CN105354819A (en) * 2015-09-29 2016-02-24 上海图漾信息科技有限公司 Depth data measurement system, depth data determination method and apparatus
CN105550641A (en) * 2015-12-04 2016-05-04 康佳集团股份有限公司 Age estimation method and system based on multi-scale linear differential textural features
CN107424187A (en) * 2017-04-17 2017-12-01 深圳奥比中光科技有限公司 Depth calculation processor, data processing method and 3D rendering equipment
CN107169483A (en) * 2017-07-12 2017-09-15 深圳奥比中光科技有限公司 Tasks carrying based on recognition of face
CN107705356A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device
CN107609383A (en) * 2017-10-26 2018-01-19 深圳奥比中光科技有限公司 3D face identity authentications and device
CN107608080A (en) * 2017-10-31 2018-01-19 深圳增强现实技术有限公司 Intelligent AR glasses and intelligent AR glasses depth of view information acquisition methods

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梅益君 等: "基于结构光的人脸图像获取与检测", 《计算机测量与控制》 *

Similar Documents

Publication Publication Date Title
US10771689B2 (en) Image processing method and device, computer-readable storage medium and electronic device
CN108805024B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
CN108876708B (en) Image processing method, image processing device, electronic equipment and storage medium
CN108804895B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
CN107452034B (en) Image processing method and device
US20200151425A1 (en) Image Processing Method, Image Processing Device, Computer Readable Storage Medium and Electronic Device
CN107465906B (en) Panorama shooting method, device and the terminal device of scene
CN107368730A (en) Unlock verification method and device
US9049369B2 (en) Apparatus, system and method for projecting images onto predefined portions of objects
US20200065562A1 (en) Method and Device for Processing Image, Computer Readable Storage Medium and Electronic Device
CN107370951B (en) Image processing system and method
WO2021175014A1 (en) Focus tracking method and related devices
US10212408B1 (en) Depth-map augmentation techniques
CN107493428A (en) Filming control method and device
CN107517346B (en) Photographing method and device based on structured light and mobile device
CN107480615B (en) Beauty treatment method and device and mobile equipment
CN107610171B (en) Image processing method and device
CN107392874B (en) Beauty treatment method and device and mobile equipment
CN108711054B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
CN107564050A (en) Control method, device and terminal device based on structure light
CN108712400B (en) Data transmission method and device, computer readable storage medium and electronic equipment
CN108595928A (en) Information processing method, device and the terminal device of recognition of face
CN108595942A (en) Method of controlling security, device and mobile terminal, the storage medium of application program
CN107800962B (en) image processing method and device and electronic device
TWI637288B (en) Image processing method and system for eye-gaze correction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181009