CN108197450A - Face identification method, face identification device, storage medium and electronic equipment - Google Patents

Face identification method, face identification device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108197450A
CN108197450A CN201711464306.2A CN201711464306A CN108197450A CN 108197450 A CN108197450 A CN 108197450A CN 201711464306 A CN201711464306 A CN 201711464306A CN 108197450 A CN108197450 A CN 108197450A
Authority
CN
China
Prior art keywords
image information
face
human face
electronic equipment
face 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.)
Granted
Application number
CN201711464306.2A
Other languages
Chinese (zh)
Other versions
CN108197450B (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.)
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 CN201711464306.2A priority Critical patent/CN108197450B/en
Publication of CN108197450A publication Critical patent/CN108197450A/en
Application granted granted Critical
Publication of CN108197450B publication Critical patent/CN108197450B/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/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Collating Specific Patterns (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of face identification method, face identification device, storage medium and electronic equipment.Face identification method includes:First time recognition of face is carried out, and judge whether the first human face image information matches with the first preset facial image information according to the first human face image information;If matching, the second human face image information is acquired;If collecting the second human face image information, second of recognition of face is carried out, and judge whether the second human face image information matches with the second preset facial image information according to the second human face image information, the second human face image information is different from the first human face image information;If the second human face image information matches with the second preset facial image information, the locking of electronic equipment is released;If the second human face image information is mismatched with the second preset facial image information, control electronics are in screen lock state, and start default application.The embodiment of the present application can improve the safety of recognition of face unlock.

Description

Face identification method, face identification device, storage medium and electronic equipment
Technical field
The application belongs to field of communication technology more particularly to a kind of face identification method, face identification device, storage medium And electronic equipment.
Background technology
As the electronic equipments such as the development of electronic technology, smart mobile phone are more and more universal.In the use of electronic equipment In the process, camera can be used to carry out recognition of face, to realize unlock.
Invention content
The application provides a kind of face identification method, face identification device, storage medium and electronic equipment, can improve people The safety of face unlock.
In a first aspect, the embodiment of the present application provides a kind of face identification method, applied in electronic equipment, including:
First time recognition of face is carried out according to the first human face image information, and judges that the first human face image information is pre- with first If facial image information whether match;
If first human face image information matches with the described first preset facial image information, the second people is acquired Face image information;
If collecting second human face image information, second of face is carried out according to second human face image information Identification, and judge whether second human face image information matches with the second preset facial image information, wherein described second Human face image information is different from first human face image information;
If second human face image information matches with the second preset facial image information, electronic equipment is released Locking;
If second human face image information is mismatched with the described second preset facial image information, electronics is controlled to set It is standby to be in screen lock state, and start the default application of electronic equipment.
Second aspect, the embodiment of the present application provide a kind of face identification device, applied in electronic equipment, including:
First face recognition module for carrying out first time recognition of face according to the first human face image information, and judges the Whether one human face image information matches with the first preset facial image information;
Second acquisition module, if for first human face image information and the described first preset facial image information phase Matching, then acquire the second human face image information;
Second face recognition module, if for collecting second human face image information, according to second face Image information carries out second of recognition of face, and judges second human face image information and the second preset facial image information Whether match, wherein second human face image information is different from first human face image information;
Control module, if matching for second human face image information and the second preset facial image information, Release the locking of electronic equipment;
The control module, if being additionally operable to second human face image information and the described second preset facial image information It mismatches, then control electronics are in screen lock state, and start the default application of electronic equipment.
The third aspect, the embodiment of the present application provide a kind of storage medium, and the storage medium includes computer program, works as institute When stating computer program and running on computers so that the computer performs above-described face identification method.
Fourth aspect, the embodiment of the present application provides a kind of electronic equipment, including the processor being electrically connected with each other and storage Device, the memory are stored with computer program, and the processor is by calling the computer program, for execution more than institute The face identification method stated.
Face identification method provided by the embodiments of the present application, face identification device, storage medium and electronic equipment, the application Embodiment improves the safety of recognition of face unlock using the unlock of recognition of face twice.
Description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application, make required in being described below to embodiment Attached drawing is briefly described.It should be evident that the accompanying drawings in the following description is only some embodiments of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the application scenarios schematic diagram of face identification method provided by the embodiments of the present application.
Fig. 2 is the flow diagram of face identification method provided by the embodiments of the present application.
Fig. 3 is the state diagram of electronic equipment provided by the embodiments of the present application.
Fig. 4 is another state diagram of electronic equipment provided by the embodiments of the present application.
Fig. 5 is another state diagram of electronic equipment provided by the embodiments of the present application.
Fig. 6 is another state diagram of electronic equipment provided by the embodiments of the present application.
Fig. 7 is another flow diagram of face identification method provided by the embodiments of the present application.
Fig. 8 is the structure diagram of face identification device provided by the embodiments of the present application.
Fig. 9 is another structure diagram of face identification device provided by the embodiments of the present application.
Figure 10 is the structure diagram of electronic equipment provided by the embodiments of the present application.
Figure 11 is another structure diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Schema is please referred to, wherein identical element numbers represent identical component, the principle of the application is to implement one It is illustrated in appropriate computing environment.The following description be based on illustrated the application specific embodiment, should not be by It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application will be with reference to as the step performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable Or in addition change the running of the computer in a manner of known to the tester of this field.The data structure that the data are maintained For the provider location of the memory, there is the specific feature as defined in the data format.But the application principle is with above-mentioned text Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step as described below and behaviour Also it may be implemented in hardware.
Term as used herein " module " can regard the software object to be performed in the arithmetic system as.It is as described herein Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side Method can be implemented in a manner of software, can also be implemented on hardware certainly, within the application protection domain.
Term " first ", " second " and " third " in the application etc. is for distinguishing different objects rather than for retouching State particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive include. Such as contain the step of process, method, system, product or the equipment of series of steps or module is not limited to list or Module, but some embodiments further include the step of not listing or module or some embodiments further include for these processes, Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The embodiment of the present application provides a kind of face identification method, face identification device, storage medium and electronic equipment.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of face identification method provided by the embodiments of the present application.The scene Can include electronic equipment 1, the electronic equipment can be smart mobile phone, tablet computer, desktop computer, laptop or The equipment such as palm PC, the electronic equipment 1 have storage element and are equipped with microprocessor and have operational capability.It needs to illustrate , the equipment with image collecting function such as the electronic equipment 1 or gate inhibition, console.The electronic equipment 1 is with mobile phone For illustrate, which can have front camera 11, which can take pictures, can shoot video. The front camera 11 can obtain extraneous image, and determine human face image information according to image information, which can root One or many recognitions of face are carried out according to the human face image information that front camera 11 is got.
Wherein, front camera 11 can monitor external image in real time during external image is obtained, i.e., preposition camera shooting First 11 automatic detections obtain external image, until getting facial image, which includes human face image information.It needs Illustrate, which can also determine that progress recognition of face is needed to obtain facial image again, such as:Pass through language The mode of sound calling, user send out the voice messaging of recognition of face, and electronic equipment 1 receives the voice that user sends out recognition of face Start front camera 11 after information and obtain facial image.For another example:By way of button touch-control, user triggers electronic equipment 1 physical button specified, electronic equipment 1 receive user's trigger signal control camera 11 and obtain facial image.
In order to increase the unlock safety of mobile phone 1, realize that unlock carries out in detail below to carry out recognition of face twice to mobile phone 1 It describes in detail bright.
In some embodiments, mobile phone 1 can be obtained by its front camera 11 and determine the first facial image, should First facial image has the first human face image information.Wherein, this has the first human face image information that can include facial image Characteristic element, such as:Eyes, nose, face, tooth, ear, wrinkle etc..In some embodiments, first facial image Information can include eyes, nose, face, ear etc., can not include tooth.
Electronic equipment 1 can be pre- with first one by one by first human face image information after getting the first human face image information If facial image information matched, or perhaps compare.The first preset facial image information can be from characteristics of image It is obtained in element database, which can be obtained by advance learning training.Wherein, the first preset face Image information can include eyes, nose, face, ear etc..
In some embodiments, it if the first human face image information is matched with the first preset facial image information, completes First time recognition of face can enter second of recognition of face.And if first time human face image information and the first preset face Portion's image information mismatches, then then first time recognition of face carries out first time recognition of face mistake according to the first human face image information It loses, terminates recognition of face, electronic equipment 1 is kept to be in screen lock state.
In some embodiments, after electronic equipment 1 completes first time recognition of face, second of recognition of face is entered, It carries out in second of face recognition process, electronic equipment 1 acquires the second facial image, second face by front camera 11 Figure can include the second human face image information.Second human face image information can include multiple face characteristic elements.At some In embodiment, second human face image information is different from the first human face image information.Such as first human face image information do not include Tooth, the second human face image information include tooth.
In some embodiments, if electronic equipment 1 collects the second facial image, electronic equipment 1 in preset time period Can second of recognition of face be carried out according to collected second human face image information.Specifically, electronic equipment 1 can be by second Human face image information is matched with the second preset facial image information, is compared in other words.The second preset face image Information can be obtained from characteristics of image element database, which can be obtained by advance learning training.Its In, which can include eyes, nose, face, ear, tooth etc..
In some embodiments, it if the second human face image information is matched with the second preset facial image information, completes Second of recognition of face, then unlock, and can enter in the interface of electronic equipment 1.If the second human face image information is pre- with second If facial image information mismatch, then second of recognition of face fail, screen lock state can be in control electronics 1, together When, the default application of electronic equipment 1 can be started, for example start the camera of electronic equipment 1.It is understood that when second Secondary recognition of face failure, can be started, which can be front camera 11, also may be used with the camera of control electronics 1 To be rear camera.When second of recognition of face failure, the other application of electronic equipment 1 can also be started, for example clock should With or other default applications.Wherein the default application can be accustomed to being set according to user.
It is understood that the embodiment of the present application carries out recognition of face twice using different image informations, can improve The safety of face unlock.For user when using recognition of face electronic equipment, often face is directed at front camera 11 simultaneously, but It is that user is but not configured to unlock, such as:Just for the sake of facilitating viewing time, conveniently taking pictures.It is thus possible to so that user It is rapidly introduced into the application specified, so that user is operated after the main interface for not entering electronic equipment 1, promotes user Experience.
It is specifically described below.
In the embodiment of the present application, it will be described from the angle of face identification device, which specifically may be used Be integrated in tablet, PC, mobile phone etc. have storage element and microprocessor is installed and with operational capability electronic equipment in.
A kind of face identification method, applied in electronic equipment, including:It is carried out for the first time according to the first human face image information Recognition of face, and judge whether the first human face image information matches with the first preset facial image information;It is if described the first Face image information matches with the described first preset facial image information, then acquires the second human face image information;If it collects Second human face image information then carries out second of recognition of face, and described in judgement according to second human face image information Whether the second human face image information matches with the second preset facial image information, wherein second human face image information and institute State the first human face image information difference;If second human face image information matches with the second preset facial image information, Then release the locking of electronic equipment;If second human face image information and the described second preset facial image information are not Match, then control electronics are in screen lock state, and start the default application of electronic equipment.
Referring to Fig. 2, Fig. 2 is the flow diagram of face identification method provided by the embodiments of the present application.The recognition of face Method can include:
In a step 101, first time recognition of face is carried out according to the first human face image information, and judges the first facial image Whether information matches with the first preset facial image information.
In some embodiments, electronic equipment 1 may be used front camera and obtain image, and electronic equipment 1 is according to acquisition To image determine facial image, and human face image information is extracted according to the facial image after determining, which can To include the faces characteristic element such as eyes, face, nose, ear, more than content can be specifically referred to, details are not described herein.Electricity After sub- equipment 1 determines the first human face image information, and the first human face image information is carried out with the first preset facial image information Matching.The first preset facial image information can include the faces characteristic elements such as eyes, face, nose, ear, specifically may be used To refer to more than content, details are not described herein.
In a step 102, if the first human face image information matches with the first preset facial image information, is acquired Two human face image informations.
In some embodiments, if the first human face image information and the first preset facial image information match, the Recognition of face is completed.Electronic equipment can acquire the second human face image information, such as electronic equipment 1 in the preset period The second human face image information can be acquired in 5 seconds after the completion of first time recognition of face and carries out second of recognition of face.Second In secondary face recognition process, the second facial image is acquired first.Electronic equipment 1 may be used front camera and obtain image, and It determines facial image, the second human face image information is then obtained from determining facial image, which can To include the faces characteristic element such as eyes, face, nose, ear, tooth, more than content can be specifically referred to, is no longer gone to live in the household of one's in-laws on getting married herein It states.
It should be noted that the preset period can be 3 seconds, 6 seconds, 7 seconds, 10 seconds etc..The preset period can To be the time interval of first time recognition of face and second of recognition of face.
In step 103, it if collecting the second human face image information, is carried out second according to the second human face image information Recognition of face, and judge whether the second human face image information matches with the second preset facial image information, wherein the second face Image information is different from the first human face image information.
In some embodiments, if the front camera of electronic equipment gets the second face within the preset period Image then obtains the second human face image information from the second facial image, and carries out second of recognition of face.In second of face In identification process, the second human face image information with the second preset facial image information is matched, is compared.Wherein, this Two preset facial image informations can include the faces characteristic elements such as eyes, face, nose, ear, tooth, can specifically join More than content is read, details are not described herein.
It should be noted that second human face image information is different from the first human face image information, such as the second face figure As including tooth in information, do not include tooth in the first human face image information.For another example:First facial image information is included just Face profile, the second image information include side face profile.In other words in first time face recognition process, the first facial image is in First state, the second facial image are in the second state.The first state and the second state are two different states.
At step 104, if the second human face image information is matched with the second preset facial image information, electronics is released The locking of equipment.
In some embodiments, referring to Fig. 3, Fig. 3 is the state diagram of electronic equipment provided by the embodiments of the present application.The electricity Sub- equipment has front camera 11, which can refer to more than content, and details are not described herein.The electronic equipment 1 has locking screen interface 12, i.e. the electronic equipment 1 is in the interface of screen lock state.
Referring to Fig. 4, Fig. 4 is another state diagram of electronic equipment provided by the embodiments of the present application.The electronic equipment has Front camera 11, the front camera 11 can refer to more than content, and details are not described herein.The electronic equipment 1 has a master Interface 13.It can be in locking screen interface 12 in electronic equipment 1, be unlocked by recognition of face unlocking manner, enter master Interface 13.
The embodiment of the present application realizes unlock by face characteristic elements different twice as a result, can improve recognition of face Safety.
In step 105, if the second human face image information is mismatched with the second preset facial image information, electricity is controlled Sub- equipment is in screen lock state, and starts the default application of electronic equipment.
Wherein, which can be front camera, rear camera, clock application etc..The default application can be with It presets, can also be set according to user's use habit.When the camera for starting electronic equipment, camera can be entered Or interface of taking pictures, it can specifically refer to Fig. 5, another state diagrams of the Fig. 5 for electronic equipment provided by the embodiments of the present application, the electricity Sub- equipment 1 has a camera shooting interface 14, can be taken pictures, imaged at the camera shooting interface.When the clock for starting electronic equipment should Used time can show current time with control electronics, can specifically refer to Fig. 6, and Fig. 6 is electricity provided by the embodiments of the present application Another state diagram of sub- equipment, the electronic equipment have a clock interface 15, which shows current time.
The embodiment of the present application can prevent the misunderstanding of recognition of face from locking as a result, and electronic equipment can pass through recognition of face Feature is rapidly introduced under screen lock state in default application, more user-friendly.
Referring to Fig. 7, Fig. 7 is another flow diagram of face identification method provided by the embodiments of the present application.The face Recognition methods includes:
In step 201, the first facial image is acquired, the first facial image has the first human face image information.Wherein, One human face image information can refer to more than content, and details are not described herein.
In step 202, first time recognition of face is carried out according to the first human face image information.Particularly, judge first Whether human face image information matches with the first preset facial image information.Wherein, the first preset facial image information can be with More than content is referred to, details are not described herein.
In step 203, if the first human face image information matches with the first preset facial image information, is acquired Two facial images, the second facial image have the second human face image information.The second face can be obtained within the preset period Image can specifically refer to more than content, and details are not described herein.
In step 204, if the first human face image information is mismatched with the first preset facial image information, electricity is kept Sub- equipment is in screen lock state.
In step 205, judge whether to collect the second facial image.Specifically, judge whether in the preset period Inside collect the second facial image.Wherein, which can refer to more than content, and details are not described herein.
In step 206, if collecting the second facial image, second of recognition of face is carried out, and judges the second face Whether image information matches with the second preset facial image information, wherein the second human face image information is believed with the first facial image Breath is different.Step 103 can be specifically referred to, details are not described herein.If the second human face image information is schemed with the second preset face As information mismatch, then enter in step 207.
In step 207, if not collecting the second facial image, the second people is not collected within the preset period even Face image, then control electronics are in screen lock state, and start the default application of electronic equipment.It can specifically refer in above Hold, details are not described herein.
In a step 208, if the second human face image information is matched with the second preset facial image information, electronics is unlocked The locking of equipment.Step 104 can be specifically referred to, details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application does not unlock the safety for improving recognition of face unlock only with recognition of face twice Property, but also judge whether user is needed into unlock according to the interval time of recognition of face twice, for a user, carry out the Recognition of face is without second of recognition of face, you can quickly starts default application under screen lock state, rapidly enters pre- If in application interface, such as camera shooting interface, clock interface etc..User experience is promoted, it is user-friendly.
Above for the embodiment of the present application in second of face recognition process, according to whether the second face figure can be collected As control electronics make different responses.It will be further described below to the second facial image can be got.
In some embodiments, which can also include:Determine the first time of first time recognition of face Point;Determine the second time point of acquisition the second facial image identification;Judging the time interval of the second time point and first time is It is no to be more than preset duration;If time interval is less than preset duration, second of recognition of face is carried out;If time interval is more than default Duration, then into keeping, electronic equipment is in screen lock state and application is preset in startup.
In some embodiments, which can also include:If carry out the according to the second human face image information The number of secondary recognition of face is more than preset times, then sends out prompt message, prompts the second preset facial image information and the The distinguishing characteristics of one preset facial image information.It is understood that for some users, secondary recognition of face is needed Unlock, if access times are few or other reasons cause user to forget the feature of second of recognition of face, may be used this side Formula, electronic equipment can send out prompt message, to prompt which important feature user exposes.Such as:Second is preset Difference lies in teeth for facial image information and the first preset facial image information.If user repeatedly or continuous several times, than Such as all mistake when carrying out second of recognition of face three times, then electronic equipment 1 sends out prompt message " tooth exposes " automatically.User It shows one's teeth and second of recognition of face can be realized, realize the purpose of unlock.
For ease of preferably implementing face identification method provided by the embodiments of the present application, the embodiment of the present application also provides one kind Face identification device.Wherein the meaning of noun is identical with above-mentioned face identification method, and specific implementation details can be with reference method reality Apply the explanation in example.
Referring to Fig. 8, Fig. 8 is the structure diagram of face identification device provided by the embodiments of the present application.The wherein face Identification device 10 is applied in electronic equipment, which can adopt including the first face recognition module 110, second Collect module 120, the second face recognition module 130 and control module 140.
Wherein, the first face recognition module 110, for carrying out first time recognition of face according to the first human face image information, And judge whether the first human face image information matches with the first preset facial image information.More than content can be specifically referred to, Details are not described herein.
Wherein, the second acquisition module 120, if for the first human face image information and the first preset facial image information phase Matching, then acquire the second human face image information.More than content can be specifically referred to, details are not described herein.It it should be noted that should Second acquisition module 120 is desirably integrated on camera.
Wherein, the second face recognition module 130, if for collecting the second human face image information, according to the second face Image information carries out second of recognition of face, and judges whether are the second human face image information and the second preset facial image information Matching, wherein the second human face image information is different from the first human face image information.More than content can be specifically referred to, herein no longer It repeats.In some embodiments, which can be integrated in same with the first face recognition module 110 In face recognition module, it can also be provided separately.
Wherein, control module 140, if being matched for the second human face image information with the second preset facial image information, Then release the locking of electronic equipment.More than content can be specifically referred to, details are not described herein.
The embodiment of the present application realizes unlock by face characteristic elements different twice as a result, can improve recognition of face Safety.
Wherein, control module 140, if not being additionally operable to the second human face image information and the second preset facial image information not Match, then control electronics are in screen lock state, and start the default application of electronic equipment.More than content can be specifically referred to, Details are not described herein.
The embodiment of the present application can prevent the misunderstanding of recognition of face from locking as a result, and electronic equipment can pass through recognition of face Feature is rapidly introduced under screen lock state in default application, more user-friendly.
Referring to Fig. 9, Fig. 9 is another structure diagram of face identification device provided by the embodiments of the present application.The face Identification device 10 can also include the first acquisition module 150, the first determining module 160, the second determining module 170 and prompting mould Block 180.
Wherein, the first acquisition module 150, for acquiring the first facial image, the first facial image has the first face figure As information.Wherein, the first human face image information can refer to more than content, and details are not described herein.It should be noted that this first Acquisition module 150 can be integrated on camera.In some embodiments, 150 and second acquisition module of the first acquisition module 120 can be integrated on same camera.It can also be integrated separately respectively on different cameras.
Wherein, the first determining module 160, for determining the first time point of the first time recognition of face.
Wherein, the second determining module 170, for determining the second time of the acquisition the second facial image identification Point.
Wherein, control module 140, if the time interval is additionally operable to less than the preset duration, according to described second Human face image information carries out second of recognition of face, and judges second human face image information and the described second preset face Whether image information matches.
Wherein, control module 140, if being additionally operable to the time interval more than the preset duration, control electronics In screen lock state, and start the default application of electronic equipment.More than content can be specifically referred to, details are not described herein.
Wherein, reminding module 180, if carrying out second of recognition of face according to second human face image information for described Number be more than preset times, then send out prompt message, prompt the second preset facial image information pre- with described first If facial image information distinguishing characteristics.More than content can be specifically referred to, details are not described herein.
The embodiment of the present application also provides a kind of electronic equipment.Referring to Fig. 10, electronic equipment 500 include processor 501 with And memory 502.Wherein, processor 501 is electrically connected with memory 502.
Wherein, the processor 500 is the control centre of electronic equipment 500, entire using various interfaces and connection The various pieces of electronic equipment, by operation or load store, computer program in memory 502 and calling is stored in Data in memory 502 perform the various functions of electronic equipment 500 and handle data, whole so as to be carried out to electronic equipment 500 Body monitors.
Wherein, the memory 502 can be used for storage software program and module, and processor 501 is stored in by operation The computer program and module of memory 502, so as to perform various functions application and data processing.Memory 502 can be led To include storing program area and storage data field, wherein, storing program area can storage program area, needed at least one function Computer program (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored according to electronic equipment Use created data etc..In addition, memory 502 can include high-speed random access memory, can also include non-volatile Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits Reservoir 502 can also include Memory Controller, to provide access of the processor 501 to memory 502.
In some application embodiments, processor 501 in electronic equipment 500 can according to the steps, by one or The corresponding instruction of process of more than one computer program is loaded into memory 502, and be stored in by the operation of processor 501 Computer program in memory 502, it is as follows so as to fulfill various functions:
First time recognition of face is carried out according to the first human face image information, and judges first human face image information and the Whether one preset facial image information matches;
If first human face image information matches with the described first preset facial image information, the second people is acquired Face image information;
If collecting second human face image information, second of face is carried out according to second human face image information Identification, and judge whether second human face image information matches with the second preset facial image information, wherein described second Human face image information is different from first human face image information;
If second human face image information matches with the second preset facial image information, electronic equipment is released Locking;
If second human face image information is mismatched with the described second preset facial image information, electronics is controlled to set It is standby to be in screen lock state, and start the default application of electronic equipment.
In some embodiments, processor 501 is additionally operable to perform following steps:
If not collecting the second human face image information, control electronics are in screen lock state, and start electronic equipment Default application.
In some embodiments, processor 501 is additionally operable to perform following steps:
Determine the first time point of the first time recognition of face;
Determine the second time point of the acquisition the second facial image identification;
Judge whether second time point and the time interval of the first time point are more than preset duration;
If the time interval is less than the preset duration, second of people is carried out according to second human face image information Face identifies, and judges whether second human face image information matches with the described second preset facial image information;
If the time interval is more than the preset duration, control electronics are in screen lock state, and start electronics The default application of equipment.
In some embodiments, processor 501 is additionally operable to perform following steps:
If the number that second of recognition of face is carried out according to second human face image information is more than preset times, Prompt message is sent out, prompts the difference of the second preset facial image information and the described first preset facial image information Feature.
In some embodiments, processor 501 is additionally operable to perform following steps:
Start the camera shooting application of electronic equipment, the electronic equipment is controlled to enter camera shooting interface;Or
Start the clock of electronic equipment, the electronic equipment is controlled to show current time.
From the foregoing, it will be observed that the embodiment of the present application does not unlock the safety for improving recognition of face unlock only with recognition of face twice Property, but also judge whether user is needed into unlock according to the interval time of recognition of face twice, for a user, carry out the Recognition of face is without second of recognition of face, you can quickly starts default application under screen lock state, rapidly enters pre- If in application interface, such as camera shooting interface, clock interface etc..User experience is promoted, it is user-friendly.
Also referring to Figure 11, in some embodiments, electronic equipment 500 can also include:Display 503, radio frequency Circuit 504, voicefrequency circuit 505 and power supply 506.Wherein, display 503, radio circuit 504, voicefrequency circuit 505 and power supply 506 are electrically connected respectively with processor 501.
Wherein, the display 503 be displayed for by information input by user or be supplied to user information and Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination. Display 503 can include display panel, in some embodiments, liquid crystal display (Liquid Crystal may be used Display, LCD) or the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) match Put display panel.
Wherein, the radio circuit 504 can be used for transceiving radio frequency signal, with by radio communication with the network equipment or its He establishes wireless telecommunications by electronic equipment, the receiving and transmitting signal between the network equipment or other electronic equipments.
Wherein, the voicefrequency circuit 505 can be used for providing between user and electronic equipment by loud speaker, microphone Audio interface.
Wherein, the power supply 506 is used to all parts power supply of electronic equipment 500.In some embodiments, it is electric Source 506 can be connected by power-supply management system with 401 rule of processor, so as to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
Although being not shown in Figure 11, electronic equipment 500 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, and the storage medium is stored with computer program, when the meter When calculation machine program is run on computers so that the computer performs the face identification method in any of the above-described embodiment, than Such as:First time recognition of face is carried out according to the first human face image information, and judges that first human face image information is pre- with first If facial image information whether match;If first human face image information and the described first preset facial image information phase Matching, then acquire the second human face image information;If collecting second human face image information, according to the second face figure As information carries out second of recognition of face, and judge that second human face image information is with the second preset facial image information No matching, wherein second human face image information is different from first human face image information;If second facial image Information matches with the second preset facial image information, then releases the locking of electronic equipment;If the second facial image letter Breath is mismatched with the described second preset facial image information, then control electronics are in screen lock state, and start electronics and set Standby default application.
In some embodiments, the storage medium can be magnetic disc, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It should be noted that for the face identification method of the embodiment of the present application, this field common test personnel It is appreciated that all or part of flow of face identification method described in realization the embodiment of the present application, is that can pass through computer program It is completed to control relevant hardware, the computer program can be stored in a computer read/write memory medium, such as stored It performs in the memory of electronic equipment, and by least one processor in the electronic equipment, may include in the process of implementation Such as the flow of the embodiment of the face identification method.
For the face identification device of the embodiment of the present application, each function module can be integrated in a processing core In piece or modules are individually physically present, can also two or more modules be integrated in a module.On The form realization that hardware had both may be used in integrated module is stated, can also be realized in the form of software function module.The collection If into module realized in the form of software function module and be independent product sale or in use, can also be stored in In one computer read/write memory medium, the storage medium is for example read-only memory, disk or CD etc..
A kind of face identification method, face identification device, storage medium and the electricity provided above the embodiment of the present application Sub- equipment is described in detail, and the principle and implementation of this application are described for specific case used herein, The explanation of above example is only intended to help to understand the present processes and its core concept;Meanwhile for the skill of this field Art personnel, according to the thought of the application, there will be changes in specific embodiments and applications, in conclusion this Description should not be construed as the limitation to the application.

Claims (12)

1. a kind of face identification method, applied in electronic equipment, which is characterized in that including:
First time recognition of face is carried out according to the first human face image information, and judges that first human face image information is pre- with first If facial image information whether match;
If first human face image information matches with the described first preset facial image information, the second face figure is acquired As information;
If collecting second human face image information, second of face knowledge is carried out according to second human face image information Not, and judge whether second human face image information matches with the second preset facial image information, wherein second people Face image information is different from first human face image information;
If second human face image information matches with the second preset facial image information, the lock of electronic equipment is released It is fixed;
If second human face image information is mismatched with the described second preset facial image information, at control electronics In screen lock state, and start the default application of electronic equipment.
2. face identification method according to claim 1, which is characterized in that if first human face image information with The first preset facial image information matches, then acquires the second image information, specifically include:
If not collecting the second human face image information, control electronics are in screen lock state, and start the pre- of electronic equipment If using.
3. face identification method according to claim 1, which is characterized in that if described collect second facial image Information then carries out second of recognition of face according to second human face image information, and judges second human face image information Whether match, specifically include with the described second preset facial image information:
Determine the first time point of the first time recognition of face;
Determine the second time point of the acquisition the second facial image identification;
Judge whether second time point and the time interval of the first time point are more than preset duration;
If the time interval is less than the preset duration, second of face knowledge is carried out according to second human face image information Not, and judge whether second human face image information matches with the described second preset facial image information;
If the time interval is more than the preset duration, control electronics are in screen lock state, and start electronic equipment Default application.
4. face identification method according to claim 1 or 2, which is characterized in that if described collect second face Image information then carries out second of recognition of face according to second human face image information, and judges second facial image After whether information matches with the described second preset facial image information, the face identification method further includes:
If the number that second of recognition of face is carried out according to second human face image information is more than preset times, send out Prompt message, the difference for prompting the second preset facial image information and the described first preset facial image information are special Sign.
5. face identification method according to any one of claim 1-3, which is characterized in that the startup electronic equipment Default application, specifically includes:
Start the camera shooting application of electronic equipment, the electronic equipment is controlled to enter camera shooting interface;Or
Start the clock of electronic equipment, the electronic equipment is controlled to show current time.
6. a kind of face identification device, applied in electronic equipment, which is characterized in that including:
First face recognition module for carrying out first time recognition of face according to the first human face image information, and judges the first Whether face image information matches with the first preset facial image information;
Second acquisition module, if for first human face image information and the described first preset facial image information phase Match, then acquire the second human face image information;
Second face recognition module, if for collecting second human face image information, according to second facial image Information carries out second of recognition of face, and judges whether are second human face image information and the second preset facial image information Matching, wherein second human face image information is different from first human face image information;
Control module if matching for second human face image information and the second preset facial image information, releases The locking of electronic equipment;
The control module, if not being additionally operable to second human face image information and the described second preset facial image information not Match, then control electronics are in screen lock state, and start the default application of electronic equipment.
7. face identification device according to claim 6, which is characterized in that the control module, if being additionally operable to not acquire To the second human face image information, then control electronics are in screen lock state, and start the default application of electronic equipment.
8. face identification device according to claim 6, which is characterized in that the face identification device further includes first really Cover half block and the second determining module;
First determining module, for determining the first time point of the first time recognition of face;
Second determining module, for determining the second time point of the acquisition the second facial image identification;
Second face recognition module, if being less than the preset duration for the time interval, according to second people Face image information carries out second of recognition of face, and judges that second human face image information is schemed with the described second preset face As whether information matches;
The control module, if being more than the preset duration for the time interval, control electronics are in screen locking shape State, and start the default application of electronic equipment.
9. the face identification device described according to claim 6 or 7, which is characterized in that the face identification device further includes:
Suggestion device, if being more than in advance for the number that second of recognition of face is carried out according to second human face image information If number, then prompt message is sent out, prompt the second preset facial image information and the described first preset face image The distinguishing characteristics of information.
10. according to the face identification device described in any one of claim 6-8, which is characterized in that the control device is used for Start the camera shooting application of electronic equipment, the electronic equipment is controlled to enter camera shooting interface;
The control device for starting the clock of electronic equipment, controls the electronic equipment to show current time.
11. a kind of storage medium, which is characterized in that the storage medium includes computer program, when the computer program exists When being run on computer so that the computer performs the face identification method as described in any one of claim 1 to 5.
12. a kind of electronic equipment, which is characterized in that including the processor and memory being electrically connected with each other, the memory is deposited Computer program is contained, the processor is by calling the computer program, for performing as any in claim 1 to 5 Face identification method described in.
CN201711464306.2A 2017-12-28 2017-12-28 Face recognition method, face recognition device, storage medium and electronic equipment Active CN108197450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464306.2A CN108197450B (en) 2017-12-28 2017-12-28 Face recognition method, face recognition device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464306.2A CN108197450B (en) 2017-12-28 2017-12-28 Face recognition method, face recognition device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108197450A true CN108197450A (en) 2018-06-22
CN108197450B CN108197450B (en) 2021-08-27

Family

ID=62585233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464306.2A Active CN108197450B (en) 2017-12-28 2017-12-28 Face recognition method, face recognition device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108197450B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108875989A (en) * 2018-06-29 2018-11-23 北京金山安全软件有限公司 Reservation method and device based on face recognition, computer equipment and storage medium
CN108919949A (en) * 2018-06-25 2018-11-30 联想(北京)有限公司 A kind of state switching method and device
CN109703571A (en) * 2018-12-24 2019-05-03 北京长城华冠汽车技术开发有限公司 A kind of vehicle entertainment system login system and login method based on recognition of face
CN110458034A (en) * 2019-07-17 2019-11-15 江西拓世智能科技有限公司 A kind of identity control methods based on face and iris recognition
CN110910556A (en) * 2019-11-08 2020-03-24 泰康保险集团股份有限公司 Gate control method and device, readable storage medium and electronic equipment
CN111291645A (en) * 2020-01-20 2020-06-16 支付宝实验室(新加坡)有限公司 Identity recognition method and device
CN111711762A (en) * 2020-06-30 2020-09-25 云从科技集团股份有限公司 Camera lens module shielding control method and device based on target detection and camera
CN112539784A (en) * 2020-12-08 2021-03-23 四川天邑康和通信股份有限公司 PON/micro base station power supply lightning protection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077339A (en) * 2012-12-28 2013-05-01 广东欧珀移动通信有限公司 Data protection method and device
CN103605459A (en) * 2013-11-27 2014-02-26 福州瑞芯微电子有限公司 Fast application launching method and fast application launching terminal
CN104636734A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Terminal face recognition method and device
CN107465871A (en) * 2017-08-03 2017-12-12 深圳天珑无线科技有限公司 The method, apparatus and storage medium taken pictures based on mobile terminal automatic sensing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077339A (en) * 2012-12-28 2013-05-01 广东欧珀移动通信有限公司 Data protection method and device
CN103605459A (en) * 2013-11-27 2014-02-26 福州瑞芯微电子有限公司 Fast application launching method and fast application launching terminal
CN104636734A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Terminal face recognition method and device
CN107465871A (en) * 2017-08-03 2017-12-12 深圳天珑无线科技有限公司 The method, apparatus and storage medium taken pictures based on mobile terminal automatic sensing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919949A (en) * 2018-06-25 2018-11-30 联想(北京)有限公司 A kind of state switching method and device
CN108875989A (en) * 2018-06-29 2018-11-23 北京金山安全软件有限公司 Reservation method and device based on face recognition, computer equipment and storage medium
CN109703571A (en) * 2018-12-24 2019-05-03 北京长城华冠汽车技术开发有限公司 A kind of vehicle entertainment system login system and login method based on recognition of face
CN110458034A (en) * 2019-07-17 2019-11-15 江西拓世智能科技有限公司 A kind of identity control methods based on face and iris recognition
CN110910556A (en) * 2019-11-08 2020-03-24 泰康保险集团股份有限公司 Gate control method and device, readable storage medium and electronic equipment
CN111291645A (en) * 2020-01-20 2020-06-16 支付宝实验室(新加坡)有限公司 Identity recognition method and device
CN111711762A (en) * 2020-06-30 2020-09-25 云从科技集团股份有限公司 Camera lens module shielding control method and device based on target detection and camera
CN111711762B (en) * 2020-06-30 2021-06-29 云从科技集团股份有限公司 Camera lens module shielding control method and device based on target detection and camera
CN112539784A (en) * 2020-12-08 2021-03-23 四川天邑康和通信股份有限公司 PON/micro base station power supply lightning protection device

Also Published As

Publication number Publication date
CN108197450B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN108197450A (en) Face identification method, face identification device, storage medium and electronic equipment
CN108885740A (en) The intelligent personal assistants of active
CN108053046A (en) Hospital register method, device, storage medium and electronic equipment
CN108463832A (en) Electronic equipment and process execution method based on hardware diagnostic result
CN106650490B (en) The login method and device of cloud account
Moors et al. Automatic processing of dominance and submissiveness
CN106101629A (en) The method and device of output image
CN105868611A (en) Biological-information authentication method and device and mobile terminal
CN111723746A (en) Scene recognition model generation method, system, platform, device and medium
CN109446775A (en) A kind of acoustic-controlled method and electronic equipment
CN108875582A (en) Auth method, device, equipment, storage medium and program
CN108932760A (en) Work attendance method and terminal based on recognition of face
CN106510164A (en) Luggage case control method and device
CN106453528A (en) Method and device for pushing message
CN108459814A (en) Using startup method, mobile terminal and computer readable storage medium
CN109495638A (en) A kind of information display method and terminal
CN108200282A (en) Using startup method, apparatus, storage medium and electronic equipment
CN113542101A (en) Help seeking information sending and responding method, device and storage medium
CN107786349B (en) Security management method and device for user account
CN107808077A (en) For controlling the method, apparatus and storage medium of terminal unlocking function
CN112764600A (en) Resource processing method, device, storage medium and computer equipment
CN106533918A (en) User addition prompting method and apparatus
CN114724311B (en) Cabinet opening method, device and equipment for storage cabinet and computer readable storage medium
CN106776874A (en) User's colonization method and device
CN109144634A (en) Application display method, device, storage medium and electronic equipment

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant