CN108196663A - A kind of face identification method, mobile terminal - Google Patents

A kind of face identification method, mobile terminal Download PDF

Info

Publication number
CN108196663A
CN108196663A CN201810047316.4A CN201810047316A CN108196663A CN 108196663 A CN108196663 A CN 108196663A CN 201810047316 A CN201810047316 A CN 201810047316A CN 108196663 A CN108196663 A CN 108196663A
Authority
CN
China
Prior art keywords
mobile terminal
target
face
range
duration
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
CN201810047316.4A
Other languages
Chinese (zh)
Other versions
CN108196663B (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 CN201810047316.4A priority Critical patent/CN108196663B/en
Publication of CN108196663A publication Critical patent/CN108196663A/en
Application granted granted Critical
Publication of CN108196663B publication Critical patent/CN108196663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users

Abstract

The present invention provides a kind of face identification method, mobile terminals, are related to technical field of biometric identification.Wherein, the method includes:When the screen of the mobile terminal is lighted, the target range between the face of target object and the mobile terminal and the target duration corresponding to the determining mobile terminal from the first spatial attitude to second space posture are determined;When the target range is in the range of pre-determined distance, and the target duration is more than preset duration, recognition of face is carried out.In embodiments of the present invention, mobile terminal can be when screen be lighted, by detecting target range and target duration, determine that user whether there is recognition of face demand, when determining user, there are during recognition of face demand, it recalls system resource and carries out recognition of face rather than the recognition of face of calling system resource progress immediately after bright screen, so as to save the electricity of mobile terminal and system resource.

Description

A kind of face identification method, mobile terminal
Technical field
The present invention relates to technical field of biometric identification more particularly to a kind of face identification method, mobile terminals.
Background technology
With the rapid development of mobile terminal technology, the function that mobile terminal carries out bio-identification is also continuously improved, at present Many mobile terminals can carry out identification, such as recognition of face unlock, recognition of face branch by biological identification technology It pays, recognition of face encryption etc..
At present, biological identification technology is usually combined namely with unlocking bright screen technology when user triggers shifting by mobile terminal During the bright screen of dynamic terminal, mobile terminal can start front camera and carry out recognition of face immediately, so as to when identification is verified, Operation can be unlocked.
However, mobile terminal can carry out recognition of face immediately after bright screen, and then trigger mobile terminal unlock, and user touches When sending out the bright screen of mobile terminal, it may just hope and check time or the application pre-review information for checking locking screen interface etc., and be not desired to Lock screen is solved, but mobile terminal still can carry out recognition of face when user does not need to be unlocked, therefore waste is mobile eventually The electricity and system resource at end.
Invention content
The present invention provides a kind of face identification method, mobile terminal, can be carried out immediately after bright screen with solving mobile terminal Recognition of face, the problem of so as to cause electricity and system resource waste.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of method of recognition of face, applied to movement Terminal, including:
When the screen of the mobile terminal is lighted, the target between the face of target object and the mobile terminal is determined Target duration corresponding to distance and the determining mobile terminal from the first spatial attitude to second space posture;
When the target range is in the range of pre-determined distance, and the target duration is more than preset duration, face is carried out Identification.
The embodiment of the present invention additionally provides a kind of mobile terminal, which includes:
First determining module, for when the screen of the mobile terminal is lighted, determine the face of target object with it is described Corresponding to target range and the determining mobile terminal from the first spatial attitude to second space posture between mobile terminal Target duration;
Identification module, for working as the target range in the range of pre-determined distance, and when the target duration is more than default When long, recognition of face is carried out.
The embodiment of the present invention additionally provides a kind of mobile terminal, which includes processor, memory and be stored in On the memory and the computer program that can run on the processor, the computer program are performed by the processor The step of Shi Shixian face identification methods of the present invention.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program, the step of face identification method of the present invention is realized when computer program is executed by processor.
In embodiments of the present invention, mobile terminal when screen is lighted, can determine that the face of target object and movement are whole During target corresponding to the target range and determining mobile terminal from the first spatial attitude to second space posture between end It is long, and then when the target range is in the range of pre-determined distance, and target duration is more than preset duration, then recognition of face is carried out, It that is to say that mobile terminal can carry out recognition of face determining user there are system resource during recognition of face demand, is recalled, Rather than calling system resource carries out recognition of face immediately after bright screen, so as to save the electricity of mobile terminal and system Resource.
Description of the drawings
Fig. 1 shows a kind of flow chart of face identification method in the embodiment of the present invention one;
Fig. 2 shows a kind of flow charts of face identification method in the embodiment of the present invention two;
Fig. 3 shows that a kind of user in the embodiment of the present invention two carries out the schematic diagram of lift wrist action;
Fig. 4 shows a kind of structure diagram of mobile terminal in the embodiment of the present invention three;
Fig. 5 shows a kind of structure diagram of mobile terminal in the embodiment of the present invention four;
Fig. 6 shows a kind of hardware architecture diagram of mobile terminal in each embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
With reference to Fig. 1, the flow chart of the face identification method of the embodiment of the present invention one is shown, can specifically include following step Suddenly:
S101, when the screen of mobile terminal is lighted, determine target between the face of target object and mobile terminal away from From and determining mobile terminal from the first spatial attitude to second space posture corresponding to target duration.
In embodiments of the present invention, screen can be lighted by lifting wrist action when user holds mobile terminal, that is to say and work as When mobile terminal detects that lift wrist acts by built-in gyroscope, screen can be lighted.It is mobile during user lifts wrist The spatial attitude of terminal will change with lift wrist track, and in the initial position of lift wrist track, mobile terminal is in the first space appearance State, after the completion of lift wrist action, the final position in lift wrist track, mobile terminal is in second space posture.Certainly, actually should In, user can also light screen by lifting the superposition of wrist action and other operations, that is to say that mobile terminal is detecting base When the bright screen operation for lifting wrist action, screen can be lighted, the embodiment of the present invention is not especially limited this.
Mobile terminal is when carrying out recognition of face, if user is too near from mobile terminal, mobile terminal will be unable to obtain people The complete image of face, and then will be unable to carry out recognition of face or generate identification mistake, if user is too far from mobile terminal, Mobile terminal will be unable to accurately obtain the details of face, and then will be unable to carry out recognition of face or generate identification mistake.Accordingly , user is when needing through recognition of face solution lock screen, in order to which mobile terminal can rapidly and accurately be identified, it will usually By mobile terminal face face, while appropriately distance can be kept with mobile terminal, without too near or too far from mobile terminal, Therefore, mobile terminal is when screen is lighted, it may be determined that the target range between the face and mobile terminal of target object.
In addition, when user lights screen by lifting wrist action, usual user is cooperation recognition of face, can be in the same of lift wrist When adjustment the distance between with mobile terminal so that the distance between face and mobile terminal are moderate after lift wrist, due to user It can be adjusted when lifting wrist, therefore the duration of user's lift wrist will not be too short.Correspondingly, mobile terminal can determine mobile terminal From the target duration corresponding to the first spatial attitude to second space posture namely it is to determine that target object completes lift wrist action institute The duration of experience, when target duration very in short-term, it may be determined that user is not adjusted when lifting wrist at this time, and that is to say can be true Determine user not needing to carry out recognition of face at this time, when target duration is longer, it may be determined that user carries out when lifting wrist at this time Adjustment.
When target range is moderate, and target duration is longer, it may be determined that user is cooperation recognition of face, in lift wrist mistake The distance between mobile terminal is adjusted in journey, that is to say can determine that user needs to carry out recognition of face at this time.In addition, work as When target range is moderate, mobile terminal can get complete facial image, and can recognize that the thin of face each section Section, therefore, the accuracy rate of recognition of face can be improved by carrying out recognition of face at this moment.
It should be noted that mobile terminal can first determine target range, then determine target duration, can also first determine mesh Duration is marked, then determines target range, can also while determine target range and target duration, the embodiment of the present invention is for determining mesh The execution sequence of subject distance and determining target duration is not especially limited.
For example, when mobile terminal detects that lift wrist acts by built-in gyroscope, screen can be lighted, and then when shifting When the screen of dynamic terminal is lighted, it may be determined that the target range between the face and mobile terminal of target object is 30 centimetres, with And it can determine during the target corresponding to mobile terminal from the first spatial attitude to second space posture a length of 1 second.
S102 when target range is in the range of pre-determined distance, and target duration is more than preset duration, carries out face knowledge Not.
In embodiments of the present invention, when the target range between the face of target object and mobile terminal is in pre-determined distance model It, can in enclosing, and when the target duration corresponding to mobile terminal from the first spatial attitude to second space posture is more than preset duration To determine that user as cooperation recognition of face, has adjusted the distance between mobile terminal, before mobile terminal can call at this time Camera shooting facial image is put, then calls other system resources that the face in the facial image is identified.Face After identification is verified, mobile terminal can carry out unlocking screen, and then receive other operations of user.
In addition, when target range is not in the range of pre-determined distance, it may be determined that user does not need to carry out face knowledge at this time Not, and then mobile terminal can expend electricity, without calling system resource with end operation without continuing.When target range exists In the range of pre-determined distance, but target duration be less than or equal to preset duration when, can also determine that user is not needed at this time into pedestrian Face identifies, and then mobile terminal can expend electricity, without calling system resource with end operation without continuing.
For example, mobile terminal can determine 30 centimetres of target range in 15 centimetres to 35 centimetres of pre-determined distance range, with And it can determine that target duration is more than preset duration 0.5 second in 1 second, and then mobile terminal can start front camera and carry out face Identification.
In embodiments of the present invention, mobile terminal when screen is lighted, can determine that the face of target object and movement are whole During target corresponding to the target range and determining mobile terminal from the first spatial attitude to second space posture between end It is long, and then when the target range is in the range of pre-determined distance, and target duration is more than preset duration, then recognition of face is carried out, It that is to say that mobile terminal can carry out recognition of face determining user there are system resource during recognition of face demand, is recalled, Rather than calling system resource carries out recognition of face immediately after bright screen, so as to save the electricity of mobile terminal and system Resource.
Embodiment two
With reference to Fig. 2, the flow chart of the face identification method of the embodiment of the present invention two is shown, can specifically include following step Suddenly:
S201, when the screen of mobile terminal is lighted, determine target between the face of target object and mobile terminal away from From and determining mobile terminal from the first spatial attitude to second space posture corresponding to target duration.
In embodiments of the present invention, mobile terminal can determine face and the movement of target object by following two ways Target range between terminal, including:
The first method of determination:When the screen of mobile terminal is lighted, the people of target object is determined by front camera Face accumulates;According to face area, the target range between the face of target object and mobile terminal is determined.
In the first method of determination, mobile terminal can in advance be obtained before manufacture at least one sample face area and At least one sample distance, at least one sample face area are corresponded at least one sample distance, are then moved Terminal can be determined according at least one sample face area and at least one sample distance between face area and distance Correspondence, that is to say the reduction formula that can be determined between face area and distance, and stored, and then mobile terminal After manufacture, when screen is lighted, the face area of target object can be determined by front camera, it then can be according to this Face area by the correspondence between the face area and distance of storage, determines that the people's face accumulates corresponding target range. In correspondence between face area and distance, face area is bigger, represents the distance between face and mobile terminal more Small, face area is smaller, represents that the distance between face and mobile terminal are bigger.
Second of method of determination:When the screen of mobile terminal is lighted, the people of target object is determined by range sensor Target range between face and mobile terminal.
In second of method of determination, the range sensor in mobile terminal can emit infrared ray outward, and infrared ray exists It can be reflected when being irradiated to face by face, then range sensor can receive the infrared ray reflected, and then apart from biography Sensor according to transmitting infrared ray time, receive the time of infrared ray and the spread speed of infrared ray, it may be determined that target Target range between the face and mobile terminal of object.
In addition, Fig. 3 shows that a kind of user carries out the schematic diagram of lift wrist action, and with reference to Fig. 3, when user starts to lift wrist, Mobile terminal is located at location A, and mobile terminal is in the first spatial attitude at this time, and mobile terminal can determine lift wrist by gyroscope The initial time of action, when user terminates to lift wrist, mobile terminal is located at B location, and mobile terminal is in second space appearance at this time State, mobile terminal form the lift wrist rail by location A to B location represented by dotted arrow S in Fig. 3 during user lifts wrist Mark, mobile terminal can determine the end time of lift wrist action by gyroscope at this time, and then mobile terminal can determine to move During target corresponding to terminal from the first spatial attitude to second space posture a length of end time and the initial time Time interval.
For example, when mobile terminal detects that lift wrist acts by built-in gyroscope, screen can be lighted, and then when shifting When the screen of dynamic terminal is lighted, can be determined by range sensor target between the face of target object and mobile terminal away from From for 27 centimetres and can determine the target corresponding to mobile terminal from the first spatial attitude to second space posture when is a length of 1.2 the second.
S202 determines current time and the target location that target object is presently in.
In embodiments of the present invention, user is inconvenient to use mobile whole when the specific time being located at certain localities End, and then when the time being located at the place also without the demand of recognition of face, but might have and see time or screen locking The demand of information, such as 14 points to 16 points of Wednesday afternoon will go to Xiao Wang house to be private tutor to user Xiao Liu weekly, exist when in this period During Xiao Wang family, it has not been convenient to using mobile phone, but need to see the time, therefore, mobile terminal can determine current time, and can lead to It crosses positioning and determines the target location that target object is presently in, to determine whether user currently has the demand for carrying out recognition of face.
It should be noted that mobile terminal can first determine target range, then determine current time and target location, also may be used First to determine current time and target location, then determine target range, target range, current time and mesh can also while be determined Cursor position, the embodiment of the present invention is for determining target range, the execution for determining target duration, determining current time and target location Sequence is not especially limited.
For example, mobile terminal can determine current time as Sunday 12 noon and can determine mesh by positioning The target location that mark object is presently in is Xiao Liu family.
S203, when target range is in the range of pre-determined distance, target duration is more than preset duration, and current time is not default In time range, and when target location is not located in the range of predeterminable area, recognition of face is carried out.
In embodiments of the present invention, when target range is in the range of pre-determined distance, target duration is more than preset duration, currently Time not in preset time range, and when target location is not located in the range of predeterminable area, it may be determined that user is cooperation people Face identifies, has adjusted the distance between mobile terminal during wrist is lifted, and user be not at this time it is inconvenient to use The when and where of mobile terminal, at this time mobile terminal can call front camera shoot facial image, then call other System resource the face in the facial image is identified.After recognition of face is verified, mobile terminal can carry out Unlocking screen, and then receive other operations of user.
In addition, when target range is not in the range of pre-determined distance, it may be determined that user does not need to carry out face knowledge at this time Not, and then mobile terminal can be with end operation.When target range is in the range of pre-determined distance, but target duration is less than or equal in advance If during duration, it can also determine that user does not need to carry out recognition of face, and then mobile terminal can be with end operation at this time.Work as target Distance is in the range of pre-determined distance, and target duration is more than preset duration, but current time is in preset time range, and target position During setting in the range of predeterminable area, it can also determine that user does not need to carry out recognition of face at this time, and then mobile terminal can be with End operation.When target range is in the range of pre-determined distance, target duration is more than preset duration, and target location is located at predeterminable area In the range of, but current time not in preset time range when, mobile terminal can carry out recognition of face.When target range is pre- If in distance range, target duration is more than preset duration, but when target location is not located in the range of predeterminable area, and mobile terminal can To carry out recognition of face.
It should be noted that in practical applications, except target range, target duration, in the target position residing for the object time Except the parameter for putting these three characterization user behaviors, mobile terminal can also detect the parameter of other characterization user behaviors, this hair Bright embodiment is not especially limited this.
In addition, pre-determined distance range, preset duration, preset time range and predeterminable area range can moved by user It modifies in the setting option of dynamic terminal, in practical applications, user can also be to mobile terminal it needs to be determined which user's row Be configured for parameter, for example, user can from target range, target duration, in the target location residing for the object time, only Setting is detected target range, and then mobile terminal can only be detected target range after bright screen, the present invention Embodiment is not especially limited this.
For example, mobile terminal can determine 27 centimetres of target range in 15 centimetres to 35 centimetres of pre-determined distance range, also It can determine that target duration is more than preset duration 0.5 second in 1.2 seconds, current time Sunday 12 noon can also be determined not pre- If in 14 points to 16 points of time range Wednesday afternoon and it can determine that target location Xiao Liu man is not located at predeterminable area range In " region away from 5 km of Xiao Wang family's radius ", mobile terminal can start front camera progress recognition of face at this time.
In embodiments of the present invention, mobile terminal when screen is lighted, can determine that the face of target object and movement are whole Target range between end determines the target duration corresponding to mobile terminal from the first spatial attitude to second space posture, with And the target location that determining current time and target object are presently in, and then work as target range in the range of pre-determined distance, mesh It marks duration and is more than preset duration, current time is not in preset time range, and target location is not located in the range of predeterminable area When, then recognition of face is carried out, it that is to say that mobile terminal, there are during recognition of face demand, can recall system determining user Resource carries out recognition of face rather than calling system resource carries out recognition of face immediately after bright screen, is moved so as to save The electricity and system resource of dynamic terminal.
Embodiment three
With reference to Fig. 4, show a kind of structure diagram of mobile terminal 400 of the embodiment of the present invention three, can specifically include:
First determining module 401, for when the screen of the mobile terminal is lighted, determining face and the institute of target object It states the target range between mobile terminal and determines that the mobile terminal is right from the first spatial attitude to second space posture The target duration answered;
Identification module 402, for working as the target range in the range of pre-determined distance, and the target duration is more than default During duration, recognition of face is carried out.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized each in the embodiment of the method for Fig. 1 Process is repeated to avoid, and which is not described herein again.
In embodiments of the present invention, mobile terminal can determine target pair when screen is lighted by the first determining module Target range and determining mobile terminal between the face and mobile terminal of elephant is from the first spatial attitude to second space posture Corresponding target duration, and then when the target range is in the range of pre-determined distance, and target duration is more than preset duration, then Recognition of face is carried out by identification module, that is to say that mobile terminal can determine user there are during recognition of face demand, then Calling system resource carries out recognition of face rather than calling system resource carries out recognition of face immediately after bright screen, so as to Enough save the electricity and system resource of mobile terminal.
Example IV
With reference to Fig. 5, show a kind of structure diagram of mobile terminal 500 of the embodiment of the present invention four, can specifically include:
First determining module 501, for when the screen of the mobile terminal is lighted, determining face and the institute of target object It states the target range between mobile terminal and determines that the mobile terminal is right from the first spatial attitude to second space posture The target duration answered;
Identification module 502, for working as the target range in the range of pre-determined distance, and the target duration is more than default During duration, recognition of face is carried out.
With reference to Fig. 5, the mobile terminal further includes:
Second determining module 503, for the target location for determining current time and the target object is presently in;
Correspondingly, the identification module 502 includes:
Identify submodule 5021, for working as the target range in the range of pre-determined distance, the target duration is more than pre- If duration, the current time not in preset time range, and when the target location is not located in the range of predeterminable area, into Row recognition of face.
With reference to Fig. 5, first determining module 501 includes:
First determination sub-module 5011, for when the screen of the mobile terminal is lighted, being determined by front camera The face area of target object;
Second determination sub-module 5012, for according to the face area, determine the face of the target object with it is described Target range between mobile terminal.
With reference to Fig. 5, first determining module 501 includes:
Third determination sub-module 5013, for when the screen of the mobile terminal is lighted, being determined by range sensor Target range between the face of target object and the mobile terminal.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized each in the embodiment of the method for Fig. 2 Process is repeated to avoid, and which is not described herein again.
In embodiments of the present invention, mobile terminal can determine target pair when screen is lighted by the first determining module Target range and determining mobile terminal between the face and mobile terminal of elephant is from the first spatial attitude to second space posture Corresponding target duration, and pass through the second determining module and determine current time and the target location that target object is presently in, And then when target range is in the range of pre-determined distance, target duration is more than preset duration, and current time is not in preset time range It is interior, and when target location is not located in the range of predeterminable area, then recognition of face is carried out by identification module, it that is to say mobile terminal Can determine user there are during recognition of face demand, recall system resource carry out recognition of face rather than bright screen it Calling system resource carries out recognition of face immediately afterwards, so as to save the electricity of mobile terminal and system resource.
Embodiment five
A kind of hardware architecture diagram of Fig. 6 mobile terminals of each embodiment to realize the present invention,
The mobile terminal 600 includes but not limited to:It is radio frequency unit 601, network module 602, audio output unit 603, defeated Enter unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor The components such as 610 and power supply 611.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 is not formed Restriction to mobile terminal, mobile terminal can include than illustrate more or fewer components either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 610, for when the screen of the mobile terminal is lighted, determining face and the institute of target object It states the target range between mobile terminal and determines that the mobile terminal is right from the first spatial attitude to second space posture The target duration answered;When the target range is in the range of pre-determined distance, and the target duration is more than preset duration, carry out Recognition of face.
In embodiments of the present invention, mobile terminal when screen is lighted, can determine that the face of target object and movement are whole During target corresponding to the target range and determining mobile terminal from the first spatial attitude to second space posture between end It is long, and then when the target range is in the range of pre-determined distance, and target duration is more than preset duration, then recognition of face is carried out, It that is to say that mobile terminal can carry out recognition of face determining user there are system resource during recognition of face demand, is recalled, Rather than calling system resource carries out recognition of face immediately after bright screen, so as to save the electricity of mobile terminal and system Resource.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receive and send messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 610;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 602 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 603 can receive radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 603 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 600 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loud speaker, buzzer and receiver etc..
Input unit 604 is used to receive audio or video signal.Input unit 604 can include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The form output of mobile communication base station can be sent to via radio frequency unit 601 by being converted in the case of telephone calling model.
Mobile terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 6061, and proximity sensor can close when mobile terminal 600 is moved in one's ear Display panel 6061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 606 is used to show by information input by user or be supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Display panel 6061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 607 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 607 include touch panel 6071 and Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 6071 or in touch panel 6071 Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area It manages the order that device 610 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send to processor 610 with determine touch event type, be followed by subsequent processing device 610 according to touch The type for touching event provides corresponding visual output on display panel 6061.Although in figure 6, touch panel 6071 and display Panel 6061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 608 is the interface that external device (ED) is connect with mobile terminal 600.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 600 can be used in 600 He of mobile terminal Data are transmitted between external device (ED).
Memory 609 can be used for storage software program and various data.Memory 609 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 609 and/or module and call Data in device 609 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned function modules, details are not described herein.
Embodiment six
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 610, memory 609 is stored in On memory 609 and the computer program that can be run on the processor 610, the computer program are performed by processor 610 Each process of the above-mentioned face identification method embodiments of Shi Shixian, and identical technique effect can be reached, it is repeated to avoid, here It repeats no more.
Embodiment seven
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned face identification method embodiment, and energy when being executed by processor Reach identical technique effect, repeated to avoid, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including Also there are other identical elements in the process of the element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form is belonged within the protection of the present invention.

Claims (10)

1. a kind of face identification method, applied to mobile terminal, which is characterized in that the method includes:
When the screen of the mobile terminal is lighted, determine target between the face of target object and the mobile terminal away from From and determine the mobile terminal from the first spatial attitude to second space posture corresponding to target duration;
When the target range is in the range of pre-determined distance, and the target duration is more than preset duration, recognition of face is carried out.
2. according to the method described in claim 1, it is characterized in that, it is described when the target range in the range of pre-determined distance, And the target duration be more than preset duration when, carry out recognition of face the step of before, further include:
Determine current time and the target location that the target object is presently in;
Correspondingly, it is described when the target range is in the range of pre-determined distance, and the target duration is more than preset duration, into The step of row recognition of face, including:
When the target range is in the range of pre-determined distance, the target duration is more than preset duration, and the current time does not exist In preset time range, and when the target location is not located in the range of predeterminable area, recognition of face is carried out.
3. according to the method described in claim 1, it is characterized in that, the face of the determining target object and the mobile terminal Between target range the step of, including:
When the screen of the mobile terminal is lighted, the face area of target object is determined by front camera;
According to the face area, the target range between the face of the target object and the mobile terminal is determined.
4. according to the method described in claim 1, it is characterized in that, the face of the determining target object and the mobile terminal Between target range the step of, including:
When the screen of the mobile terminal is lighted, the face of target object and the mobile terminal are determined by range sensor Between target range.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First determining module, for when the screen of the mobile terminal is lighted, determining the face of target object and the movement The mesh corresponding to target range and the determining mobile terminal from the first spatial attitude to second space posture between terminal Mark duration;
Identification module, for working as the target range in the range of pre-determined distance, and the target duration be more than preset duration when, Carry out recognition of face.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal further includes:
Second determining module, for the target location for determining current time and the target object is presently in;
Correspondingly, the identification module includes:
Identify submodule, for working as the target range in the range of pre-determined distance, the target duration is more than preset duration, institute It states current time not in preset time range, and when the target location is not located in the range of predeterminable area, carries out face knowledge Not.
7. mobile terminal according to claim 5, which is characterized in that first determining module includes:
First determination sub-module, for when the screen of the mobile terminal is lighted, target object to be determined by front camera Face area;
Second determination sub-module, for according to the face area, determining the face of the target object and the mobile terminal Between target range.
8. mobile terminal according to claim 5, which is characterized in that first determining module includes:
Third determination sub-module, for when the screen of the mobile terminal is lighted, target object to be determined by range sensor Face and the mobile terminal between target range.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is performed by the processor as in Claims 1-4 The step of any one of them face identification method.
10. a kind of computer readable storage medium, which is characterized in that computer journey is stored on the computer readable storage medium Sequence realizes face identification method according to any one of claims 1 to 4 when the computer program is executed by processor Step.
CN201810047316.4A 2018-01-16 2018-01-16 Face recognition method and mobile terminal Active CN108196663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810047316.4A CN108196663B (en) 2018-01-16 2018-01-16 Face recognition method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810047316.4A CN108196663B (en) 2018-01-16 2018-01-16 Face recognition method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108196663A true CN108196663A (en) 2018-06-22
CN108196663B CN108196663B (en) 2020-04-17

Family

ID=62589534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810047316.4A Active CN108196663B (en) 2018-01-16 2018-01-16 Face recognition method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108196663B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109543564A (en) * 2018-11-02 2019-03-29 北京小米移动软件有限公司 Based reminding method and device
CN111368670A (en) * 2020-02-26 2020-07-03 上海依图信息技术有限公司 Face recognition method and device, readable medium and system thereof
CN111371945A (en) * 2018-12-25 2020-07-03 Tcl集团股份有限公司 Network switching method based on face recognition, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488525A (en) * 2012-06-08 2014-01-01 诺基亚公司 Determination of user preference relevant to scene
CN103534664A (en) * 2011-05-12 2014-01-22 苹果公司 Presence sensing
CN103677267A (en) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 Mobile terminal and awakening method and device thereof
CN106020667A (en) * 2016-05-17 2016-10-12 安徽华米信息科技有限公司 Control method and device for screen status switching, and intelligent electronic equipment
CN106231178A (en) * 2016-07-22 2016-12-14 维沃移动通信有限公司 A kind of self-timer method and mobile terminal
CN107454250A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Use eye care method during mobile terminal, device, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103534664A (en) * 2011-05-12 2014-01-22 苹果公司 Presence sensing
CN103488525A (en) * 2012-06-08 2014-01-01 诺基亚公司 Determination of user preference relevant to scene
CN103677267A (en) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 Mobile terminal and awakening method and device thereof
CN106020667A (en) * 2016-05-17 2016-10-12 安徽华米信息科技有限公司 Control method and device for screen status switching, and intelligent electronic equipment
CN106231178A (en) * 2016-07-22 2016-12-14 维沃移动通信有限公司 A kind of self-timer method and mobile terminal
CN107454250A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Use eye care method during mobile terminal, device, mobile terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109543564A (en) * 2018-11-02 2019-03-29 北京小米移动软件有限公司 Based reminding method and device
CN111371945A (en) * 2018-12-25 2020-07-03 Tcl集团股份有限公司 Network switching method based on face recognition, mobile terminal and storage medium
CN111371945B (en) * 2018-12-25 2021-05-18 Tcl科技集团股份有限公司 Network switching method based on face recognition, mobile terminal and storage medium
CN111368670A (en) * 2020-02-26 2020-07-03 上海依图信息技术有限公司 Face recognition method and device, readable medium and system thereof

Also Published As

Publication number Publication date
CN108196663B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN107943551A (en) A kind of screen display method and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN109151180A (en) A kind of object identifying method and mobile terminal
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107832110A (en) A kind of information processing method and mobile terminal
CN108334272A (en) A kind of control method and mobile terminal
CN108108110A (en) A kind of screen control method, screen control device and mobile terminal
CN107678829A (en) A kind of application control method and mobile terminal
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
CN108256308A (en) A kind of recognition of face solution lock control method and mobile terminal
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN107884157A (en) A kind of method for detecting abnormality of diffractive-optical element, mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN107920384A (en) A kind of method, terminal and computer-readable recording medium for searching for communication network
CN109343699A (en) A kind of bright screen method, apparatus, mobile terminal and storage medium
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN107704182A (en) A kind of barcode scanning method and mobile terminal
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN108196663A (en) A kind of face identification method, mobile terminal
CN108769399A (en) A kind of message treatment method and terminal device
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN108319833A (en) A kind of control method and mobile terminal of application program
CN110191426A (en) A kind of method and terminal of information sharing
CN110213438A (en) A kind of processing method and terminal device of application program
CN109005297A (en) A kind of display methods and mobile terminal of navigation application

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