CN107480500A - The method and mobile terminal of a kind of face verification - Google Patents

The method and mobile terminal of a kind of face verification Download PDF

Info

Publication number
CN107480500A
CN107480500A CN201710684616.9A CN201710684616A CN107480500A CN 107480500 A CN107480500 A CN 107480500A CN 201710684616 A CN201710684616 A CN 201710684616A CN 107480500 A CN107480500 A CN 107480500A
Authority
CN
China
Prior art keywords
facial
face
features
facial image
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710684616.9A
Other languages
Chinese (zh)
Other versions
CN107480500B (en
Inventor
李湘村
韦剑
吴宏信
鄢宇鹏
李世平
钟海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710684616.9A priority Critical patent/CN107480500B/en
Publication of CN107480500A publication Critical patent/CN107480500A/en
Application granted granted Critical
Publication of CN107480500B publication Critical patent/CN107480500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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

Abstract

The invention provides a kind of method of face verification and mobile terminal, solves the problems, such as checking can not be identified to the feature of 3D faces by the single camera of mobile terminal at present.The method of the face verification of the present invention includes:Control the camera to be shot according to different shooting focal lengths to target face, obtain an at least facial image;According to an at least facial image, the facial 3D features of the target face and facial 2D features are determined;According to the facial 3D features of the target face and facial 2D features, the face verification of the target face is carried out.Whether the present invention can be 3D faces according to facial 3D signature verifications target face, and the feature of target face is verified by facial 2D features, so as to which the single camera reached by mobile terminal just can identify the purpose of checking 3D faces.

Description

The method and mobile terminal of a kind of face verification
Technical field
The present invention relates to the method and mobile terminal of communication technical field, more particularly to a kind of face verification.
Background technology
Mobile terminal, according to existing face detection algorithms, passes through the list of mobile terminal when being verified to face at present Individual camera can only be verified to the feature of 2D faces, checking 3D faces can not be identified, and then cause to face Security breaches during checking be present, it is therefore desirable to which a kind of new face verification method can be right by the single camera of mobile terminal 3D faces are verified.
The content of the invention
The embodiment of the present invention provides a kind of method and mobile terminal of face verification, to solve to pass through mobile terminal at present The problem of checking can not be identified to the feature of 3D faces in single camera.
In a first aspect, the embodiments of the invention provide a kind of method of face verification, applied to the movement including camera Terminal, including:
Control the camera to be shot according to different shooting focal lengths to target face, obtain an at least face figure Picture;
According to an at least facial image, the facial 3D features of the target face and facial 2D features are determined;
According to the facial 3D features of the target face and facial 2D features, the face verification of the target face is carried out.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
Control module, for controlling camera to be shot according to different shooting focal lengths to target face, obtain at least One facial image;
Determining module, for according to an at least facial image, determine the facial 3D features of the target face with Facial 2D features;
Authentication module, for the facial 3D features according to the target face and facial 2D features, carry out the target person The face verification of face.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:Memory, processor and it is stored in On reservoir and the computer program that can run on a processor, the computer program are realized as above during the computing device The step of method of the face verification.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, the computer-readable storage Computer program, the computer program realizes face verification as described above method when being executed by processor are stored with medium The step of.
So, the above-mentioned technical proposal of the embodiment of the present invention, control the camera according to different shooting focal lengths to mesh Mark face is shot, and obtains an at least facial image;According to an at least facial image, the target face is determined Facial 3D features and facial 2D features;According to the facial 3D features of the target face and facial 2D features, the mesh is carried out Mark the face verification of face.Whether the embodiment of the present invention can be 3D faces according to facial 3D signature verifications target face, and pass through Facial 2D features are verified to the feature of target face, are tested so as to which the single camera reached by mobile terminal just can identify Demonstrate,prove the purpose of 3D faces.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is one of flow chart of method of face verification of the embodiment of the present invention;
Fig. 2 is the two of the flow chart of the method for the face verification of the embodiment of the present invention;
Fig. 3 is one of module diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the two of the module diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 is one of structured flowchart of mobile terminal of the embodiment of the present invention;
Fig. 6 is the two of the structured flowchart of the mobile terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Described into ground, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of method of face verification, applied to the movement including camera Terminal, this method include:
Step 101:Control the camera to be shot according to different shooting focal lengths to target face, obtain at least one Open facial image.
Above-mentioned camera can be specially the front camera of mobile terminal, and the camera has automatic focusing function, preferably , the front camera has larger aperture.
The face verification method of the embodiment of the present invention can be applied particularly to the unlocking screen of mobile terminal.Now, above-mentioned step Rapid 101 specifically include:When receiving screen-unlock instruction, the camera of mobile terminal is controlled according to different shooting focal lengths pair Target face is shot, and obtains multiple facial images.Wherein, the corresponding shooting focal length of every facial image, and multiple people Shooting focal length differs corresponding to face image.
Step 102:According to an at least facial image, the facial 3D features of the target face and facial 2D are determined Feature.
By obtaining the facial 3D features of target face, to identify whether target face is 3D faces, and pass through facial 2D Feature is verified to target face, so as to reach the purpose of identification checking 3D faces.
Step 103:According to the facial 3D features of the target face and facial 2D features, the people for carrying out the target face Face is verified.
Here, according to the facial 3D features of above-mentioned target face and facial 2D features, to realize that the identification to 3D faces is tested Card, so as to reach the purpose for 3D faces being identified by the single camera of mobile terminal checking.
Further, an at least facial image described in basis in above-mentioned steps 102, the face of the target face is determined The step of 2D features, including:
A facial image is chosen in an at least facial image as target facial image;Extract the target Facial 2D features in facial image.
Specifically, according to default optimum image selection algorithm, one face figure of middle selection in an at least facial image As being used as the target facial image, and the facial 2D features in target facial image are extracted, in order to subsequently to the facial 2D Feature is verified.
Here default optimum image selection algorithm by the definition between multiple facial images, uniform illumination degree, Contrast, saturation degree, brightness, details enrich degree, whether overexposure or it is excessively dark, whether have color lump, whether colour cast, whether be subcooled with And whether at least one index in excessively warm etc. index is compared, and obtains above-mentioned target facial image.
As one kind optionally realize it is above-mentioned, in an at least facial image choose a facial image as mesh The step of marking facial image, including:
In an at least facial image, the facial image conduct that focus point is located at face central area is chosen The target facial image.
The face central area can be set according to the actual demand of user, be not especially limited herein.
Further, an at least facial image described in basis in above-mentioned steps 102, the face of the target face is determined The step of 3D features, including:
Obtain the focusing FV values at least two default face positions in every facial image;
Wherein, the facial 3D is characterized as the focusing FV values.
For example, the FV values of nose and ear in every facial image can be obtained.Due to the 3D faces with different depth, no Same position (such as nose, ear) has different FV values.When the focusing position of camera lens is moved to ear from nose, nose FV values from Diminish greatly, and ear FV values become big from small., whereas if be 2D faces, nose and ear location FV values can become big or one together Rise and diminish.
Here, the focusing FV values at least two default face positions in every facial image are obtained, in order to follow-up By the FV values of acquisition, determine whether target face is 3D faces.
Now, above-mentioned steps 103 include:
According to the facial 3D features of the target face and facial 2D features, verify whether the target face meets to preset Condition;If the FV values at least two default face positions do not increase simultaneously with the change of shooting focal length in every facial image Big or reduction, and the facial 2D features match with default face characteristic, it is determined that the target face meets preparatory condition.
Wherein, the preparatory condition includes:The focusing FV at least two default face positions in every facial image Whether value increases or reduces simultaneously with the change of shooting focal length, and the facial 2D features and default face characteristic whether Match somebody with somebody.
Here, it is specially to pre-save face characteristic in the terminal to preset face characteristic.In the embodiment of the present invention It can detect whether facial 2D features match with default face characteristic using existing face detection algorithms.
In the embodiment of the present invention, in every facial image the focusing FV values at least two default face positions with The change of shooting focal length increases or reduced simultaneously, shows that the target face be 3D faces, and facial 2D features and default face Characteristic matching, it is determined that the target face is proved to be successful, so as to which the single camera reached by mobile terminal just can identify The purpose of 3D faces is verified, reduces the cost of mobile terminal.
Further, the method for the face verification of the embodiment of the present invention can be applied to unlocking screen, now, as shown in Fig. 2 The method of the face verification of the embodiment of the present invention also includes:
Step 104:If the target face meets preparatory condition, the screen of the mobile terminal is unlocked.
Specifically, if above-mentioned facial 3D mark sheets improving eyesight mark face is the 3D faces face of depth (have), and facial 2D Feature is matched with default face characteristic, it is determined that target face is proved to be successful, and the screen of mobile terminal is unlocked.
In the embodiment of the present invention, 3D faces are identified checking, and the screen of mobile terminal is entered after being proved to be successful Row unblock, the security of mobile terminal is improved, can more effectively protect the privacy information of user.
The method of the face verification of the embodiment of the present invention, control the camera according to different shooting focal lengths to target person Face is shot, and obtains an at least facial image;According to an at least facial image, the face of the target face is determined Portion's 3D features and facial 2D features;According to the facial 3D features of the target face and facial 2D features, the target person is carried out The face verification of face.Whether the embodiment of the present invention can be 3D faces according to facial 3D signature verifications target face, and pass through face 2D features are verified to the feature of target face, so as to which the single camera reached by mobile terminal just can identify checking 3D The purpose of face.
As shown in figure 3, embodiments of the invention additionally provide a kind of mobile terminal 300, including:
Control module 301, for controlling camera to be shot according to different shooting focal lengths to target face, obtain to A few facial image;
Determining module 302, for an at least facial image according to, determine the facial 3D features of the target face With facial 2D features;
Authentication module 303, for the facial 3D features according to the target face and facial 2D features, carry out the target The face verification of face.
The mobile terminal of the embodiment of the present invention, the determining module 302 include:
Submodule 3021 is chosen, for choosing a facial image in an at least facial image as target person Face image;
Extracting sub-module 3022, for extracting the facial 2D features in the target facial image.
The mobile terminal of the embodiment of the present invention, the selection submodule 3021 are used in an at least facial image In, choose focus point and be located at a facial image of face central area as the target facial image.
The mobile terminal of the embodiment of the present invention, the determining module 302 are used to obtain in every facial image at least The focusing FV values at two default face positions;
Wherein, the facial 3D is characterized as the focusing FV values.
The mobile terminal of the embodiment of the present invention, the authentication module 303 include:
Submodule 3031 is verified, for the facial 3D features according to the target face and facial 2D features, described in checking Whether target face meets preparatory condition;
Determination sub-module 3032, if FV values in facial image every described at least two default face positions not with The change of shooting focal length while increase or reduce, and the facial 2D features match with default face characteristic, it is determined that be described Target face meets preparatory condition;
Wherein, the preparatory condition includes:The focusing FV at least two default face positions in every facial image Whether value increases or reduces simultaneously with the change of shooting focal length, and the facial 2D features and default face characteristic whether Match somebody with somebody.
The mobile terminal of the embodiment of the present invention, in addition to:
Unlocked state 304, for being unlocked to the screen of the mobile terminal.
It should be noted that the mobile terminal is mobile terminal corresponding with above method embodiment, the above method is implemented All implementations can also reach identical technique effect suitable for the embodiment of the mobile terminal in example.
The mobile terminal of the embodiment of the present invention, the camera is controlled to be carried out according to different shooting focal lengths to target face Shooting, obtains an at least facial image;According to an at least facial image, determine that the facial 3D of the target face is special Seek peace facial 2D features;According to the facial 3D features of the target face and facial 2D features, the people for carrying out the target face Face is verified.Whether the embodiment of the present invention can be 3D faces according to facial 3D signature verifications target face, and pass through facial 2D features The feature of target face is verified, so as to which the single camera reached by mobile terminal just can identify checking 3D faces Purpose.
Embodiments of the invention additionally provide a kind of mobile terminal, including:Memory, processor and storage are on a memory And the computer program that can be run on a processor, realize that above-mentioned face is tested when the computer program is by the computing device Each process in the embodiment of the method for card, and identical technique effect can be reached, to avoid repeating, repeat no more here.
Embodiments of the invention additionally provide a kind of computer-readable recording medium, on the computer-readable recording medium Computer program is stored with, the computer program is realized when being executed by processor in the embodiment of the method for above-mentioned face verification Each process, and identical technique effect can be reached, to avoid repeating, repeat no more here.Wherein, it is described computer-readable Storage medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
As shown in figure 5, embodiments of the invention additionally provide a kind of mobile terminal, the mobile terminal 500 shown in Fig. 5 wraps Include:At least one processor 501, memory 502, at least one network interface 504, the sensor 506 of camera and other users Interface 503.Wherein, processor 501 includes image control center 5011 and image processor 5012.It is each in mobile terminal 500 Individual component is coupled by bus system 505.It is understood that bus system 505 is used to realize the connection between these components Communication.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But For the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In one embodiment of this invention, by call memory 502 store program or instruction, can be specifically The program stored in application program 5022 or instruction, computer program realize following steps when being performed by processor 501:
Control the camera to be shot according to different shooting focal lengths to target face, obtain an at least face figure Picture;
According to an at least facial image, the facial 3D features of the target face and facial 2D features are determined;
According to the facial 3D features of the target face and facial 2D features, the face verification of the target face is carried out.
Optionally, following steps are realized when computer program is performed by processor 501:
A facial image is chosen in an at least facial image as target facial image;
Extract the facial 2D features in the target facial image.
Optionally, following steps are realized when computer program is performed by processor 501:
In an at least facial image, the facial image conduct that focus point is located at face central area is chosen The target facial image.
Optionally, following steps are realized when computer program is performed by processor 501:
Obtain the focusing FV values at least two default face positions in every facial image;
Wherein, the facial 3D is characterized as the focusing FV values.
Optionally, following steps are realized when computer program is performed by processor 501:
According to the facial 3D features of the target face and facial 2D features, verify whether the target face meets to preset Condition;
If the FV values at least two default face positions are not same with the change of shooting focal length in every facial image Shi Zeng great or reduction, and the facial 2D features match with default face characteristic, it is determined that the target face meets default bar Part;
Wherein, the preparatory condition includes:The focusing FV at least two default face positions in every facial image Whether value increases or reduces simultaneously with the change of shooting focal length, and the facial 2D features and default face characteristic whether Match somebody with somebody.
Optionally, following steps are realized when computer program is performed by processor 501:
The screen of the mobile terminal is unlocked.
The mobile terminal 500 of the embodiment of the present invention, processor 501 are used to control the camera burnt according to different shootings Away from being shot to target face, an at least facial image is obtained;According to an at least facial image, the mesh is determined Mark the facial 3D features of face and facial 2D features;According to the facial 3D features of the target face and facial 2D features, carry out The face verification of the target face.Whether the embodiment of the present invention can be 3D faces according to facial 3D signature verifications target face, And the feature of target face is verified by facial 2D features, so as to which the single camera reached by mobile terminal just can The purpose of identification checking 3D faces.
The mobile terminal of the present invention such as can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Mobile terminal 500 can realize each process that terminal is realized in previous embodiment, to avoid repeating, here no longer Repeat.
The method that the embodiments of the present invention disclose can apply in processor 501, or real by processor 501 It is existing.Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method Each step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned place Reason device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 read the information in memory 502, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
As shown in fig. 6, the embodiment of the present invention additionally provides a kind of mobile terminal.Mobile terminal 600 shown in Fig. 6 includes penetrating Frequently (Radio Frequency, RF) circuit 610, memory 620, input block 630, display unit 640, the sensor of camera 650th, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) modules 680 and power supply 690.Processor 660 wraps Include image control center and image processor.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 621, and call storage Data in second memory 622, the various functions and processing data of mobile terminal 600 are performed, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In one embodiment of this invention, by calling the software program and/or module that store in the first memory 621 And/or the data in the second memory 622, computer program realize following steps when being performed by processor 660:
Control the camera to be shot according to different shooting focal lengths to target face, obtain an at least face figure Picture;
According to an at least facial image, the facial 3D features of the target face and facial 2D features are determined;
According to the facial 3D features of the target face and facial 2D features, the face verification of the target face is carried out.
Optionally, following steps are realized when computer program is performed by processor 660:
A facial image is chosen in an at least facial image as target facial image;
Extract the facial 2D features in the target facial image.
Optionally, following steps are realized when computer program is performed by processor 660:
In an at least facial image, the facial image conduct that focus point is located at face central area is chosen The target facial image.
Optionally, following steps are realized when computer program is performed by processor 660:
Obtain the focusing FV values at least two default face positions in every facial image;
Wherein, the facial 3D is characterized as the focusing FV values.
Optionally, following steps are realized when computer program is performed by processor 660:
According to the facial 3D features of the target face and facial 2D features, verify whether the target face meets to preset Condition;
If the FV values at least two default face positions are not same with the change of shooting focal length in every facial image Shi Zeng great or reduction, and the facial 2D features match with default face characteristic, it is determined that the target face meets default bar Part;
Wherein, the preparatory condition includes:The focusing FV at least two default face positions in every facial image Whether value increases or reduces simultaneously with the change of shooting focal length, and the facial 2D features and default face characteristic whether Match somebody with somebody.
Optionally, following steps are realized when computer program is performed by processor 660:
The screen of the mobile terminal is unlocked.
The mobile terminal of the present invention such as can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc. terminal.
Mobile terminal 600 can realize each process that terminal is realized in previous embodiment, to avoid repeating, here no longer Repeat.
The mobile terminal 600 of the embodiment of the present invention, processor 660 are used to control the camera burnt according to different shootings Away from being shot to target face, an at least facial image is obtained;According to an at least facial image, the mesh is determined Mark the facial 3D features of face and facial 2D features;According to the facial 3D features of the target face and facial 2D features, carry out The face verification of the target face.Whether the embodiment of the present invention can be 3D faces according to facial 3D signature verifications target face, And the feature of target face is verified by facial 2D features, so as to which the single camera reached by mobile terminal just can The purpose of identification checking 3D faces.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is controlled to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.

Claims (14)

  1. A kind of 1. method of face verification, applied to the mobile terminal including camera, it is characterised in that including:
    Control the camera to be shot according to different shooting focal lengths to target face, obtain an at least facial image;
    According to an at least facial image, the facial 3D features of the target face and facial 2D features are determined;
    According to the facial 3D features of the target face and facial 2D features, the face verification of the target face is carried out.
  2. 2. the method for face verification according to claim 1, it is characterised in that according to an at least facial image, The step of determining the facial 2D features of the target face, including:
    A facial image is chosen in an at least facial image as target facial image;
    Extract the facial 2D features in the target facial image.
  3. 3. the method for face verification according to claim 2, it is characterised in that described in an at least facial image The step of one facial image of middle selection is as target facial image, including:
    In an at least facial image, choose focus point and be located at described in the facial image conduct of face central area Target facial image.
  4. 4. the method for face verification according to claim 1, it is characterised in that according to an at least facial image, The step of determining the facial 3D features of the target face, including:
    Obtain the focusing FV values at least two default face positions in every facial image;
    Wherein, the facial 3D is characterized as the focusing FV values.
  5. 5. the method for face verification according to claim 4, it is characterised in that the face according to the target face 3D features and facial 2D features, the step of carrying out the face verification of the target face, including:
    According to the facial 3D features of the target face and facial 2D features, verify whether the target face meets default bar Part;
    If the FV values at least two default face positions do not increase simultaneously with the change of shooting focal length in every facial image Big or reduction, and the facial 2D features match with default face characteristic, it is determined that the target face meets preparatory condition;
    Wherein, the preparatory condition includes:The focusing FV values at least two default face positions are in every facial image It is no to increase or reduce simultaneously with the change of shooting focal length, and whether the facial 2D features match with default face characteristic.
  6. 6. the method for face verification according to claim 5, it is characterised in that also include:
    If the target face meets preparatory condition, the screen of the mobile terminal is unlocked.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    Control module, for controlling camera to be shot according to different shooting focal lengths to target face, obtain at least one Facial image;
    Determining module, for an at least facial image according to, determine the facial 3D features and face of the target face 2D features;
    Authentication module, for the facial 3D features according to the target face and facial 2D features, carry out the target face Face verification.
  8. 8. mobile terminal according to claim 7, it is characterised in that the determining module includes:
    Submodule is chosen, for choosing a facial image in an at least facial image as target facial image;
    Extracting sub-module, for extracting the facial 2D features in the target facial image.
  9. 9. mobile terminal according to claim 8, it is characterised in that the selection submodule is used at described at least one In facial image, choose focus point and be located at a facial image of face central area as the target facial image.
  10. 10. mobile terminal according to claim 7, it is characterised in that the determining module is used to obtain every people The focusing FV values at least two default face positions in face image;
    Wherein, the facial 3D is characterized as the focusing FV values.
  11. 11. mobile terminal according to claim 10, it is characterised in that the authentication module includes:
    Submodule is verified, for the facial 3D features according to the target face and facial 2D features, verifies the target face Whether preparatory condition is met;
    Determination sub-module, if the FV values in facial image every described at least two default face positions are not as shooting is burnt Away from change increase or reduce simultaneously, and the facial 2D features match with default face characteristic, it is determined that the target face Meet preparatory condition;
    Wherein, the preparatory condition includes:The focusing FV values at least two default face positions are in every facial image It is no to increase or reduce simultaneously with the change of shooting focal length, and whether the facial 2D features match with default face characteristic.
  12. 12. mobile terminal according to claim 11, it is characterised in that also include:
    Unlocked state, if meeting preparatory condition for the target face, the screen of the mobile terminal is unlocked.
  13. A kind of 13. mobile terminal, it is characterised in that including:Memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the computer program are realized such as any one of claim 1 to 6 during the computing device The step of method of the face verification.
  14. 14. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the method that the face verification as any one of claim 1 to 6 is realized when the computer program is executed by processor The step of.
CN201710684616.9A 2017-08-11 2017-08-11 Face verification method and mobile terminal Active CN107480500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710684616.9A CN107480500B (en) 2017-08-11 2017-08-11 Face verification method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710684616.9A CN107480500B (en) 2017-08-11 2017-08-11 Face verification method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107480500A true CN107480500A (en) 2017-12-15
CN107480500B CN107480500B (en) 2021-04-27

Family

ID=60599341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710684616.9A Active CN107480500B (en) 2017-08-11 2017-08-11 Face verification method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107480500B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108686A (en) * 2017-12-18 2018-06-01 信利光电股份有限公司 A kind of unlocking screen method, apparatus, equipment and computer readable storage medium
CN109241832A (en) * 2018-07-26 2019-01-18 维沃移动通信有限公司 A kind of method and terminal device of face In vivo detection
CN109409328A (en) * 2018-11-12 2019-03-01 华南师范大学 A kind of method of 3D Face datection
CN110532746A (en) * 2019-07-24 2019-12-03 阿里巴巴集团控股有限公司 Face method of calibration, device, server and readable storage medium storing program for executing
US10853631B2 (en) 2019-07-24 2020-12-01 Advanced New Technologies Co., Ltd. Face verification method and apparatus, server and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959299A (en) * 2011-09-28 2014-07-30 谷歌公司 Login to a computing device based on facial recognition
CN104935438A (en) * 2015-05-28 2015-09-23 北京旷视科技有限公司 Method and apparatus for identity verification
CN105389491A (en) * 2014-08-28 2016-03-09 凯文·艾伦·杜西 Facial recognition authentication system including path parameters
CN105809111A (en) * 2016-02-25 2016-07-27 曹宇 Identity authentication method, apparatus, device and system
CN105912912A (en) * 2016-05-11 2016-08-31 青岛海信电器股份有限公司 Method and system for user to log in terminal by virtue of identity information
CN106446851A (en) * 2016-09-30 2017-02-22 厦门大图智能科技有限公司 Visible light based human face optimal selection method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959299A (en) * 2011-09-28 2014-07-30 谷歌公司 Login to a computing device based on facial recognition
CN105389491A (en) * 2014-08-28 2016-03-09 凯文·艾伦·杜西 Facial recognition authentication system including path parameters
CN104935438A (en) * 2015-05-28 2015-09-23 北京旷视科技有限公司 Method and apparatus for identity verification
CN105809111A (en) * 2016-02-25 2016-07-27 曹宇 Identity authentication method, apparatus, device and system
CN105912912A (en) * 2016-05-11 2016-08-31 青岛海信电器股份有限公司 Method and system for user to log in terminal by virtue of identity information
CN106446851A (en) * 2016-09-30 2017-02-22 厦门大图智能科技有限公司 Visible light based human face optimal selection method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108686A (en) * 2017-12-18 2018-06-01 信利光电股份有限公司 A kind of unlocking screen method, apparatus, equipment and computer readable storage medium
CN109241832A (en) * 2018-07-26 2019-01-18 维沃移动通信有限公司 A kind of method and terminal device of face In vivo detection
CN109409328A (en) * 2018-11-12 2019-03-01 华南师范大学 A kind of method of 3D Face datection
CN110532746A (en) * 2019-07-24 2019-12-03 阿里巴巴集团控股有限公司 Face method of calibration, device, server and readable storage medium storing program for executing
US10853631B2 (en) 2019-07-24 2020-12-01 Advanced New Technologies Co., Ltd. Face verification method and apparatus, server and readable storage medium
CN110532746B (en) * 2019-07-24 2021-07-23 创新先进技术有限公司 Face checking method, device, server and readable storage medium

Also Published As

Publication number Publication date
CN107480500B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN107181913B (en) A kind of photographic method and mobile terminal
CN107480500A (en) The method and mobile terminal of a kind of face verification
CN105933607B (en) A kind of take pictures effect method of adjustment and the mobile terminal of mobile terminal
CN106791364A (en) Method and mobile terminal that a kind of many people take pictures
CN106603928B (en) A kind of image pickup method and mobile terminal
CN105959564B (en) A kind of photographic method and mobile terminal
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN107358111B (en) A kind of method for secret protection and mobile terminal
CN106937054B (en) A kind of take pictures weakening method and the mobile terminal of mobile terminal
CN105915782A (en) Picture obtaining method based on face identification, and mobile terminal
CN107124543A (en) A kind of image pickup method and mobile terminal
CN106791393A (en) A kind of image pickup method and mobile terminal
CN106485164A (en) A kind of image processing method and mobile terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN107678644A (en) A kind of image processing method and mobile terminal
CN107734156A (en) A kind of image pickup method and mobile terminal
CN106228054A (en) Auth method and device
CN106485166A (en) Screenshotss method and apparatus for electric terminal
CN106650367A (en) Private content display method and mobile terminal
CN105959544A (en) Mobile terminal and image processing method thereof
CN107959789B (en) Image processing method and mobile terminal
CN108475306B (en) User interface for mobile device
CN106027794B (en) A kind of encryption method and mobile terminal of photo
CN107527040A (en) A kind of method and apparatus of recognition of face
CN107643912A (en) A kind of information sharing method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant