CN108052819A - A kind of face identification method, mobile terminal and computer readable storage medium - Google Patents

A kind of face identification method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108052819A
CN108052819A CN201711476861.7A CN201711476861A CN108052819A CN 108052819 A CN108052819 A CN 108052819A CN 201711476861 A CN201711476861 A CN 201711476861A CN 108052819 A CN108052819 A CN 108052819A
Authority
CN
China
Prior art keywords
face
mobile terminal
face template
pending image
template
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
CN201711476861.7A
Other languages
Chinese (zh)
Other versions
CN108052819B (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 CN201711476861.7A priority Critical patent/CN108052819B/en
Publication of CN108052819A publication Critical patent/CN108052819A/en
Application granted granted Critical
Publication of CN108052819B publication Critical patent/CN108052819B/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

Abstract

The present invention provides a kind of face identification method, mobile terminal and computer readable storage medium, wherein, face identification method includes:Face information is gathered, judges whether the face information matches with face template preset in the mobile terminal, the face template is the data identified based on the pending image in the mobile terminal;When the face information is matched with the face template, according to the corresponding access right of the face template, user interface and/or response touch control operation are shown, the access right is the information arrived based on the pending image acquisition.The present invention is based on the pending image acquisition face templates in mobile terminal, and after the face information and the face template matches collected, according to the corresponding access right of the face template, show user interface and/or response touch control operation, improve the security of mobile terminal, the scope of application and degree of intelligence of recognition of face.

Description

A kind of face identification method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to field of terminal technology more particularly to a kind of face identification method, mobile terminals and computer-readable Storage medium.
Background technology
At present, face recognition scheme, collect detect user's facial information when, can only be specific in the specific time Scene and interface by prompting user, carry out the input of face information, to detect the facial information of user.
But the face information that can so collect is less, and at the time of can only being specific, the face letter under specific environment Breath.When the facial information of user changes, for example, lift face, pluck eyebrows, draw the variations such as lip after, the drop of discrimination can be caused It is low.In addition, mobile terminal of the prior art is typically only capable to the face information of identification owner, the scope of application is than relatively limited.
The content of the invention
It is an object of the invention to provide a kind of face identification method, mobile terminal and computer readable storage medium, with Solve the problems, such as face recognition scheme in the prior art discrimination is relatively low and restricted application.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of face identification method, applied to mobile whole End, the face identification method include:
Face information is gathered, judges whether the face information matches with face template preset in the mobile terminal, The face template is the data identified based on the pending image in the mobile terminal;
When the face information is matched with the face template, according to the corresponding access right of the face template, show Show user interface and/or response touch control operation, the access right is the information arrived based on the pending image acquisition.
In a first aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, the mobile terminal includes:
First processing module, for gathering face information, judge the face information whether with it is pre- in the mobile terminal The face template matching put, the face template are the data identified based on the pending image in the mobile terminal;
Second processing module, for when the face information is matched with the face template, according to the face template Corresponding access right, shows user interface and/or response touch control operation, and the access right is based on the pending image The information got.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal, including processor, memory and are stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being performed by the processor The step of above-mentioned face identification method.
The third aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit Computer program is stored on storage media, the computer program realizes the step of above-mentioned face identification method when being executed by processor Suddenly.
In embodiments of the present invention, based on the pending image acquisition face template in mobile terminal, and collecting Face information is with after the face template matches, according to the corresponding access right of the face template, showing user interface and/or response Touch control operation improves the security of mobile terminal, the scope of application and degree of intelligence of recognition of face.
Description of the drawings
Fig. 1 is the face identification method flow diagram of the embodiment of the present invention;
Fig. 2 is that the default file of the embodiment of the present invention presss from both sides schematic diagram;
Fig. 3 is the face identification method concrete application flow diagram one of the embodiment of the present invention;
Fig. 4 is the face identification method concrete application flow diagram two of the embodiment of the present invention;
Fig. 5 is the mobile terminal structure schematic diagram one of the embodiment of the present invention;
Fig. 6 is the mobile terminal structure schematic diagram two of the 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, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of face identification method, applied to mobile terminal, as shown in Figure 1, the face is known Other method includes:
Step 11:Gather face information, judge the face information whether with face mould preset in the mobile terminal Plate matches, and the face template is the data identified based on the pending image in the mobile terminal.
Specifically it can be also not limited thereto by scanning collection by acquisition of taking pictures;Moreover, it is judged that face information is No matched with face template preset in mobile terminal is by by face template one preset in face information and mobile terminal One comparison when comparing result instruction matching degree is more than threshold value, determines face information and face preset in the mobile terminal Template matches.
Step 12:When the face information is matched with the face template, according to the corresponding use of the face template Permission, shows user interface and/or response touch control operation, and the access right is the letter arrived based on the pending image acquisition Breath.
Wherein, it is described according to the corresponding access right of the face template, show user interface and/or response touch control operation The step of may particularly include:If the access right is the first permission, the first user interface is shown, but be not responding to unlock behaviour Make;If alternatively, the access right is the second permission, second user interface is shown, respond part touch control operation;If alternatively, The access right is the 3rd permission, then shows the 3rd user interface, responds whole touch control operations.
So can be while security be ensured, the more close personnel of convenience and owner relation use mobile terminal, Improve user experience.
The embodiment of the present invention is believed based on the pending image acquisition face template in mobile terminal, and in the face collected Breath is with after the face template matches, according to the corresponding access right of the face template, showing user interface and/or response touch-control behaviour Make, improve the security of mobile terminal, the scope of application and degree of intelligence of recognition of face.
Further, before the acquisition face information, the face identification method further includes:To the pending image Recognition of face is carried out, obtains the face template;The intimate degree of target object and owner in the pending image, Determine the corresponding access right of the face template, and by access right storage corresponding with the face template.
The relevant treatment of follow-up recognition of face can be so convenient for, improve processing speed.
Wherein, the intimate degree of the target object and owner in the pending image, determines the face The step of template corresponding access right, includes:Obtain the communication information of target object in the pending image and owner with And the photographic intelligence in mobile terminal on target object;According to the communication information and photographic intelligence, the target is obtained Object and the intimate degree of owner;According to the intimate degree, the corresponding access right of the face template is determined.
Preferably, the communication information include in the message registration information of owner, short message and social media At least one of chat message;And/or the photographic intelligence includes the quantity of the photo comprising target object in mobile terminal And at least one of group photo quantity of target object and owner.
The corresponding access right of different face templates so can be accurately automatically obtained, is not required to manual operation, improves user Experience.
Specifically, described the step of carrying out recognition of face to the pending image, obtain the face template, includes: There are during the face of target object, be confirmed whether to add in the pending image in face template in the pending image; If so, the pending image is added in face template, and the face template is updated;According to updated people Face template obtains the face template;Wherein, the target object include owner and with the relevant other users of owner.
It can so obtain including owner and the face template with the relevant other users of owner, enrich mobile terminal Application scenarios.Herein, the pending image added in face template is substantially the face information of user, and the face information of user can To exist in the form of the parts of images of pending image, can also exist in the form of user's face characteristic information, herein not It is construed as limiting.
Wherein, it is described in the pending image there are during the face of target object, being confirmed whether will be described pending The step that image is added in face template includes:Scan the face that whether there is target object in pending image;If so, it askes Ask whether user adds in the pending image in face template.
The precision and purity of face template can be so further improved, meets the individual demand of user, improves user Experience.
Specifically, the step of whether there is the face of target object in the pending image of scanning includes:It is shone in shooting When piece is stored, if detect apart from last time acquisition photo be more than the first preset duration, using this shooting photo as Pending image scans the face that whether there is target object in this time photo of shooting;Or detecting selected photograph When piece is moved to default file folder, using selected photo as pending image, scans and whether there is in selected photo The face of target object;Wherein, the default file folder is used to provide image document for face template.
Face template can so be automatically updated or in user's mobile image, to moving to default file folder manually Image is scanned, and can avoid the maloperation of user.
Further, in the case where detecting that selected photo is moved to default file folder, the recognition of face side Method further includes:If the face of target object is not present in pending image, user is prompted not scan the face of target object, Pending image can not be added in face template.
The maloperation of user is further avoided, and is reminded, whether discover operation convenient for user correct.
Wherein, the step that the pending image is added in face template includes:The pending image is added Enter in face template and default file folder, wherein, the default file folder is used to provide image document for face template.
The database that can be understood as face template beyond the clouds, can so store enough templates, and mobile terminal Image in local default file folder is a part of template, is directly operated convenient for user.
Further, before the pending image is added in default file folder, the face identification method also wraps It includes:Default file folder is encrypted;
Corresponding, the step that the pending image is added in default file folder includes:To the default file Folder is decrypted;The pending image is added in the default file folder after decryption.
Irrelevant personnel can so be avoided to operate default file folder, cause the reduction of face template purity, Huo Zhezao Into harm.
The face template update part in face identification method provided in an embodiment of the present invention is carried out furtherly below Bright, image is by taking owner's photograph as an example.
For the promotion face identification rate of intelligence, the face template update section involved in scheme provided in an embodiment of the present invention Point, by way of intelligent Matching, the photograph of user can be specifically matched in photograph album, can certainly be taken pictures in user's photograph album Information or photographic information, are identified the variation of user, and increase the template in identification storehouse (face template database).Pass through The update of template and information, to promote face identification rate;
Or the photograph album file of a user oneself can be established in photograph album, user is allowed actively to be put into the photograph of oneself In the photograph album of oneself, and user's facial information is obtained from photograph, so as to be screened by the active of user, establish more identifications Template promotes discrimination.
It is, can be when user is taken pictures, after having clapped a film,fault every time in the embodiment of the present invention, it can be with Judge whether there is corresponding user in photograph;If having recognized corresponding user, pop-up prompting:It " whether by this photo, adds in Into recognition of face template", user's do-it-yourself is allowed once to select, to promote the accuracy of the information recognized;
Further, in the photograph album of user, inside intelligent classification as shown in Figure 2, the file for increasing by one " oneself " is used Family is after face identification functions are started, and according to the user picture in " oneself " file, the photo of user is searched, by user's face Portion's template, is added in the template of recognition of face.
Scheme provided in an embodiment of the present invention by by the face head portrait photo for belonging to owner in photograph album through overmatching, sieve Choosing is converted into the templates of face identification functions, ensures that the face of owner user in different situations can be identified with this.
Specifically, a file for belonging to owner can be generated first, in photograph album, such as " oneself " file in Fig. 2.It should File is mainly used for storing the photo for belonging to owner in mobile phone, and classifying mode can be that user is added manually to this document folder, It can also identify the photo for belonging to owner by the portrait photo in face recognition technology Auto-matching photograph album and be included into this article Part presss from both sides.
In addition, cryptographic operation can be achieved for this document folder, with after mobile phone is prevented to be used by others by the photo of non-owner It is manually added in this document folder, in order to avoid influence the uniformity of subsequent recognition of face template.
When the file of " oneself " changes, variation can refer to the deletion of photo or increase or replacement etc., then open Beginning matches the photo in photograph album with existing recognition of face template, and when matching value reaches certain fraction, then pop-up carries Show and " whether by this photo, be added in recognition of face template" user is allowed to do once select, to promote the accurate of identification information Degree, may be set to be and be added to database using the photo as template automatically.
Can be specially every 1 week (this time for the situation for automatically updating face template (file of update " oneself ") Interval can be set), after mobile phone has been taken pictures every time, identification process will be started, when avoiding each user from taking pictures, every time It takes pictures and is all asked;As shown in figure 3, the identification process includes:
Step 31:Start;
Step 32:It takes pictures, and stores photo;
Step 33:Judge whether to gather photo more than 1 week apart from last time, if so, 34 are entered step, if it is not, entering step 37;
Step 34:Scanned photograph, judges whether photo includes the face information of user, if so, 35 are entered step, if it is not, Into step 37;
Step 35:Judge whether that the face information for the user for including photo is added in recognition of face template, if so, into Step 36, if it is not, entering step 37;
Can be specially:Pop-up prompting asks the user whether that the face information for the user for including photo adds in face and knows In other template, it is not limited thereto.
Wherein, the face information of user can exist in the form of the parts of images of photo, can also be special with user's face The form of reference breath exists, and is not limited thereto.
Step 36:The face information for the user that photo is included is added in recognition of face template, and photo is added to " certainly Oneself " in file;
Step 37:Terminate.
Photo is actively added to the situation of " oneself " file for user oneself, as shown in figure 4, update face template Flow include:
Step 41:Start;
Step 42:When photo is placed into file, scanned photograph judges photo whether believe by the face comprising user Breath, if it is not, 43 are entered step, if so, entering step 44;
Step 43:This photo of prompting user does not include the face information of user, can not add in recognition of face template, go forward side by side Enter step 46;
Step 44:Judge whether that the face information for the user for including photo is added in recognition of face template, if so, into Step 45, if it is not, entering step 46;
Can be specially:Pop-up prompting asks the user whether that the face information for the user for including photo adds in face and knows In other template, it is not limited thereto.
Wherein, the face information of user can exist in the form of the parts of images of photo, can also be special with user's face The form of reference breath exists, and is not limited thereto.
Step 45:The face information for the user that photo is included is added in recognition of face template, and photo is added to " certainly Oneself " in file;
Step 46:Terminate.
From the foregoing, it will be observed that said program provided in an embodiment of the present invention solves face recognition scheme in the prior art well Discrimination is relatively low and the problem of restricted application.
The embodiment of the present invention additionally provides a kind of mobile terminal, as shown in figure 5, the mobile terminal includes:
First processing module 51, for gathering face information, judge the face information whether in the mobile terminal Preset face template matching, the face template are the number identified based on the pending image in the mobile terminal According to;
Second processing module 52, for when the face information is matched with the face template, according to the face mould The corresponding access right of plate, shows user interface and/or response touch control operation, and the access right is based on the pending figure As the information got.
The embodiment of the present invention is believed based on the pending image acquisition face template in mobile terminal, and in the face collected Breath is with after the face template matches, according to the corresponding access right of the face template, showing user interface and/or response touch-control behaviour Make, improve the security of mobile terminal, the scope of application and degree of intelligence of recognition of face.
Further, the mobile terminal further includes:3rd processing module, for before gathering face information, to described Pending image carries out recognition of face, obtains the face template;Fourth processing module, for according in the pending image Target object and owner intimate degree, determine the corresponding access right of the face template, and by the access right with The face template corresponds to storage.
Wherein, the fourth processing module includes:First acquisition submodule, for obtaining the mesh in the pending image Mark the photographic intelligence on target object in the communication information and mobile terminal of object and owner;First processing submodule, is used According to the communication information and photographic intelligence, the target object and the intimate degree of owner are obtained;First determines submodule Block, for according to the intimate degree, determining the corresponding access right of the face template.
Preferably, the communication information include in the message registration information of owner, short message and social media At least one of chat message;And/or the photographic intelligence includes the quantity of the photo comprising target object in mobile terminal And at least one of group photo quantity of target object and owner.
Specifically, the 3rd processing module includes:First confirms submodule, for existing in the pending image During the face of target object, it is confirmed whether to add in the pending image in face template;Second processing submodule, if for It is that then the pending image is added in face template, and the face template is updated;3rd processing submodule, For according to updated face template, obtaining the face template;Wherein, the target object includes owner and and owner Relevant other users.
Wherein, the first confirmation submodule includes:First scanning element whether there is for scanning in pending image The face of target object;First inquiry unit, for if so, asking the user whether the pending image adding in face mould In plate.
Specifically, first scanning element includes:First processing subelement, for shoot photo stored when, If detecting, apart from last time acquisition photo be more than the first preset duration, using the photo of this shooting as pending image, is swept Retouch the face that whether there is target object in this time photo of shooting;Or second processing subelement, for detect it is selected In photo when being moved to default file folder, using selected photo as pending image, scanning in selected photo is The no face there are target object;Wherein, the default file folder is used to provide image document for face template.
Further, in the case where detecting that selected photo is moved to default file folder, the mobile terminal is also Including:First reminding module for if the face of target object to be not present in pending image, prompts user not scan mesh The face of object is marked, pending image can not be added in face template.
Wherein, the second processing submodule includes:First processing units, for the pending image to be added in face In template and default file folder, wherein, the default file folder is used to provide image document for face template.
Further, the mobile terminal further includes:First encrypting module, for being added in advance by the pending image If before in file, default file folder is encrypted;
Corresponding, the first processing units include:First decryption subelement, for being solved to default file folder It is close;3rd processing subelement, for adding in the pending image in the default file folder after decryption.
Specifically, the Second processing module includes:Fourth process submodule, if being the first power for the access right Limit, then show the first user interface, but is not responding to unlock operation;If alternatively, the access right is the second permission, the is shown Two user interfaces respond part touch control operation;If alternatively, the access right is the 3rd permission, the 3rd user interface is shown, The whole touch control operations of response.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4 Each process, to avoid repeating, which is not described herein again.
From the foregoing, it will be observed that said program provided in an embodiment of the present invention solves face recognition scheme in the prior art well Discrimination is relatively low and the problem of restricted application.
A kind of hardware architecture diagram of Fig. 6 mobile terminals of each embodiment to realize the present invention, the mobile terminal 60 Including but not limited to:Radio frequency unit 61, network module 62, audio output unit 63, input unit 64, sensor 65, display are single The components such as member 66, user input unit 67, interface unit 68, memory 69, processor 610 and power supply 611.This field skill Art personnel are appreciated that mobile terminal structure shown in Fig. 6 does not form the restriction to mobile terminal, and mobile terminal can wrap It includes and either combines some components or different components arrangement than illustrating more or fewer components.In the embodiment of the present invention In, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, vehicle mobile terminals, wearable Equipment and pedometer etc..
Wherein, processor 610, for gathering face information, judge the face information whether in the mobile terminal Preset face template matching, the face template are the number identified based on the pending image in the mobile terminal According to;When the face information is matched with the face template, according to the corresponding access right of the face template, user is shown Interface and/or response touch control operation, the access right are the information arrived based on the pending image acquisition.
In embodiments of the present invention, by based on the pending image acquisition face template in mobile terminal, and gathering The face information that arrives with after the face template matches, according to the corresponding access right of the face template, show user interface and/or Touch control operation is responded, improves the security of mobile terminal, the scope of application and degree of intelligence of recognition of face.
Optionally, processor 610 is additionally operable to, and before the acquisition face information, face is carried out to the pending image Identification, obtains the face template;The intimate degree of target object and owner in the pending image determines described The corresponding access right of face template, and by the access right it is corresponding with the face template storage.
Optionally, processor 610 is specifically used for, and the communication for obtaining the target object in the pending image and owner is believed Photographic intelligence in breath and mobile terminal on target object;According to the communication information and photographic intelligence, obtain described Target object and the intimate degree of owner;According to the intimate degree, the corresponding access right of the face template is determined.
Optionally, the communication information include in the message registration information of owner, short message and social media At least one of chat message;And/or the photographic intelligence includes the quantity of the photo comprising target object in mobile terminal And at least one of group photo quantity of target object and owner.
Optionally, processor 610 is specifically used for, and there are during the face of target object in the pending image, confirms Whether the pending image is added in face template;If so, the pending image is added in face template, and it is right The face template is updated;According to updated face template, the face template is obtained;Wherein, the target object Including owner and with the relevant other users of owner.
Optionally, processor 610 is specifically used for, and scans the face that whether there is target object in pending image;If so, It then asks the user whether to add in the pending image in face template.
Optionally, processor 610 is specifically used for, and when shooting photo is stored, is shone if detecting and being gathered apart from last time Piece is more than the first preset duration, then using the photo of this shooting as pending image, scanning this time in the photo of shooting whether There are the faces of target object;Or when detecting that selected photo is moved to default file folder, by selected photo As pending image, the face that whether there is target object in selected photo is scanned;Wherein, the default file folder is used In providing image document for face template.
Optionally, in the case where detecting that selected photo is moved to default file folder, processor 610 is additionally operable to, If the face of target object is not present in pending image, user is prompted not scan the face of target object, can not will be treated Image is handled to add in face template.
Optionally, processor 610 is specifically used for, and the pending image is added in face template and default file folder, Wherein, the default file folder is used to provide image document for face template.
Optionally, processor 610 is additionally operable to, before the pending image is added in default file folder, to described Default file folder is encrypted;
Corresponding, processor 610 is specifically used for, and default file folder is decrypted;The pending image is added Enter in the default file folder after decryption.
Optionally, processor 610 is specifically used for, if the access right is the first permission, shows the first user interface, But it is not responding to unlock operation;If alternatively, the access right is the second permission, second user interface is shown, response part is touched Control operation;If alternatively, the access right is the 3rd permission, the 3rd user interface is shown, respond whole touch control operations.
It should be understood that in the embodiment of the present invention, radio frequency unit 61 can be used for receiving and sending messages or communication process in, signal It sends and receivees, specifically, after the downlink data from base station is received, is handled to processor 610;In addition, the number by uplink According to being sent to base station.In general, radio frequency unit 61 include but not limited to antenna, at least one amplifier, transceiver, coupler, Low-noise amplifier, duplexer etc..In addition, radio frequency unit 61 can also be led to by wireless communication system and network and other equipment Letter.
Mobile terminal has provided wireless broadband internet to the user by network module 62 and has accessed, and such as helps user's transmitting-receiving Email, browsing webpage and access streaming video etc..
Audio output unit 63 can be receiving by radio frequency unit 61 or network module 62 or is stored in memory 69 Voice data be converted into audio signal and export as sound.Moreover, audio output unit 63 can also be provided with movement eventually The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 60 performs.Audio Output unit 63 includes loud speaker, buzzer and receiver etc..
Input unit 64 is used to receive audio or video signal.Input unit 64 can include graphics processor (Graphics Processing Unit, GPU) 641 and microphone 642, graphics processor 641 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) are handled. Treated, and picture frame may be displayed on display unit 66.Through graphics processor 641, treated that picture frame can be stored in It is sent in memory 69 (or other storage mediums) or via radio frequency unit 61 or network module 62.Microphone 642 can To receive sound, and can be voice data by such acoustic processing.Treated, and voice data can be in telephone relation The form output of mobile communication base station can be sent to via radio frequency unit 61 by being converted in the case of pattern.
Mobile terminal 60 further includes at least one sensor 65, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to ambient light The light and shade of line adjusts the brightness of display panel 661, and proximity sensor can close display when mobile terminal 60 is moved in one's ear Panel 661 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three Axis) acceleration size, size and the direction of gravity are can detect that when static, it is (such as horizontal available for identification mobile terminal posture Vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 65 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, Thermometer, infrared ray sensor etc., details are not described herein.
Display unit 66 is used to show by information input by user or be supplied to the information of user.Display unit 66 may include Liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed in display panel 661 Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 661.
User input unit 67 can be used for the number for receiving input or character information and generation and the user of mobile terminal Set and function control it is related key signals input.Specifically, user input unit 67 include touch panel 671 and other Input equipment 672.Touch panel 671, also referred to as touch-screen collect user on it or neighbouring touch operation (for example are used Family uses the behaviour of any suitable object or attachment on touch panel 671 or near touch panel 671 such as finger, stylus Make).Touch panel 671 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 610, processor 610 is received and sends Order and performed.Furthermore, it is possible to it is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Touch panel 671.Except touch panel 671, user input unit 67 can also include other input equipments 672.Specifically, His input equipment 672 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), rail Mark ball, mouse, operation lever, details are not described herein.
Further, touch panel 671 can be covered on display panel 661, when touch panel 671 detect on it or After neighbouring touch operation, processor 610 is sent to determine the type of touch event, is followed by subsequent processing device 610 according to touch thing The type of part provides corresponding visual output on display panel 661.Although in figure 6, touch panel 671 and display panel 661 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments it is possible to Touch panel 671 and display panel 661 are integrated and realize the function that outputs and inputs of mobile terminal, is not limited herein specifically It is fixed.
Interface unit 68 is the interface that external device (ED) is connected with mobile terminal 60.For example, external device (ED) can include it is wired 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 68 can be used for input (for example, data message, electric power etc.) of the reception from external device (ED) and will The one or more elements or can be used in mobile terminal 60 and outside that the input received is transferred in mobile terminal 60 Data are transmitted between device.
Memory 69 can be used for storage software program and various data.Memory 69 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 Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as sound according to mobile phone Frequency evidence, phone directory etc.) etc..In addition, memory 69 can include high-speed random access memory, can also include non-volatile Memory, for example, at least a 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 memory by running or performing the software program being stored in memory 69 and/or module and call Data in 69 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Processor 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 60 can also be included to the power supply 611 (such as battery) of all parts power supply, 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 60 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 610, memory 69 is stored in On reservoir 69 and the computer program that can be run on the processor 610, the computer program are performed by the processor 610 Each process of the above-mentioned face identification method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
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, to avoid repeating, 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 as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of 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 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 (14)

1. a kind of face identification method, applied to mobile terminal, which is characterized in that the face identification method includes:
Face information is gathered, judges whether the face information matches with face template preset in the mobile terminal, it is described Face template is the data identified based on the pending image in the mobile terminal;
When the face information is matched with the face template, according to the corresponding access right of the face template, display is used Family interface and/or response touch control operation, the access right are the information arrived based on the pending image acquisition.
2. face identification method according to claim 1, which is characterized in that before the acquisition face information, the people Face recognition method further includes:
Recognition of face is carried out to the pending image, obtains the face template;
The intimate degree of target object and owner in the pending image, determines the corresponding use of the face template Permission, and by the access right it is corresponding with the face template storage.
3. face identification method according to claim 2, which is characterized in that the mesh in the pending image The step of marking the intimate degree of object and owner, determining the face template corresponding access right includes:
It obtains in the target object in the pending image and the communication information and mobile terminal of owner on target object Photographic intelligence;
According to the communication information and photographic intelligence, the target object and the intimate degree of owner are obtained;
According to the intimate degree, the corresponding access right of the face template is determined.
4. face identification method according to claim 3, which is characterized in that the communication information includes the call with owner Record at least one of chat message in information, short message and social media;
And/or
The photographic intelligence includes including the quantity of photo of target object and the conjunction of target object and owner in mobile terminal According at least one of quantity.
5. face identification method according to claim 2, which is characterized in that described that face is carried out to the pending image The step of identifying, obtaining the face template includes:
There are during the face of target object, be confirmed whether the pending image adding in face mould in the pending image In plate;
If so, the pending image is added in face template, and the face template is updated;
According to updated face template, the face template is obtained;
Wherein, the target object include owner and with the relevant other users of owner.
6. face identification method according to claim 1, which is characterized in that described to make according to the face template is corresponding With permission, show user interface and/or include the step of responding touch control operation:
If the access right is the first permission, the first user interface is shown, but be not responding to unlock operation;
Alternatively,
If the access right is the second permission, second user interface is shown, respond part touch control operation;
Alternatively,
If the access right is the 3rd permission, the 3rd user interface is shown, respond whole touch control operations.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First processing module, for gathering face information, judge the face information whether with it is preset in the mobile terminal Face template matches, and the face template is the data identified based on the pending image in the mobile terminal;
Second processing module, for when the face information is matched with the face template, being corresponded to according to the face template Access right, show user interface and/or response touch control operation, the access right be based on the pending image acquisition The information arrived.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further includes:
3rd processing module, for before gathering face information, carrying out recognition of face to the pending image, obtaining the people Face template;
Fourth processing module for the target object and the intimate degree of owner in the pending image, determines described The corresponding access right of face template, and by the access right it is corresponding with the face template storage.
9. mobile terminal according to claim 8, which is characterized in that the fourth processing module includes:
First acquisition submodule, for obtaining the target object in the pending image and the communication information and the movement of owner Photographic intelligence in terminal on target object;
First processing submodule, for according to the communication information and photographic intelligence, obtaining the target object and owner Intimate degree;
First determination sub-module, for according to the intimate degree, determining the corresponding access right of the face template.
10. mobile terminal according to claim 9, which is characterized in that the call that the communication information includes with owner is remembered Record at least one of chat message in information, short message and social media;
And/or
The photographic intelligence includes including the quantity of photo of target object and the conjunction of target object and owner in mobile terminal According at least one of quantity.
11. mobile terminal according to claim 8, which is characterized in that the 3rd processing module includes:
First confirms submodule, for, there are during the face of target object, being confirmed whether will be described in the pending image Pending image is added in face template;
Second processing submodule, for if so, the pending image is added in face template, and to the face template It is updated;
3rd processing submodule, for according to updated face template, obtaining the face template;
Wherein, the target object include owner and with the relevant other users of owner.
12. mobile terminal according to claim 7, which is characterized in that the Second processing module includes:
Fourth process submodule if being the first permission for the access right, shows the first user interface, but is not responding to solve Lock operation;
Alternatively,
If the access right is the second permission, second user interface is shown, respond part touch control operation;
Alternatively,
If the access right is the 3rd permission, the 3rd user interface is shown, respond whole touch control operations.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is performed by the processor Any one of face identification method the step of.
14. a kind of computer readable storage medium, which is characterized in that computer journey is stored on the computer readable storage medium Sequence is realized when the computer program is executed by processor such as face identification method according to any one of claims 1 to 6 Step.
CN201711476861.7A 2017-12-29 2017-12-29 Face recognition method, mobile terminal and computer readable storage medium Active CN108052819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711476861.7A CN108052819B (en) 2017-12-29 2017-12-29 Face recognition method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711476861.7A CN108052819B (en) 2017-12-29 2017-12-29 Face recognition method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108052819A true CN108052819A (en) 2018-05-18
CN108052819B CN108052819B (en) 2020-01-21

Family

ID=62129455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711476861.7A Active CN108052819B (en) 2017-12-29 2017-12-29 Face recognition method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108052819B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635542A (en) * 2018-11-30 2019-04-16 华为技术有限公司 A kind of bio-identification exchange method, graphical interaction interface and relevant apparatus
CN111444799A (en) * 2020-03-16 2020-07-24 深圳市合信达控制系统有限公司 Output display method and device of temperature control function interface
CN112329651A (en) * 2020-11-09 2021-02-05 华诺科技武汉有限公司 Intelligent face recognition access control machine management system
CN112364733A (en) * 2020-10-30 2021-02-12 重庆电子工程职业学院 Intelligent security face recognition system
CN112622824A (en) * 2021-01-14 2021-04-09 惠州市丽普盾科技发展有限公司 Vehicle anti-theft system
WO2022089187A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 Display method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117628A (en) * 2015-07-30 2015-12-02 广东欧珀移动通信有限公司 File display control method, apparatus and corresponding mobile device in terminal
CN106250439A (en) * 2016-07-26 2016-12-21 四川长虹电器股份有限公司 Cohesion display systems and method between photo personage
CN106529339A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Picture display method, device and terminal
CN106776919A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of image display method and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117628A (en) * 2015-07-30 2015-12-02 广东欧珀移动通信有限公司 File display control method, apparatus and corresponding mobile device in terminal
CN106250439A (en) * 2016-07-26 2016-12-21 四川长虹电器股份有限公司 Cohesion display systems and method between photo personage
CN106529339A (en) * 2016-11-30 2017-03-22 广东欧珀移动通信有限公司 Picture display method, device and terminal
CN106776919A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of image display method and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635542A (en) * 2018-11-30 2019-04-16 华为技术有限公司 A kind of bio-identification exchange method, graphical interaction interface and relevant apparatus
US11500534B2 (en) 2018-11-30 2022-11-15 Huawei Technologies Co., Ltd. Biometric recognition interaction method, graphics interaction interface, and related apparatus
CN111444799A (en) * 2020-03-16 2020-07-24 深圳市合信达控制系统有限公司 Output display method and device of temperature control function interface
CN112364733A (en) * 2020-10-30 2021-02-12 重庆电子工程职业学院 Intelligent security face recognition system
CN112364733B (en) * 2020-10-30 2022-07-26 重庆电子工程职业学院 Intelligent security face recognition system
WO2022089187A1 (en) * 2020-10-31 2022-05-05 华为技术有限公司 Display method and electronic device
CN112329651A (en) * 2020-11-09 2021-02-05 华诺科技武汉有限公司 Intelligent face recognition access control machine management system
CN112622824A (en) * 2021-01-14 2021-04-09 惠州市丽普盾科技发展有限公司 Vehicle anti-theft system

Also Published As

Publication number Publication date
CN108052819B (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN108052819A (en) A kind of face identification method, mobile terminal and computer readable storage medium
CN107784089B (en) Multimedia data storage method, processing method and mobile terminal
CN108184070A (en) A kind of image pickup method and terminal
CN107592459A (en) A kind of photographic method and mobile terminal
CN107315937A (en) A kind of method for secret protection, mobile terminal and computer-readable recording medium
CN107832110A (en) A kind of information processing method and mobile terminal
CN110505403A (en) A kind of video record processing method and device
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN107861669A (en) The switching method and mobile terminal of a kind of custom system
CN109862266A (en) A kind of image sharing method and terminal
CN110457879A (en) Object displaying method and terminal device
CN110032887A (en) A kind of picture method for secret protection, terminal and computer readable storage medium
CN109684277A (en) A kind of image display method and terminal
CN109448069A (en) A kind of template generation method and mobile terminal
CN108984143A (en) A kind of display control method and terminal device
CN108228902A (en) A kind of document display method and mobile terminal
CN110213438A (en) A kind of processing method and terminal device of application program
CN108055400A (en) A kind of wallpaper switching method and mobile terminal
CN107809515A (en) A kind of display control method and mobile terminal
CN108109188A (en) A kind of image processing method and mobile terminal
CN107885423A (en) The processing method and mobile terminal of a kind of picture
CN108494949B (en) A kind of image classification method and mobile terminal
CN108055457B (en) The image processing method and mobile terminal of mobile terminal
CN110471590A (en) Icon exchange method and terminal device
CN109284160A (en) A kind of application interface display methods, mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant