CN107527040A - A kind of method and apparatus of recognition of face - Google Patents
A kind of method and apparatus of recognition of face Download PDFInfo
- Publication number
- CN107527040A CN107527040A CN201710802242.6A CN201710802242A CN107527040A CN 107527040 A CN107527040 A CN 107527040A CN 201710802242 A CN201710802242 A CN 201710802242A CN 107527040 A CN107527040 A CN 107527040A
- Authority
- CN
- China
- Prior art keywords
- identity information
- face
- terminal
- medium data
- face characteristic
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/174—Facial expression recognition
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Collating Specific Patterns (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiments of the invention provide a kind of method and apparatus of recognition of face, methods described includes:Obtain multi-medium data;Recognition of face is carried out to the who object in the multi-medium data, obtains the face characteristic of the who object;Obtain identity information corresponding to the face characteristic;In the preset regions of who object corresponding to the identity information, the identity information is shown.By the embodiment of the present invention, the recognition of face to who object during using multimedia communication is realized, and the identity information of who object is shown to user, is easy to the identity of communicating pair identification other side, lifts Consumer's Experience.
Description
Technical field
The present invention relates to field of face identification, more particularly to a kind of method and apparatus of recognition of face.
Background technology
With the development of science and technology, mobile terminal has been widely used in life, work, and people can use at any time
Mobile terminal carries out being based on multimedia communication, such as video, voice, picture, is brought great convenience to live, working.
In the scene of some multimedia communications, such as carry out video conference, send personage's picture, the other side that communication be present
Do not recognize the situation of the who object in the multi-medium datas such as the video received, picture, and because who object is to be present in
The multi-medium datas such as video, picture, the identity information for the who object that user can not search in time, such as name, position.
In existing solution, the site setup papery famous brand of multi-medium data collection is typically employed in, or, warp
The identity information of who object in multi-medium data can just be known by being introduced by other people, and such scheme is required for artificial participate in, too
It is excessively cumbersome, and cost is not only increased, it is also easy to the situation for causing identity information to know mistake.
The content of the invention
The embodiment of the present invention provides a kind of method and apparatus of recognition of face, can not be in using multimedia communication with solution
Recognition of face is carried out, the problem of to obtain the identity information of who object in multi-medium data.
In a first aspect, the embodiments of the invention provide a kind of method of recognition of face, applied to first terminal, including:
Obtain multi-medium data;
Recognition of face is carried out to the who object in the multi-medium data, obtains the face characteristic of the who object;
Obtain identity information corresponding to the face characteristic;
In the preset regions of who object corresponding to the identity information, the identity information is shown.
Second aspect, the embodiments of the invention provide the method for another recognition of face, applied to server, including:
Receive the face characteristic that first terminal is sent;Wherein, the face characteristic is that the first terminal obtains multimedia
After data, recognition of face is carried out to the who object in the multi-medium data, obtains the face characteristic of the who object;
It is determined that face database corresponding with the first terminal;
Identification is carried out to the face characteristic using the face database, obtains body corresponding to the face characteristic
Part information;
The identity information is sent to the first terminal;Wherein, the first terminal is used to receive the body
After part information, in the preset regions of who object corresponding to the identity information, the identity information is shown.
The third aspect, the embodiments of the invention provide a kind of device of recognition of face, applied to first terminal, including:
Multi-medium data acquisition module, for obtaining multi-medium data;
Face recognition module, for carrying out recognition of face to the who object in the multi-medium data, obtain the people
The face characteristic of thing object;
Identity information acquisition module, for obtaining identity information corresponding to the face characteristic;
Identity information display module, in the preset regions of who object corresponding to the identity information, showing institute
State identity information.
Fourth aspect, the embodiments of the invention provide the device of another recognition of face, applied to server, including:
Face characteristic receiving module, for receiving the face characteristic of first terminal transmission;Wherein, the face characteristic is institute
State after first terminal obtains multi-medium data, recognition of face is carried out to the who object in the multi-medium data, described in acquisition
The face characteristic of who object;
Face database determining module, for determining face database corresponding with the first terminal;
Face characteristic identification module, for carrying out identification to the face characteristic using the face database, obtain
Obtain identity information corresponding to the face characteristic;
Identity information sending module, for the identity information to be sent to the terminal;Wherein, the first terminal is used
In after the identity information is received, in the preset regions of who object corresponding to the identity information, the body is shown
Part information.
5th aspect, the embodiments of the invention provide a kind of mobile terminal, including processor, memory and it is stored in described
On memory and the computer program that can run on the processor, the computer program is by real during the computing device
Now the step of method of recognition of face as described above.
6th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage
Computer program, the computer program realizes recognition of face as described above method when being executed by processor are stored on medium
The step of.
The embodiment of the present invention includes advantages below:
In embodiments of the present invention, multi-medium data is obtained by first terminal, to the who object in multi-medium data
Recognition of face is carried out, obtains the face characteristic of who object, identity information corresponding to face characteristic is then obtained, in identity information
Identity information is shown in the preset regions of corresponding who object, is realized during using multimedia communication to personage couple
The recognition of face of elephant, and the identity information of who object is shown to user, it is easy to the identity of communicating pair identification other side, lifting
Consumer's Experience.
Furthermore after the face characteristic of first terminal identification who object present in multi-medium data, pass through service
Device receives the face characteristic that first terminal is sent, it is determined that face database corresponding with first terminal, then using human face data
Storehouse carries out identification to face characteristic, obtains identity information corresponding to face characteristic, and the identity information is sent to the
One terminal, realize and carry out recognition of face in first terminal, carry out identification in server, ensure that the accuracy of identification,
Improve the efficiency of identification.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of step flow chart of the method for recognition of face of the embodiment of the present invention;
Fig. 2 is the step flow chart of the method for another recognition of face of the embodiment of the present invention;
Fig. 3 is the step flow chart of the method for another recognition of face of the embodiment of the present invention;
Fig. 4 a are a kind of structured flowcharts of the device of recognition of face of the embodiment of the present invention;
Fig. 4 b are a kind of structured flowcharts of identity information acquisition module of the embodiment of the present invention;
Fig. 4 c are a kind of structured flowcharts of multi-medium data acquisition module of the embodiment of the present invention;
Fig. 4 d are a kind of structured flowcharts of identity information display module of the embodiment of the present invention;
Fig. 5 is the structured flowchart of the device of another recognition of face of the embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention;
Fig. 7 is the structured flowchart of another mobile terminal of the embodiment of the present invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.Obviously, described embodiment is part of the embodiment of the present invention, without
It is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not before creative work is made
The every other embodiment obtained is put, belongs to the scope of protection of the invention.
Reference picture 1, a kind of step flow chart of the method for recognition of face of the embodiment of the present invention is shown, methods described can
So that applied to first terminal, first terminal can be to include but is not limited to be such as mobile phone, tablet personal computer, notebook computer, the palm
The mobile terminals such as upper computer, guider, wearable device, Intelligent bracelet, pedometer.
Specifically, the embodiment of the present invention may include steps of:
Step 101, multi-medium data is obtained;
As a kind of example, multi-medium data can include video data, image data.
In embodiments of the present invention, first terminal can with second terminal carry out multimedia communication, such as video communication, second
It is such as mobile phone, tablet personal computer that terminal, which can include but is not limited to, notebook computer, palm PC, guider, wearable is set
The mobile terminals such as standby, Intelligent bracelet, pedometer.
During using multimedia communication, first terminal can obtain multi-medium data, such as be directed to more one or more
The real-time video of the meeting other side gathered when the picture of individual who object shooting, video conference.
In one embodiment, step 101 can include following sub-step:
Sub-step S11, receive the multi-medium data that the second terminal is sent;
In embodiments of the present invention, first terminal is the recipient of multi-medium data, and second terminal can use camera
Multi-medium data is gathered, such as takes pictures, shoot video, then sends multi-medium data to first terminal, first terminal can be with
Receive the video data that second terminal is sent.
In another embodiment, step 101 can include following sub-step:
Sub-step S12, obtain the multi-medium data of the camera collection of the first terminal;
In embodiments of the present invention, first terminal can be the sender of multi-medium data, and first terminal can be used and taken the photograph
As head multi-medium data, such as take pictures, shoot video.
It should be noted that the multimedia of the camera collection of multi-medium data or first terminal that second terminal is sent
Data are all without the multi-medium data for addition identity information.
Step 102, recognition of face is carried out to the who object in the multi-medium data, obtains the people of the who object
Face feature;
Because multi-medium data is the multi-medium data for the shooting of at least one who object, in the multi-medium data obtained
Afterwards, first terminal can carry out recognition of face to the who object in multi-medium data, and the face for obtaining each who object is special
Sign.
For example, when multi-medium data is video data, first terminal parses frame of video in multi-medium data, so as to right
The face that who object in frame of video be present carries out recognition of face, obtains the face characteristic of each who object.
As a kind of example, recognition of face can carry out recognition of face using two dimension, three-dimensional face identification technology, and such as two
Dimension face recognition technology can utilize be distributed on face 80 nodes or punctuate from low to high, by measure eyes, cheekbone, under
Spacing between bar grade is identified.
In fact, when carrying out video communication, first terminal can set recognition of face to switch, such as button, when user's point
When hitting button, first terminal starts face identification functions.
Step 103, identity information corresponding to the face characteristic is obtained;
After the face characteristic of who object present in video data is obtained, first terminal can be from preset multiple times
Select in identity information, obtain identity information, such as name, position corresponding to face characteristic.
In a kind of preferred embodiment of the present invention, step 103 can include following sub-step:
Sub-step S21, the face characteristic is sent to server;Wherein, the server has with described first eventually
Face database corresponding to end, the server are used to carry out identity knowledge to the face characteristic using the face database
Not, identity information corresponding to the face characteristic is obtained, and is sent to the first terminal;
In embodiments of the present invention, first terminal has related server, and server can have multiple human face datas
Storehouse, including face database corresponding with first terminal (can also be the account corresponding with first terminal in face database
Family), face database can store the corresponding relation of multiple candidate face features and candidate's identity information.
First terminal can send face characteristic to server, and server, can be in people after face characteristic is received
Matched in face database, find identity information corresponding to face characteristic, and identity information is returned into first terminal.
Sub-step S22, receive the identity information that the server is sent.
After server returns to identity information, first terminal can receive identity information.
Step 104, in the preset regions of who object corresponding to the identity information, the identity information is shown.
Because multi-medium data can include video data and/or image data, and the frame of video of video data or figure
Sheet data can be made up of multiple regions, and first terminal is when carrying out recognition of face, it may be determined that where each who object
Region.
It is determined that each behind the region where who object, first terminal can determine preset corresponding to each who object
Region, the upper right side region in the region as where in each who object, first terminal can be by the identity of each who object
Information is presented in corresponding preset regions.
It should be noted that in frame of video during regional change where who object, first terminal can redefine pair
The preset regions answered so that preset regions can change with the change in the region where who object, so as to realize regarding
Frequency shows identity information and who object binding in.
In one embodiment, step 104 can include following sub-step:
Sub-step S31, in the multi-medium data, determine the preset area of who object corresponding to the identity information
Domain;
When first terminal is the recipient of multi-medium data, multi-medium data can be to receive the number that second terminal is sent
According to without addition identity information in the multi-medium data that second terminal is sent, then first terminal can be in multi-medium data, really
Determine the preset regions of who object corresponding to identity information.
Sub-step S32, when playing the multi-medium data, the identity information is shown in the preset regions.
When playing multi-medium data, first terminal can show identity information in preset regions, as first terminal can
With identity information addition in preset regions, the multi-medium data after being added, the multi-medium data after addition is then played.
In another embodiment, step 104 can include following sub-step:
Sub-step S41, in the multi-medium data, determine the preset area of who object corresponding to the identity information
Domain;
When first terminal is the sender of multi-medium data, multi-medium data can be that the camera of first terminal gathers
During video data, first terminal can determine the preset regions of who object corresponding to identity information in multi-medium data.
Sub-step S42, the identity information is added in the preset regions;
It is determined that after preset regions, first terminal can add identity information in preset regions.
Sub-step S43, the multi-medium data after the addition identity information is sent to the second terminal, by described the
Two terminals show the identity information in the multi-medium data after playing the addition identity information.
Due to the sender that first terminal is multi-medium data, first terminal can send the multi-medium data after addition
To second terminal, second terminal receive addition after multi-medium data when, can play add after multi-medium data when,
Show identity information in preset regions.
Multimedia communication is carried out by using first terminal and second terminal, when the reception that first terminal is multi-medium data
Fang Shi, recognition of face can be carried out to the multi-medium data of no addition identity information, so as to which corresponding identity information be added
In multi-medium data, when first terminal is multi-medium data sender, identity information can be added in multi-medium data
In, then the multi-medium data for adding identity information sent to second terminal, compatible multi-medium data recipient, multimedia number
According to processing of the sender to multi-medium data, it ensure that communicating pair can know the identity information of other side.
In embodiments of the present invention, multi-medium data is obtained by first terminal, to the who object in multi-medium data
Recognition of face is carried out, obtains the face characteristic of who object, identity information corresponding to face characteristic is then obtained, in identity information
Identity information is shown in the preset regions of corresponding who object, is realized during using multimedia communication to personage couple
The recognition of face of elephant, and the identity information of who object is shown to user, it is easy to the identity of communicating pair identification other side, lifting
Consumer's Experience.
Reference picture 2, a kind of step flow chart of the method for recognition of face of the embodiment of the present invention is shown, methods described can
Applied to first terminal, specifically may include steps of:
Step 201, an at least pictures are obtained;
In embodiments of the present invention, first terminal can be provided with Data Enter switch, such as button, when opening imformation typing
During switch, first terminal can obtain one or more picture.
As a kind of example, one or more picture can be the picture that user is uploaded to first terminal manually, can also
For the picture during there is the specified platform of access rights in first terminal, such as social platform, photograph album.
Step 202, in an at least pictures every pictures carry out recognition of face, obtain at least one figure
The candidate face feature of who object present in piece;
After one or more picture is obtained, first terminal can carry out recognition of face to picture, so as to obtain at one
Or the candidate face feature of who object present in plurality of pictures.
As a kind of example, recognition of face can carry out recognition of face using two dimension, three-dimensional face identification technology, and such as two
Dimension face recognition technology can utilize be distributed on face 80 nodes or punctuate from low to high, by measure eyes, cheekbone, under
Spacing between bar grade is identified.
Step 203, it is determined that candidate's identity information of the who object present in an at least pictures;
In embodiments of the present invention, first terminal can determine the who object present in one or more picture
Identity information, as candidate's identity information.
In one embodiment, who object present in one or multiple pictures can be presented to use by first terminal
Family, user can be directed to each who object, be manually entered candidate's identity information;
In another embodiment, first terminal can match identity information from specified platform automatically, then step 203
Following sub-step can be included:
Sub-step S51, it is determined that the account of an at least pictures described in issue;
There may be multiple accounts in platform is specified, issued by account per pictures, first terminal can be with
The account of issue picture is determined in platform is specified.
Sub-step S52, the identity information of the account is obtained, be defined as the personage present in an at least pictures
Candidate's identity information of object.
It is determined that after account, first terminal can obtain the identity information of account, present in the picture as its issue
Candidate's identity information of who object.
In an advantageous embodiment, first terminal can also be by the identity information of account, with address list in first terminal
Information is matched, so that it is determined that candidate's identity information, such as determines the phone number of account binding, searched in address list information
The phone number, you can obtain the detailed identity information such as name, the position of who object.
It should be noted that there may be multiple who objects in the picture of some account issue, first terminal can be from
Middle selection target who object, and target person object and the identity information of account show to user, user can pass through " circle
The modes such as people " determine candidate's identity information of target person object.
In embodiments of the present invention, mobile terminal can obtain the picture in specified platform, it is then determined that issue picture
Account, the identity information using the identity information of account as who object in picture, the intelligent acquisition of identity information is realized,
It is not required to, by being manually entered, improve Consumer's Experience.
Step 204, the candidate face feature and candidate's identity information are sent to the server;Wherein, institute
State the corresponding relation that server is used to establish the candidate face feature and candidate's identity information in the face database.
After candidate face feature and candidate's identity information is obtained, first terminal can be by candidate face feature and candidate's body
Part information, which is sent to server, server, is stored in candidate face feature and candidate's identity information the tables of data of face database
In, establish both corresponding relations.
Step 205, from who object present in an at least pictures, designated person object is determined;
After server establishes corresponding relation in face database, first terminal can check uploaded one or
Who object present in plurality of pictures, one or more who objects are specified as designated person object.
Step 206, the designated person object identity of the designated person object is determined;
In face database, each candidate face feature and corresponding candidate personage's object identity are corresponding.
It is determined that after designated person object, first terminal can determine the designated person object identity of designated person object.
Step 207, based on the designated person object identity, encryption information is generated;
It is determined that after designated person object identity, first terminal can generate encryption information.
Wherein, encryption information can include designated person object identity;
Step 208, the encryption information is sent to the server, by the server special from the candidate face
In sign, after the face characteristic for determining the designated person object, using the face characteristic of the designated person object to the people
Face database is encrypted.
After encryption information is generated, first terminal can send encryption information to server, and server receives encryption
After information, designated person object identity can be extracted, from candidate face feature, is searched corresponding to designated person object identity
The face characteristic of designated person object, then face database is encrypted using the face characteristic of designated person object.
It should be noted that first terminal can also use other modes production encryption information, to enter to face database
Row encryption, as user can also be to user's input encryption information, such as the face characteristic of numerical ciphers or the typing user.
Step 209, multi-medium data is obtained;
In embodiments of the present invention, first terminal obtains multi-medium data.
Step 2010, recognition of face is carried out to the who object in the multi-medium data, obtains the who object
Face characteristic;
After multi-medium data is obtained, first terminal can enter pedestrian to the face that who object in multi-medium data be present
Face identifies, obtains the face characteristic of each who object.
Step 2011, solution confidential information is obtained;
Because face database is encrypted server, when first terminal will search face characteristic in face database
During corresponding identity information, server can prompt user's checking password, and first terminal can obtain the decoding letter of user's input
Breath, such as numerical ciphers, or, gather face characteristic of user etc..
In a kind of preferred exemplary, first terminal can also who object present in the multi-medium data by acquisition people
Face feature, as solution confidential information.
Step 2012, the solution confidential information is sent to the server, the solution secret letter is being judged by the server
Cease for the face characteristic of the designated person object, the face database is decrypted.
After solution confidential information is obtained, first terminal can send solution confidential information to server, and server may determine that solution
Confidential information whether with encryption information corresponding to designated person object face characteristic it is identical, if so, then to face database carry out
Decryption, if it is not, then prompting user cipher mistake.
In embodiments of the present invention, the who object specified by determining user, the nominator that will have been uploaded onto the server
The face characteristic of thing object is as encryption information, when designated person is appeared in multi-medium data, you can with to human face data
Storehouse is decrypted, and ensure that the security of the identity information of who object, and cause Encrypt and Decrypt to easily facilitate operation.
Step 2013, identity information corresponding to the face characteristic is obtained;
After to face database successful decryption, first terminal can be obtained corresponding to face characteristic from face database
Identity information.
Step 2014, in the preset regions of who object corresponding to the identity information, the identity information is shown.
After identity information is obtained, first terminal can determine preset corresponding at least one who object that user selectes
In region, and show identity information in preset regions.
In a kind of preferred exemplary, after multimedia communication terminates, first terminal can also send removing to server and refer to
Order,, can be with after server receives clearance order to remove the candidate face information and candidate's identity information in face database
Candidate face information and candidate's identity information are removed, ensures the safety of data.
In embodiments of the present invention, multi-medium data is obtained by first terminal, to the who object in multi-medium data
Recognition of face is carried out, obtains the face characteristic of who object, identity information corresponding to face characteristic is then obtained, in identity information
Identity information is shown in the preset regions of corresponding who object, is realized during using multimedia communication to personage couple
The recognition of face of elephant, and the identity information of who object is shown to user, it is easy to the identity of communicating pair identification other side, lifting
Consumer's Experience.
Reference picture 3, a kind of step flow chart of the method for recognition of face of the embodiment of the present invention is shown, methods described can
Applied to server, specifically may include steps of:
Step 301, the face characteristic that first terminal is sent is received;Wherein, the face characteristic is that the first terminal obtains
After taking multi-medium data, recognition of face is carried out to the who object in the multi-medium data, obtains the people of the who object
Face feature;
In embodiments of the present invention, first terminal can carry out face after multi-medium data is obtained to multi-medium data
Identification, the face characteristic of who object occurred in multi-medium data is obtained, and face characteristic is sent to server, service
Device can receive the face characteristic of first terminal transmission.
In a kind of preferred embodiment of the present invention, it can also comprise the following steps before step 301:
Receive candidate face feature and the candidate's identity information that the first terminal is sent;In the face database,
Establish the corresponding relation of the candidate face feature and candidate's identity information.
Wherein, the candidate face is characterized as that the first terminal is obtaining an at least pictures, and to described at least one
After pictures carry out recognition of face, the face characteristic of who object present in an at least pictures of acquisition;It is described
Candidate's identity information is what the first terminal determined, and the identity of the who object present in an at least pictures is believed
Breath.
Specifically, first terminal can obtain one or more picture, then and to one or more picture face is carried out
After identification, the face characteristic of who object present in one or more picture of acquisition, as candidate face feature, then
Candidate face feature is sent to server.
First terminal can determine the identity information of who object present in one or more picture, as candidate's identity
Information, then candidate's identity information is sent to server.
Server, can be in first terminal by candidate face feature after candidate face feature and candidate's identity information is received
It is stored in candidate's identity information in the tables of data of face database, establishes candidate face feature and the correspondence of candidate's identity information
Relation.
In a kind of preferred embodiment of the present invention, in the face database, the candidate face feature and institute are established
After the step of stating the corresponding relation of candidate's identity information, face database can also be encrypted for server, then the side
Method can also comprise the following steps:
Receive the encryption information that the first terminal is sent;Wherein, the encryption information includes designated person object identity;
From who object present in an at least pictures, designated person pair corresponding to the designated person object identity is determined
As;From the candidate face feature, the face characteristic of the designated person object is determined;Using the designated person object
Face characteristic, the face database is encrypted.
In embodiments of the present invention, first terminal can determine to refer to from who object present in one or more picture
Determine who object, then generate encryption information, designated person can be determined with receiving encryption key by sending to server, server
The face characteristic of object, then using the face characteristic of designated person object, face database is encrypted.
Step 302, it is determined that face database corresponding with the first terminal;
In embodiments of the present invention, server can have multiple face databases, including people corresponding with first terminal
Face database (can also be the account corresponding with terminal in face database), server can be determined corresponding to first terminal
Face database.
Step 303, identification is carried out to the face characteristic using the face database, obtains the face characteristic
Corresponding identity information;
After server receives face characteristic, it can be matched in face database, find face characteristic pair
The identity information answered, and identity information is returned into first terminal.
In a kind of preferred embodiment of the present invention, before step 303, it can also comprise the following steps:
Receive the solution confidential information that the first terminal is sent;When the face that the solution confidential information is the designated person object
During feature, the face database is decrypted.
In embodiments of the present invention, because face database is encrypted server, when first terminal will be in face number
During according to searching identity information corresponding to face characteristic in storehouse, server can prompt user's checking password, and first terminal can obtain
Take the encrypted message of family input, such as numerical ciphers, or, gather the face characteristic of user.
After solution confidential information is obtained, first terminal can send solution confidential information to server, and server may determine that solution
Confidential information whether with encryption information corresponding to designated person object face characteristic it is identical, if so, then to face database carry out
Decryption, if it is not, then prompting user cipher mistake.
Step 304, the identity information is sent to the first terminal;Wherein, the first terminal is used to receive
To after the identity information, in the preset regions of who object corresponding to the identity information, the identity information is shown.
It is determined that after identity information, identity information can be sent to terminal, first terminal and obtain identity letter by server
After breath, it may be determined that in preset regions corresponding to who object, and show identity information in preset regions.
In embodiments of the present invention, in the face characteristic of first terminal identification who object present in multi-medium data
Afterwards, the face characteristic of first terminal transmission is received by server, it is determined that face database corresponding with first terminal, is then adopted
Identification is carried out to face characteristic with face database, obtains identity information corresponding to face characteristic, and the identity is believed
Breath is sent to first terminal, is realized and is carried out recognition of face in first terminal, is carried out identification in server, be ensure that identification
Accuracy, improve the efficiency of identification.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference picture 4, a kind of structured flowchart of the device of recognition of face of the embodiment of the present invention is shown, applied to first eventually
End, can specifically include following module:
Multi-medium data acquisition module 401, for obtaining multi-medium data;
Face recognition module 402, for carrying out recognition of face to the who object in the multi-medium data, described in acquisition
The face characteristic of who object;
Identity information acquisition module 403, for obtaining identity information corresponding to the face characteristic;
Identity information display module 404, in the preset regions of who object corresponding to the identity information, showing
The identity information.
In a kind of preferred embodiment of the present invention, such as Fig. 4 b, identity information acquisition module 403 can include:
Face characteristic sending submodule 4031, for the face characteristic to be sent to server;Wherein, the server
With face database corresponding with the first terminal, the server is used for using the face database to the face
Feature carries out identification, obtains identity information corresponding to the face characteristic, and send to the first terminal;
Identity information receiving submodule 4032, the identity information sent for receiving the server.
In a kind of preferred embodiment of the present invention, the multi-medium data includes video data and/or image data, such as schemes
4c, the multi-medium data acquisition module 401 can include:
Multi-medium data receiving submodule 4011, the multi-medium data sent for receiving the second terminal;
Such as Fig. 4 d, the identity information display module 404 can include:
First preset regions determination sub-module 4041, in the multi-medium data, determining the identity information pair
The preset regions for the who object answered;
First identity information display sub-module 4042, for when playing the multi-medium data, in the preset regions
The middle display identity information.
In a kind of preferred embodiment of the present invention, the multi-medium data includes video data and/or image data, such as schemes
4c, the multi-medium data acquisition module 401 can include:
Multi-medium data acquisition submodule 4012, the multimedia number that the camera for obtaining the first terminal gathers
According to;
Such as Fig. 4 d, the identity information display module 404 can include:
Second preset regions determination sub-module 4043, in the multi-medium data, determining the identity information pair
The preset regions for the who object answered;
Identity information adds submodule 4044, for the identity information to be added in the preset regions;
Second identity information display sub-module 4045, for by it is described addition identity information after multi-medium data send to
The second terminal, by the second terminal in the multi-medium data after playing the addition identity information, show the body
Part information.
In a kind of preferred embodiment of the present invention, in addition to:
Picture acquisition module, for obtaining an at least pictures;
Candidate face feature obtains module, for carrying out recognition of face to every pictures in an at least pictures,
Obtain the candidate face feature of the who object present in an at least pictures;
Candidate's identity information determining module, for determining the candidate of the who object present in an at least pictures
Identity information;
Candidate information sending module, for the candidate face feature and candidate's identity information to be sent to the clothes
Business device;Wherein, the server is used to establish the candidate face feature and candidate's identity information in the face database
Corresponding relation.
In a kind of preferred embodiment of the present invention, an at least pictures, which are included in the first terminal, has access right
Picture in the specified platform of limit, candidate's identity information determining module include:
Account determination sub-module, for determining the account of an at least pictures described in issue;
Account identity information acquisition submodule, for obtaining the identity information of the account, it is defined as described at least one
Candidate's identity information of who object present in pictures.
In a kind of preferred embodiment of the present invention, in addition to:
Designated person object determining module, for from who object present in an at least pictures, it is determined that referring to
Determine who object;
Designated person object identity determining module, for determining the designated person object identity of the designated person object;
Encryption information generation module, for based on the designated person object identity, generating encryption information;Wherein, it is described
Encryption information includes the designated person object identity;
Encryption information sending module, for the encryption information to be sent to the server, by the server from
In the candidate face feature, after the face characteristic for determining the designated person object, using the people of the designated person object
The face database is encrypted face feature.
In a kind of preferred embodiment of the present invention, in addition to:
Data obtaining module is decrypted, confidential information is solved for obtaining;
Information sending module is decrypted, for the solution confidential information to be sent to the server, is being sentenced by the server
The fixed solution confidential information is the face characteristic of the designated person object, and the face database is decrypted.
In embodiments of the present invention, multi-medium data is obtained by first terminal, to the who object in multi-medium data
Recognition of face is carried out, obtains the face characteristic of who object, identity information corresponding to face characteristic is then obtained, in identity information
Identity information is shown in the preset regions of corresponding who object, is realized during using multimedia communication to personage couple
The recognition of face of elephant, and the identity information of who object is shown to user, it is easy to the identity of communicating pair identification other side, lifting
Consumer's Experience.
Reference picture 5, a kind of structured flowchart of the device of recognition of face of the embodiment of the present invention is shown, applied to service
Device, it can specifically include following module:
Face characteristic receiving module 501, for receiving the face characteristic of first terminal transmission;Wherein, the face characteristic
After obtaining multi-medium data for the first terminal, recognition of face is carried out to the who object in the multi-medium data, obtained
The face characteristic of the who object;
Face database determining module 502, for determining face database corresponding with the first terminal;
Face characteristic identification module 503, for carrying out identification to the face characteristic using the face database,
Obtain identity information corresponding to the face characteristic;
Identity information sending module 504, for the identity information to be sent to the terminal;Wherein, described first eventually
Hold for after the identity information is received, in the preset regions of who object corresponding to the identity information, showing institute
State identity information
In a kind of preferred embodiment of the present invention, in addition to:
Candidate information receiving module, for receiving candidate face feature and the candidate's identity letter that the first terminal is sent
Breath;Wherein, the candidate face is characterized as that the first terminal is obtaining an at least pictures, and to an at least pictures
In every pictures carry out recognition of face after, the face of the who object present in an at least pictures of acquisition is special
Sign;Candidate's identity information is first terminal determination, the who object present in an at least pictures
Identity information;
Corresponding relation building module, in the face database, establishing the candidate face feature and the time
Select the corresponding relation of identity information.
In a kind of preferred embodiment of the present invention, in addition to:
Encryption information receiving module, the encryption information sent for receiving the first terminal;Wherein, the encryption information
Including designated person object identity;
Designated person object determining module, for from who object present in an at least pictures, determining institute
State designated person object corresponding to designated person object identity;
Face characteristic determination module is specified, for from the candidate face feature, determining the designated person object
Face characteristic;
Face database encrypting module, for the face characteristic using the designated person object, to the human face data
Storehouse is encrypted.
In a kind of preferred embodiment of the present invention, in addition to:
Information receiving module is decrypted, the solution confidential information sent for receiving the first terminal;
Face database deciphering module, for when it is described solution confidential information be the designated person object face characteristic when,
The face database is decrypted.
With reference to figure 6, a kind of structured flowchart of mobile terminal 1000 of the embodiment of the present invention is shown.
Mobile terminal 1000 includes:At least one processor 1001, memory 1002, user interface 1003 and at least one
Network interface 1004.Each component in mobile terminal 1000 is coupled by bus system 1005.It is understood that total linear system
System 1005 is used to realize the connection communication between these components.Bus system 1005 is in addition to including data/address bus, in addition to electricity
Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus in Fig. 6
System 1005.
User interface 1003 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (RandomAccess Memory, RAM), and it is used
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 1002 be intended to include but
It is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1002 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 10021 and application program 10022.
Wherein, operating system 10021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 10022, comprising various application programs, such as according to
Camera application program, media player (MediaPlayer), browser (Browser) etc., for realizing various applied business.
Realize that the program of present invention method may be embodied in application program 10022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1002, specifically, can be application
The program stored in program 10022 or instruction, processor 1001 are used to obtain multi-medium data;To in the multi-medium data
Who object carries out recognition of face, obtains the face characteristic of the who object;Identity corresponding to the face characteristic is obtained to believe
Breath;In the preset regions of who object corresponding to the identity information, the identity information is shown.
The method that the embodiments of the present invention disclose can apply in processor 1001, or real by processor 1001
It is existing.Processor 1001 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable GateArray, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 1002, processor 1001 read the information in memory 1002, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized at least one application specific integrated circuit
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable GateArray, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can
To realize within a processor or outside processor.
Alternatively, processor 1001 is additionally operable to when performing identity information corresponding to the acquisition face characteristic:Will
The face characteristic is sent to server;Wherein, the server has face database corresponding with the first terminal, institute
State server to be used to carry out identification to the face characteristic using the face database, obtain face characteristic correspondence
Identity information, and send to the first terminal;Receive the identity information that the server is sent.
Alternatively, the multi-medium data includes video data and/or image data, and processor 1001 is obtaining described in execution
When taking the step of multi-medium data, it is additionally operable to:Receive the multi-medium data that the second terminal is sent;
Processor 1001 is being performed in the preset regions of who object corresponding to the identity information, shows the identity
During the step of information, it is additionally operable to:In the multi-medium data, the preset area of who object corresponding to the identity information is determined
Domain;When playing the multi-medium data, the identity information is shown in the preset regions.
Alternatively, the multi-medium data includes video data and/or image data, and processor 1001 is obtaining described in execution
When taking the step of multi-medium data, it is additionally operable to:Harvest takes the multi-medium data that the camera of the first terminal gathers;
Processor 1001 is described in the preset regions of who object corresponding to the identity information in execution, described in display
During the step of identity information, it is additionally operable to:In the multi-medium data, the pre- of who object corresponding to the identity information is determined
Put region;The identity information is added in the preset regions;Multi-medium data after the addition identity information is sent
The extremely second terminal, by the second terminal in the multi-medium data after playing the addition identity information, described in display
Identity information.
Alternatively, processor 1001 is additionally operable to:Obtain an at least pictures;To every figure in an at least pictures
Piece carries out recognition of face, obtains the candidate face feature of the who object present in an at least pictures;It is determined that institute
State candidate's identity information of who object present in an at least pictures;By the candidate face feature and candidate's identity
Information is sent to the server;Wherein, the server is used to establish the candidate face spy in the face database
Seek peace the corresponding relation of candidate's identity information.
Alternatively, an at least pictures, which are included in the first terminal, has figure in the specified platform of access rights
Piece, processor 1001 are performing determination candidate's identity information of who object present in an at least pictures
During step, it is additionally operable to:It is determined that the account of an at least pictures described in issue;The identity information of the account is obtained, is defined as
Candidate's identity information of who object present in an at least pictures.
Alternatively, processor 1001 is additionally operable to:From who object present in an at least pictures, it is determined that specifying
Who object;Determine the designated person object identity of the designated person object;Based on the designated person object identity, generation
Encryption information;Wherein, the encryption information includes the designated person object identity;The encryption information is sent to the clothes
Business device, by the server from the candidate face feature, after the face characteristic for determining the designated person object, use
The face database is encrypted the face characteristic of the designated person object.
Alternatively, processor 1001 is additionally operable to:Obtain solution confidential information;The solution confidential information is sent to the server,
By the server judge it is described solution confidential information be the designated person object face characteristic, the face database is entered
Row decryption.
It should be noted that above-mentioned first terminal is mobile terminal 1000.
Mobile terminal 1000 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1000 of the embodiment of the present invention, by obtaining multi-medium data, to the personage couple in multi-medium data
As carrying out recognition of face, the face characteristic of who object is obtained, then obtains identity information corresponding to face characteristic, is believed in identity
Identity information is shown in the preset regions of who object corresponding to breath, is realized during using multimedia communication to personage
The recognition of face of object, and the identity information of who object is shown to user, it is easy to the identity of communicating pair identification other side, carries
Rise Consumer's Experience.
With reference to figure 7, a kind of structured flowchart of mobile terminal 1100 of the embodiment of the present invention is shown.
Specifically, Fig. 7 mobile terminal 1100 can be mobile phone, tablet personal computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc..
Fig. 7 mobile terminal 1100 includes radio frequency (Radio Frequency, RF) circuit 1101, memory 1102, input
Unit 1103, display unit 1104, processor 1105, voicefrequency circuit 1106, WiFi (Wireless Fidelity) module
1107th, power supply 1108.
Wherein, input block 1103 is available for the numeral or character information for receiving user's input, and generation and movement are eventually
The signal input that the user at end 1100 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block
1103 can include contact panel 11031.Contact panel 11031, also referred to as touch-screen, user is collected on or near it
Touch operation (for example user uses the operations of any suitable object or annex on contact panel 11031 such as finger, stylus),
And corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 11031 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is changed
Into contact coordinate, then the processor 1105 is given, and the order sent of reception processing device 1105 and can be performed.In addition, can
To realize contact panel 11031 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface
Plate 11031, input block 1103 can also include other input equipments 11032, and other input equipments 11032 can be included but not
The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
It is or a variety of.
Wherein, display unit 1104 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal 1100.Display unit 1104 may include display panel 11041, optionally, can use LCD or have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 11041.
It should be noted that contact panel 11031 can cover display panel 11041, touch display screen is formed, when the touch is shown
After screen detects the touch operation on or near it, processor 1105 is sent to determine the type of touch event, then place
Reason device 1105 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Processor 1105 is the control centre of mobile terminal 1100, utilizes each of various interfaces and connection whole mobile phone
Individual part, by running or performing the software program and/or module that are stored in first memory 11021, and call storage
Data in second memory 11022, the various functions and processing data of mobile terminal 1100 are performed, so as to mobile terminal
1100 carry out integral monitoring.Optionally, processor 1105 may include at least one processing unit.
In embodiments of the present invention, by calling the software program and/or module that store in the first memory 11021
And/or the data in the second memory 11022, processor 1105 are used to obtain multi-medium data;To the multi-medium data
In who object carry out recognition of face, obtain the face characteristic of the who object;Obtain body corresponding to the face characteristic
Part information;In the preset regions of who object corresponding to the identity information, the identity information is shown.
Alternatively, processor 1105 is additionally operable to when performing identity information corresponding to the acquisition face characteristic:Will
The face characteristic is sent to server;Wherein, the server has face database corresponding with the first terminal, institute
State server to be used to carry out identification to the face characteristic using the face database, obtain face characteristic correspondence
Identity information, and send to the first terminal;Receive the identity information that the server is sent.
Alternatively, the multi-medium data includes video data and/or image data, and processor 1105 is obtaining described in execution
When taking the step of multi-medium data, it is additionally operable to:Receive the multi-medium data that the second terminal is sent;
Processor 1105 is being performed in the preset regions of who object corresponding to the identity information, shows the identity
During the step of information, it is additionally operable to:In the multi-medium data, the preset area of who object corresponding to the identity information is determined
Domain;When playing the multi-medium data, the identity information is shown in the preset regions.
Alternatively, the multi-medium data includes video data and/or image data, and processor 1105 is obtaining described in execution
When taking the step of multi-medium data, it is additionally operable to:Harvest takes the multi-medium data that the camera of the first terminal gathers;
Processor 1105 is described in the preset regions of who object corresponding to the identity information in execution, described in display
During the step of identity information, it is additionally operable to:In the multi-medium data, the pre- of who object corresponding to the identity information is determined
Put region;The identity information is added in the preset regions;Multi-medium data after the addition identity information is sent
The extremely second terminal, by the second terminal in the multi-medium data after playing the addition identity information, described in display
Identity information.
Alternatively, processor 1105 is additionally operable to:Obtain an at least pictures;To every figure in an at least pictures
Piece carries out recognition of face, obtains the candidate face feature of the who object present in an at least pictures;It is determined that institute
State candidate's identity information of who object present in an at least pictures;By the candidate face feature and candidate's identity
Information is sent to the server;Wherein, the server is used to establish the candidate face spy in the face database
Seek peace the corresponding relation of candidate's identity information.
Alternatively, an at least pictures, which are included in the first terminal, has figure in the specified platform of access rights
Piece, processor 1105 are performing determination candidate's identity information of who object present in an at least pictures
During step, it is additionally operable to:It is determined that the account of an at least pictures described in issue;The identity information of the account is obtained, is defined as
Candidate's identity information of who object present in an at least pictures.
Alternatively, processor 1105 is additionally operable to:From who object present in an at least pictures, it is determined that specifying
Who object;Determine the designated person object identity of the designated person object;Based on the designated person object identity, generation
Encryption information;Wherein, the encryption information includes the designated person object identity;The encryption information is sent to the clothes
Business device, by the server from the candidate face feature, after the face characteristic for determining the designated person object, use
The face database is encrypted the face characteristic of the designated person object.
Alternatively, processor 1105 is additionally operable to:Obtain solution confidential information;The solution confidential information is sent to the server,
By the server judge it is described solution confidential information be the designated person object face characteristic, the face database is entered
Row decryption.
It should be noted that above-mentioned first terminal is mobile terminal 1100.
Mobile terminal 1100 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
It can be seen that the mobile terminal 1100 of the embodiment of the present invention, by obtaining multi-medium data, to the people in multi-medium data
Thing object carries out recognition of face, obtains the face characteristic of who object, identity information corresponding to face characteristic is then obtained, in body
Identity information is shown in the preset regions of who object corresponding to part information, it is right during using multimedia communication to realize
The recognition of face of who object, and the identity information of who object is shown to user, it is easy to the body of communicating pair identification other side
Part, lift Consumer's Experience.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory and is stored on the memory
And the computer program that can be run on the processor, the computer program are realized as above institute during the computing device
The step of method for the recognition of face stated.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored on the computer-readable recording medium
Computer program, the computer program realizes the method for recognition of face as described above when being executed by processor the step of.
For device, mobile terminal, computer-readable recording medium embodiment, because it is basic with embodiment of the method
Similar, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product describes.It should be understood that can be by computer program instructions implementation process figure and/or block diagram
In each flow and/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions are set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then other change and modification can be made to these embodiments.So appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or terminal device including a series of elements are not only wrapped
Those key elements, but also the other element including being not expressly set out are included, or is also included for this process, method, article
Or the key element that terminal device is intrinsic.In the absence of more restrictions, wanted by what sentence "including a ..." limited
Element, it is not excluded that other identical element in the process including the key element, method, article or terminal device also be present.
Above to a kind of method and apparatus of recognition of face provided by the present invention, it is described in detail, herein should
The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and managed
Solve the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention,
There will be changes in embodiment and application, in summary, this specification content should not be construed as to this hair
Bright limitation.
Claims (17)
- A kind of 1. method of recognition of face, it is characterised in that applied to first terminal, including:Obtain multi-medium data;Recognition of face is carried out to the who object in the multi-medium data, obtains the face characteristic of the who object;Obtain identity information corresponding to the face characteristic;In the preset regions of who object corresponding to the identity information, the identity information is shown.
- 2. according to the method for claim 1, it is characterised in that described to obtain identity information corresponding to the face characteristic Step includes:The face characteristic is sent to server;Wherein, the server has face number corresponding with the first terminal According to storehouse, the server is used to carry out identification to the face characteristic using the face database, obtains the face Identity information corresponding to feature, and send to the first terminal;Receive the identity information that the server is sent.
- 3. method according to claim 1 or 2, it is characterised in that the multi-medium data includes video data and/or figure Sheet data, described the step of obtaining multi-medium data, include:Receive the multi-medium data that the second terminal is sent;It is described in the preset regions of who object corresponding to the identity information, the step of showing the identity information, includes:In the multi-medium data, the preset regions of who object corresponding to the identity information are determined;When playing the multi-medium data, the identity information is shown in the preset regions.
- 4. method according to claim 1 or 2, it is characterised in that the multi-medium data includes video data and/or figure Sheet data, described the step of obtaining multi-medium data, include:Obtain the multi-medium data of the camera collection of the first terminal;It is described in the preset regions of who object corresponding to the identity information, the step of showing the identity information, includes:In the multi-medium data, the preset regions of who object corresponding to the identity information are determined;The identity information is added in the preset regions;Multi-medium data after the addition identity information is sent to the second terminal, institute is being played by the second terminal When stating the multi-medium data after addition identity information, the identity information is shown.
- 5. according to the method for claim 2, it is characterised in that before the step of acquisition multi-medium data, also wrap Include:Obtain an at least pictures;Recognition of face is carried out to every pictures in an at least pictures, obtained present in an at least pictures The candidate face feature of who object;It is determined that candidate's identity information of the who object present in an at least pictures;The candidate face feature and candidate's identity information are sent to the server;Wherein, the server is used for The corresponding relation of the candidate face feature and candidate's identity information is established in the face database.
- 6. according to the method for claim 5, it is characterised in that an at least pictures are included in the first terminal tool There are the picture in the specified platform of access rights, the candidate for determining the who object present in an at least pictures The step of identity information, includes:It is determined that the account of an at least pictures described in issue;The identity information of the account is obtained, is defined as candidate's identity of the who object present in an at least pictures Information.
- 7. the method according to claim 5 or 6, it is characterised in that described by the candidate face feature and the time Identity information is selected to send the step of server, in addition to:From who object present in an at least pictures, designated person object is determined;Determine the designated person object identity of the designated person object;Based on the designated person object identity, encryption information is generated;Wherein, the encryption information includes the designated person pair As mark;The encryption information is sent to the server, by the server from the candidate face feature, determines institute After the face characteristic for stating designated person object, the face database is carried out using the face characteristic of the designated person object Encryption.
- 8. according to the method for claim 7, it is characterised in that obtain identity information corresponding to the face characteristic described The step of before, in addition to:Obtain solution confidential information;The solution confidential information is sent to the server, is judging that the solution confidential information is the nominator by the server The face characteristic of thing object, the face database is decrypted.
- A kind of 9. method of recognition of face, it is characterised in that applied to server, including:Receive the face characteristic that first terminal is sent;Wherein, the face characteristic is that the first terminal obtains multi-medium data Afterwards, recognition of face is carried out to the who object in the multi-medium data, obtains the face characteristic of the who object;It is determined that face database corresponding with the first terminal;Identification is carried out to the face characteristic using the face database, identity corresponding to the face characteristic is obtained and believes Breath;The identity information is sent to the first terminal;Wherein, the first terminal is used to receive the identity letter After breath, in the preset regions of who object corresponding to the identity information, the identity information is shown.
- 10. according to the method for claim 9, it is characterised in that in the face characteristic that the reception first terminal is sent Before step, in addition to:Receive candidate face feature and the candidate's identity information that the first terminal is sent;Wherein, the candidate face is characterized as The first terminal is obtaining an at least pictures, and carries out recognition of face to every pictures in an at least pictures Afterwards, the face characteristic of who object present in an at least pictures of acquisition;Candidate's identity information is described What first terminal determined, the identity information of who object present in an at least pictures;In the face database, the corresponding relation of the candidate face feature and candidate's identity information is established.
- 11. according to the method for claim 10, it is characterised in that in the face database, establish the candidate After the step of corresponding relation of face feature and candidate's identity information, in addition to:Receive the encryption information that the first terminal is sent;Wherein, the encryption information includes designated person object identity;From who object present in an at least pictures, nominator corresponding to the designated person object identity is determined Thing object;From the candidate face feature, the face characteristic of the designated person object is determined;Using the face characteristic of the designated person object, the face database is encrypted.
- 12. according to the method for claim 11, it is characterised in that use the face database to the face described Feature carries out identification, before the step of obtaining identity information corresponding to the face characteristic, in addition to:Receive the solution confidential information that the first terminal is sent;When the solution confidential information is the face characteristic of the designated person object, the face database is decrypted.
- A kind of 13. device of recognition of face, it is characterised in that applied to first terminal, including:Multi-medium data acquisition module, for obtaining multi-medium data;Face recognition module, for carrying out recognition of face to the who object in the multi-medium data, obtain the personage couple The face characteristic of elephant;Identity information acquisition module, for obtaining identity information corresponding to the face characteristic;Identity information display module, in the preset regions of who object corresponding to the identity information, showing the body Part information.
- 14. device according to claim 13, it is characterised in that the identity information acquisition module includes:Face characteristic sending submodule, for the face characteristic to be sent to server;Wherein, the server has and institute Face database corresponding to first terminal is stated, and the server is used to the face characteristic is carried out using the face database Identification, identity information corresponding to the face characteristic is obtained, and sent to the first terminal;Identity information receiving submodule, the identity information sent for receiving the server.
- 15. the device according to claim 13 or 14, it is characterised in that the multi-medium data include video data and/ Or image data, the multi-medium data acquisition module include:Multi-medium data receiving submodule, the multi-medium data sent for receiving the second terminal;The identity information display module includes:First preset regions determination sub-module, in the multi-medium data, determining personage corresponding to the identity information The preset regions of object;First identity information display sub-module, for when playing the multi-medium data, institute to be shown in the preset regions State identity information.
- 16. the device according to claim 13 or 14, it is characterised in that the multi-medium data include video data and/ Or image data, the multi-medium data acquisition module include:Multi-medium data acquisition submodule, the multi-medium data that the camera for obtaining the first terminal gathers;The identity information display module includes:Second preset regions determination sub-module, in the multi-medium data, determining personage corresponding to the identity information The preset regions of object;Identity information adds submodule, for the identity information to be added in the preset regions;Second identity information display sub-module, for the multi-medium data after the addition identity information to be sent to described second Terminal, by the second terminal in the multi-medium data after playing the addition identity information, show the identity information.
- A kind of 17. device of recognition of face, it is characterised in that applied to server, including:Face characteristic receiving module, for receiving the face characteristic of first terminal transmission;Wherein, the face characteristic is described the After one terminal obtains multi-medium data, recognition of face is carried out to the who object in the multi-medium data, obtains the personage The face characteristic of object;Face database determining module, for determining face database corresponding with the first terminal;Face characteristic identification module, for carrying out identification to the face characteristic using the face database, obtain institute State identity information corresponding to face characteristic;Identity information sending module, for the identity information to be sent to the terminal;Wherein, the first terminal is used for After receiving the identity information, in the preset regions of who object corresponding to the identity information, the identity letter is shown Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710802242.6A CN107527040B (en) | 2017-09-07 | 2017-09-07 | Face recognition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710802242.6A CN107527040B (en) | 2017-09-07 | 2017-09-07 | Face recognition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107527040A true CN107527040A (en) | 2017-12-29 |
CN107527040B CN107527040B (en) | 2020-09-29 |
Family
ID=60683778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710802242.6A Active CN107527040B (en) | 2017-09-07 | 2017-09-07 | Face recognition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107527040B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197318A (en) * | 2018-02-01 | 2018-06-22 | 广州市君望机器人自动化有限公司 | Face identification method, device, robot and storage medium |
CN108319916A (en) * | 2018-02-01 | 2018-07-24 | 广州市君望机器人自动化有限公司 | Face identification method, device, robot and storage medium |
CN108334602A (en) * | 2018-01-31 | 2018-07-27 | 北京市商汤科技开发有限公司 | Data mask method and device, electronic equipment, computer storage media, program |
CN109408676A (en) * | 2018-01-25 | 2019-03-01 | 维沃移动通信有限公司 | A kind of method and terminal device showing user information |
CN109800642A (en) * | 2018-12-15 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Personnel identity information acquisition method, device, computer equipment and storage medium |
CN110119983A (en) * | 2019-06-05 | 2019-08-13 | 中国工商银行股份有限公司 | Bank's intelligence chest card, the chest card pushed for bank product |
CN110443120A (en) * | 2019-06-25 | 2019-11-12 | 深圳英飞拓科技股份有限公司 | A kind of face identification method and equipment |
CN111488943A (en) * | 2020-04-16 | 2020-08-04 | 上海芯翌智能科技有限公司 | Face recognition method and device |
TWI727337B (en) * | 2019-06-06 | 2021-05-11 | 大陸商鴻富錦精密工業(武漢)有限公司 | Electronic device and face recognition method |
CN115761571A (en) * | 2022-10-26 | 2023-03-07 | 北京百度网讯科技有限公司 | Video-based target retrieval method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100310134A1 (en) * | 2009-06-08 | 2010-12-09 | Microsoft Corporation | Assisted face recognition tagging |
CN102073859A (en) * | 2011-02-14 | 2011-05-25 | 汉王科技股份有限公司 | Child picking and sending system on basis of face identification and control method thereof |
US20120321143A1 (en) * | 2011-06-17 | 2012-12-20 | Microsoft Corporation | Broadcast Identifier Enhanced Facial Recognition of Images |
CN102891978A (en) * | 2011-07-21 | 2013-01-23 | 联想(北京)有限公司 | Image processing method and terminal |
CN104767963A (en) * | 2015-03-27 | 2015-07-08 | 华为技术有限公司 | Method and device for representing information of persons participating in video conference |
CN106991403A (en) * | 2017-04-07 | 2017-07-28 | 移康智能科技(上海)股份有限公司 | A kind of method and apparatus of recognition of face |
CN107105340A (en) * | 2017-03-21 | 2017-08-29 | 百度在线网络技术(北京)有限公司 | People information methods, devices and systems are shown in video based on artificial intelligence |
-
2017
- 2017-09-07 CN CN201710802242.6A patent/CN107527040B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100310134A1 (en) * | 2009-06-08 | 2010-12-09 | Microsoft Corporation | Assisted face recognition tagging |
CN102073859A (en) * | 2011-02-14 | 2011-05-25 | 汉王科技股份有限公司 | Child picking and sending system on basis of face identification and control method thereof |
US20120321143A1 (en) * | 2011-06-17 | 2012-12-20 | Microsoft Corporation | Broadcast Identifier Enhanced Facial Recognition of Images |
CN102891978A (en) * | 2011-07-21 | 2013-01-23 | 联想(北京)有限公司 | Image processing method and terminal |
CN104767963A (en) * | 2015-03-27 | 2015-07-08 | 华为技术有限公司 | Method and device for representing information of persons participating in video conference |
CN107105340A (en) * | 2017-03-21 | 2017-08-29 | 百度在线网络技术(北京)有限公司 | People information methods, devices and systems are shown in video based on artificial intelligence |
CN106991403A (en) * | 2017-04-07 | 2017-07-28 | 移康智能科技(上海)股份有限公司 | A kind of method and apparatus of recognition of face |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109408676A (en) * | 2018-01-25 | 2019-03-01 | 维沃移动通信有限公司 | A kind of method and terminal device showing user information |
CN108334602A (en) * | 2018-01-31 | 2018-07-27 | 北京市商汤科技开发有限公司 | Data mask method and device, electronic equipment, computer storage media, program |
CN108334602B (en) * | 2018-01-31 | 2021-03-23 | 北京市商汤科技开发有限公司 | Data annotation method and device, electronic equipment and computer storage medium |
CN108197318A (en) * | 2018-02-01 | 2018-06-22 | 广州市君望机器人自动化有限公司 | Face identification method, device, robot and storage medium |
CN108319916A (en) * | 2018-02-01 | 2018-07-24 | 广州市君望机器人自动化有限公司 | Face identification method, device, robot and storage medium |
CN109800642A (en) * | 2018-12-15 | 2019-05-24 | 深圳壹账通智能科技有限公司 | Personnel identity information acquisition method, device, computer equipment and storage medium |
CN110119983A (en) * | 2019-06-05 | 2019-08-13 | 中国工商银行股份有限公司 | Bank's intelligence chest card, the chest card pushed for bank product |
TWI727337B (en) * | 2019-06-06 | 2021-05-11 | 大陸商鴻富錦精密工業(武漢)有限公司 | Electronic device and face recognition method |
CN110443120A (en) * | 2019-06-25 | 2019-11-12 | 深圳英飞拓科技股份有限公司 | A kind of face identification method and equipment |
CN111488943A (en) * | 2020-04-16 | 2020-08-04 | 上海芯翌智能科技有限公司 | Face recognition method and device |
CN115761571A (en) * | 2022-10-26 | 2023-03-07 | 北京百度网讯科技有限公司 | Video-based target retrieval method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107527040B (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107527040A (en) | A kind of method and apparatus of recognition of face | |
CN103616981B (en) | application processing method, device and mobile terminal | |
CN106485164A (en) | A kind of image processing method and mobile terminal | |
CN106127076B (en) | A kind of inspection method and mobile terminal of photograph album photo | |
CN107896279A (en) | Screenshotss processing method, device and the mobile terminal of a kind of mobile terminal | |
CN107181913A (en) | A kind of photographic method and mobile terminal | |
CN107678644A (en) | A kind of image processing method and mobile terminal | |
CN103914541B (en) | The method and device of information search | |
CN106027794B (en) | A kind of encryption method and mobile terminal of photo | |
CN106293080A (en) | The method of a kind of user profile process and mobile terminal | |
CN104331668A (en) | Wrong password prompting method and device | |
CN105975156A (en) | Application interface display method and device | |
CN106485166A (en) | Screenshotss method and apparatus for electric terminal | |
CN108681664A (en) | A kind of encryption method and device | |
CN107480500A (en) | The method and mobile terminal of a kind of face verification | |
CN107704168A (en) | A kind of application program launching method and mobile terminal | |
CN106372488B (en) | A kind of apparatus control method and device | |
CN107506198A (en) | The display methods and mobile terminal of a kind of mobile terminal | |
CN107832603A (en) | The startup method and mobile terminal of a kind of application program | |
CN107450996A (en) | A kind of information cuing method, mobile terminal and computer read/write memory medium | |
CN106791542A (en) | A kind of panoramic picture image pickup method and mobile terminal | |
CN106803031A (en) | A kind of information protecting method and mobile terminal | |
CN106530217A (en) | Photo processing method and mobile terminal | |
CN106778344B (en) | A kind of data permission control method and terminal | |
CN107181852A (en) | A kind of method for sending information, method for information display and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |