CN102833182B - Instant messaging carries out the method for recognition of face, client and system - Google Patents

Instant messaging carries out the method for recognition of face, client and system Download PDF

Info

Publication number
CN102833182B
CN102833182B CN201210282782.3A CN201210282782A CN102833182B CN 102833182 B CN102833182 B CN 102833182B CN 201210282782 A CN201210282782 A CN 201210282782A CN 102833182 B CN102833182 B CN 102833182B
Authority
CN
China
Prior art keywords
image
face
client
recognition
standard faces
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.)
Active
Application number
CN201210282782.3A
Other languages
Chinese (zh)
Other versions
CN102833182A (en
Inventor
马宇尘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Liangming Technology Development Co Ltd
Original Assignee
Shanghai Liangming Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Liangming Technology Development Co Ltd filed Critical Shanghai Liangming Technology Development Co Ltd
Priority to CN201210282782.3A priority Critical patent/CN102833182B/en
Publication of CN102833182A publication Critical patent/CN102833182A/en
Application granted granted Critical
Publication of CN102833182B publication Critical patent/CN102833182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides and a kind of instant messaging carries out the method for recognition of face, client and system, belong to communication, software technology field.Described method comprises the steps: that gathering instant communication users carries out the operation information of instant communication client login by the way of input key;Judge that login is the most successful, on the premise of success, trigger place terminal carry out the acquisition operations of image;From gathering, the data obtained obtain facial image, as the standard faces image carried out for this instant communication client during recognition of face.Utilize the present invention, it is possible to more advantageously Criterion facial image, and utilize the mode of recognition of face to carry out register etc. in JICQ.

Description

Instant messaging carries out the method for recognition of face, client and system
Technical field
The invention belongs to communication, software technology field.
Technical background
Instant messaging (InstantMessaging is called for short IM), in most cases, refers to can immediately send or connect Receive the business of the functions such as internet message.It has been become people and has been interacted the platform of communication by network, includes in order to realizing The interactive operation of the multiple data forms such as text, picture, voice, video, multimedia, and existing document data can be utilized JICQ is advantageously transmitted operation.On the basis of interactive communication, the most progressively developed by JICQ The several functions such as private page, blog, microblogging, Email, music, picture, game, video display and search are gone out.Instant messaging Instrument is the most no longer purely by way of chat tool, also achieve information, entertain, search for, ecommerce, office, Web Community etc. more Add purposes widely.The equipment being capable of instant messaging access function is varied.Typical device type, passes including using The PC of system network, and panel computer;Also include the smart mobile phone using mobile Internet, etc..IMU at present The type of letter software is the most varied, is typically include MSN, AOL of the QQ of Tentent Science company or wechat, Microsoft ICQ, and Taobao Wang Wang, POPO, rice are chatted, Fetion, etc..
In the application process of instant messaging, user there may be the demand carrying out identification.Current face identifies skill Art quickly grows, carry out the associative operation of JICQ if, with the mode of recognition of face if, then, it will significantly Improve the experience of user.But how a kind of easy mode is provided, allows users to more be conveniently provided standard faces Image, and the associative operation of instant messaging is carried out based on recognition of face, it is a problem needing to solve.
Summary of the invention
It is an object of the invention to provide a kind of method carrying out recognition of face in instant messaging, and the client of correspondence and System, utilizes the present invention, it is possible to more advantageously Criterion facial image, and utilizes the mode of recognition of face at IMU Letter instrument carries out register etc..
The method carrying out recognition of face in a kind of instant messaging provided by the present invention, comprises the steps:
Step 1, gathers instant communication users and carries out the operation of instant communication client login by the way of input key Information;
Step 2, it is determined that log in the most successful, triggers place terminal on the premise of success and carries out the acquisition operations of image;
Step 3, obtains facial image from gathering, carries out face as this instant communication client the data obtained Standard faces image during identification.
Further, described key is login password.
Further, in the preset time threshold after user logins successfully, carry out the acquisition operations of image.
Further, described time threshold, within 1 minute.
Further, generate the confirmation information interface including facial image, in the confirmation message gathering instant communication users In the case of, using the facial image of acquisition as standard faces image.
Further, the setting of described standard faces image can be known by sex and implements otherwise, and its step is such as Under,
To gathering the facial image obtained, or the portrait data including facial image, known otherwise by sex Determine the sex of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default gender information;
In the case of default gender information and the gender information above identifying acquisition coincide, the face obtained will be gathered Data are as the license decision condition of standard faces image, if in the case of sex misfits, as objectionable decision condition.
Further, the setting of described standard faces image can be known by the age and implements otherwise, and its step is such as Under,
To gathering the facial image obtained, or the portrait data including facial image, known otherwise by the age Determine the range of age of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default age information;
Default age information with above identify that the age information of acquisition has identical data segment in the case of, will gather The human face data obtained is as the license decision condition of standard faces image, if in the case of not there is identical data segment, as Objectionable decision condition.
Further, the collection of described standard faces image can be implemented as follows,
The acquisition operations of facial image is carried out under the registration conditions of twice or more than twice;
The definition of the feature of the obtained facial image of comparison;
Take the highest facial image of definition as standard faces view data.
Further, described registration conditions, include whether to carry out, by different terminal equipment, the decision condition that logs in, it is sentenced Determining step is,
When carrying out standard faces image data acquiring, gather the hardware information of place terminal;
When carrying out the standard faces image data acquiring of different number of times, judge the hardware information of place terminal whether in advance Cause;
If consistent, it be not acquired, if inconsistent, be acquired.
Further, aforesaid hardware information, is MAC (the Media Access Control) address date of place terminal.
Further, by the standard faces view data of captured acquisition, push to system server and store.
Further, implementing before abovementioned steps 1, it is determined that whether customer identification number corresponding to place instant communication client Have built up standard faces image, in the case of having built up, the most do not triggered place terminal and carry out image acquisition and standard The foundation operation of facial image.
The present invention also provides for carrying out in a kind of instant messaging the login method of recognition of face, comprises the steps:
Step 1, gathers instant communication users and carries out the operation of instant communication client login by the way of input key Information;
Step 2, it is determined that log in the most successful, triggers place terminal on the premise of success and carries out the acquisition operations of image;
Step 3, obtains facial image from gathering, carries out face as this instant communication client the data obtained Standard faces image during identification;
Step 4, when triggering place instant communication client carries out register again, starts place terminal and gathers user's Human face data, and and the standard faces image of the gathered acquisition of abovementioned steps compare;
Step 5, in the case of comparison is passed through, then logs in the instant messaging client at place by the way of recognition of face End, in the case of comparison is not passed through, does not the most log in this instant communication client by the way of recognition of face.
Further, correspond to described step 4, when gathering the human face data of user, synchronous acquisition correspond to log in shape The customer identification number of state.
The present invention also provides for carrying out in a kind of instant messaging the client of recognition of face, and this client includes:
Log in identifying unit, in order to judge that instant communication users carries out instant communication client by the way of input key The operation logged in is the most successful;
Image acquisition unit, carries out image acquisition operation in order to trigger place terminal on the premise of logining successfully;
Standard faces setup unit, in order to from gathering acquisition facial image in the data obtained, as this IMU Letter client carries out standard faces image during recognition of face.
Further, correspond to described client and be preset with face trigger collection unit, in order to judge corresponding user Whether identifier has pre-build standard faces image, if had built up, then and building without trigger criteria facial image Vertical operation;If setting up, then the foundation operation of trigger criteria facial image.
The present invention also provides for carrying out in a kind of instant messaging the system of recognition of face, and this system includes:
Client, it includes,
Standard faces image acquisition trigger element, in order to receive the triggering message pushed from following system server, Trigger place client and carry out image acquisition operation;
Image acquisition unit, triggers place terminal in order to the client by having logined successfully and carries out image taking collection behaviour Make;
Image push unit, in order to the view data of gathered for aforementioned image acquisition unit acquisition is pushed to following be System server;
System server, it includes,
Standard faces image acquisition identifying unit, it is determined that whether the customer identification number of logged in client has been provided with standard Facial image, to the triggering message of aforementioned client push Criterion facial image in the case of being not provided with;
Image receiving unit, in order to receive the view data that aforementioned client is pushed;
Standard faces image setting unit, in order to gather face figure from the data that aforementioned image receiving unit is obtained Picture, as the standard faces image carried out for this client during recognition of face.
The present invention also provides for carrying out in a kind of instant messaging the client of recognition of face login, and this client includes:
Log in identifying unit, in order to judge that instant communication users carries out instant communication client by the way of input key The operation logged in is the most successful;
Image acquisition unit, carries out the acquisition operations of image in order to trigger place terminal on the premise of logining successfully;
Standard faces setup unit, in order to from gathering acquisition facial image in the data obtained, as this IMU Letter client carries out standard faces image during recognition of face;
Log in comparing unit, when triggering place instant communication client carries out register again, start place terminal and adopt The human face data of collection user, and and the standard faces image of aforesaid standards the gathered acquisition of face setup unit compare;
Log in permission determination unit, in order to comparison by the case of by recognition of face by the way of log in place i.e. Time communication customer end, in the case of comparison is not passed through, by the way of recognition of face, the most do not log in this instant communication client.
Further, correspond to described client and be preset with face trigger collection unit, in order to judge corresponding user Whether identifier has pre-build standard faces image, if had built up, then and building without trigger criteria facial image Vertical operation;If setting up, then the foundation operation of trigger criteria facial image.
The present invention also provides for carrying out in a kind of instant messaging the system of recognition of face login, and this system includes:
Client, it includes,
Standard faces image acquisition trigger element, receives the triggering message pushed from following system server, triggers Place client gathers the operation of standard faces image;
Image acquisition unit, triggers place terminal in order to the client by having logined successfully and carries out image taking collection behaviour Make;
Image push unit, in order to the view data of gathered for aforementioned image acquisition unit acquisition is pushed to following be System server;
Log in image acquisition units, in order to correspond to the customer identification number preset, in the case of client Successful login, Or in recognition of face carries out the register of client, trigger push to after place terminal carries out image taking following be System server;
Log in performance element, the login grant message logging in permission determination unit in obtaining following system server In the case of, the client at place is realized successfully register;
System server, it includes,
Standard faces image acquisition identifying unit, it is determined that whether the customer identification number of logged in client has been provided with standard Facial image, to the triggering message of aforementioned client push Criterion facial image in the case of being not provided with;
Image receiving unit, in order to receive the view data that aforementioned client is pushed;
Standard faces image setting unit, in order to gather face figure from the data that aforementioned image receiving unit is obtained Picture, as the standard faces image carried out for this client during recognition of face;
Log in permission determination unit, obtain aforementioned login image acquisition units acquired image data, will therefrom obtain Human face data compare with the standard faces image in aforesaid standards facial image setup unit, comparison coincide condition Lower to aforesaid client push login grant message.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method carrying out recognition of face in instant messaging of the present invention, for embodiment 1.
Fig. 2 is the flow chart of the method carrying out recognition of face login in instant messaging of the present invention, for embodiment 2.
Fig. 3 is the structured flowchart of the client carrying out recognition of face in instant messaging of the present invention, for embodiment 3.
Fig. 4 is the structured flowchart of the system carrying out recognition of face in instant messaging of the present invention, for embodiment 4.
Fig. 5 is the structured flowchart of the client carrying out recognition of face login in instant messaging of the present invention, for embodiment 5。
Fig. 6 is the structured flowchart of the system carrying out recognition of face login in instant messaging of the present invention, for embodiment 6.
Detailed description of the invention
Embodiment 1
Shown in ginseng Fig. 1, present embodiments provide a kind of side obtaining standard faces image when carrying out recognition of face operation Method, the method comprises the following steps that
Step S110, gathers instant communication users and carries out the behaviour of instant communication client login by the way of input key Make information;
Step S120, it is determined that log in the most successful, triggers place terminal on the premise of success and carries out the collection behaviour of image Make;
Step S130, obtains facial image from gathering, carries out as this instant communication client the data obtained Standard faces image during recognition of face.
Described key, conventional is logged on password.
When carrying out access of instant communicating client with customer identification number and login password, first gather user by logging in Customer identification number that interface is inputted and login password, pushed to system server, in system server with prestore Customer identification number and login password are compared, and send the message logging in license, and travel through and be somebody's turn to do in the case of comparison is passed through The online information of each contact object that customer identification number is corresponding, and obtain the data content that each contact object updates, And push to aforesaid instant communication client, generate the instant messaging main panel including contacts list, thus complete to step on Record operation.
When the customer identification number obtained is compared by system server, if it is decided that not this customer identification number;Or Person, although have corresponding customer identification number, but login password is incorrect, in this case, just pushes login not to user Successfully message.
Aforesaid key, it is also possible to be other various ways, such as prestore key in memory, or by fingerprint, The key etc. that the biological characteristics such as iris are formed, does not limits.
Implementing before abovementioned steps S110, can judge customer identification number that instant communication client is corresponding whether in advance Have built up standard faces image.In the case of having built up, the most do not trigger place terminal and carry out image acquisition and standard The foundation operation of facial image.If being not provided with standard faces image, then it is suitable at aforesaid instant communication users Successful login Afterwards, the place terminal acquisition operations to image is directly triggered.Or, in the preset time threshold after user logins successfully, Carry out the acquisition operations of image.This time threshold, non-limiting as preferred embodiment, within 1 minute can be limited to.
Acquired image content is compared with the face feature preset by the way of machine recognition.Described face Portion's feature, for example, include the characteristics of image such as eyes, the bridge of the nose, face.After comparison, if acquired image has If face feature, then, it is determined that gathered in the image obtained and included face image, and this face image is defaulted as i.e. The face image of Shi Tongxin legitimate user himself, because this user have input correct key.
And then, the face image part in image is acquired, or gathers the image including whole head.
Further, it is also possible to generate the confirmation information interface including facial image, exported by this confirmation interface Carry out the control selected for user, trigger the operation information of these controls by gathering user, it is determined whether obtain IMU The confirmation message of credit household.In the case of acquisition user confirms message, using acquired facial image as standard faces figure Picture.
Further, in the case of same instant communication client has multiple operation user, such as, user N is user M Madam, user N uses the instant communication client of certain customer identification number, but user M is only validated user.In this situation Under, it is possible to installation warrants sex assists the decision condition carrying out standard faces image.As preferred embodiment rather than limit Fixed, can be implemented by the steps:
To gathering the facial image obtained, or the portrait data including facial image, known otherwise by sex Determine the sex of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default gender information;
In the case of default gender information and the gender information above identifying acquisition coincide, the face obtained will be gathered Data are as the license decision condition of standard faces image, if in the case of sex misfits, as objectionable decision condition.
Described sex identification, is the face characteristic by default different sexes, and physical trait, and hair style or dress Decorations features etc., then compare gathering the view data obtained with these features, thus make the judgement in sex.
It is pointed out that when judging, if after judging according to machine recognition result, it is impossible to accurately judge is general Rate is higher than in the case of predetermined threshold value, not using aforesaid sex determination's result as the license bar of aforesaid standards man face image acquiring Part.
Such as, user B is the son of user A, and user B uses the instant communication client of certain customer identification number, but user A It is only validated user.In this case, it is possible to the installation warrants age assists the decision condition carrying out standard faces image. Non-limiting as preferred embodiment, can be implemented by the steps:
To gathering the facial image obtained, or the portrait data including facial image, known otherwise by the age Determine the range of age of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default age information;
Default age information with above identify that the age information of acquisition has identical data segment in the case of, will gather The human face data obtained is as the license decision condition of standard faces image, if in the case of not there is identical data segment, as Objectionable decision condition.
The identification operation at described age, is to preset the face feature relevant with the age, carries out age bracket based on these features Identification operation.As an example, for eyes, under all ages and classes, canthus hangs angle and can have any different;For the bridge of the nose, in not the same year Age has different degree of subsiding under happiness;For the corners of the mouth, under all ages and classes, have the deformation in indent degree, etc..Then, The identification operation at age can be carried out according to these characteristics of image.
By the standard faces view data of captured acquisition, push to system server and store, as carrying out later The basis of recognition of face.
It addition, when the data acquisition utilizing the present invention to carry out standard faces image, it is understood that there may be shooting image quality Problem.Then, non-limiting as preferred embodiment, image can be optimized by such a way:
The acquisition operations of facial image is carried out under the registration conditions of twice or more than twice;
The definition of the feature of the obtained facial image of comparison;
Take the highest facial image of definition as standard faces view data.
It is to say, carry out twice or more than twice different login, gather the standard people that correspond under different registration conditions Face image, and these standard faces images are judged.As an example, it is determined that angle have two: one, it is determined which image The pixel corresponding to human face region the highest;Two, it is determined which image is the most clear.Wherein, the judgement of described pixel, directly lead to Cross comparison chart as size;And the judgement of described definition, then can by view data detail data present journey Degree judges, presents degree high, it is determined that high for definition.
Further, described registration conditions, it is also possible to include the decision condition that different terminal equipment is logged in.As Citing, can so judge:
When carrying out standard faces image data acquiring, also gather the hardware information of place terminal;
When carrying out the standard faces image data acquiring of different number of times, judge the hardware information of place terminal whether in advance Cause;
If consistent, it be not acquired, if inconsistent, be acquired.
Aforesaid hardware information, as an example, can be MAC (Media Access Control) address, or referred to as MAC Address, hardware address etc..By means of which, the standard of same instant communication users can be gathered by different terminal units Facial image such that it is able to collection result is made preferably comparison.
Embodiment 2
Shown in ginseng Fig. 2, present embodiments provide a kind of acquisition mode applying aforesaid standards facial image, know based on face The method not carrying out instant communication client login.The method comprises the steps:
Step S210, gathers instant communication users and carries out the behaviour of instant communication client login by the way of input key Make information;
Step S220, it is determined that log in the most successful, triggers place terminal on the premise of success and carries out the collection behaviour of image Make;
Step S230, obtains facial image from gathering, carries out as this instant communication client the data obtained Standard faces image during recognition of face;
Step S240, when triggering place instant communication client carries out register again, starts place terminal collection and uses The human face data at family, and and the standard faces image of the gathered acquisition of abovementioned steps compare;
Step S250, in the case of comparison is passed through, then logs in the instant messaging visitor at place by the way of recognition of face Family end, in the case of comparison is not passed through, does not the most log in this instant communication client by the way of recognition of face.
Step S110 in aforesaid step S210, step S220, step S230, with embodiment 1, step S120, step S130 is similar to, and repeats no more.
On the basis of obtaining standard faces image, the mode that i.e. may utilize recognition of face carries out register.Concrete next Say, when obtaining instant communication client and carrying out the operation information logged in, carry out recognition of face operation, trigger the terminal profit at place Image is shot, it is determined that whether captured image including aforesaid standards facial image, if included, then touching with camera settings Send out the operation of access of instant communicating client, otherwise, by the way of recognition of face, do not carry out stepping on of this instant communication client Record operation.In the case of the mode that can not utilize recognition of face carries out register, it is possible to use the side of preset password one class Formula carries out register.
Utilize instant communication client to carry out the operation information logged in, reality can be carried out by triggering corresponding login interface Existing, or realize by presetting the shortcut realizing instant communication client register, do not limit.
Further, correspond to the register of aforesaid recognition of face, in order to improve the accuracy rate of identification, be also adaptable for passing through The register interface relevant with login, pre-sets corresponding instant communication users identifier, utilizes specific user to know The mode that alias combines with specific standard faces image, is more beneficial for improving the accuracy rate identified.
Embodiment 3
Shown in ginseng Fig. 3, correspond to aforesaid embodiment 1, the present invention also provides for carrying out recognition of face in a kind of instant messaging Client 100.It is instant communication client, includes the interface carrying out instant messaging, and can be in conjunction with place System server carries out register.Described interface, non-limiting as preferred embodiment, include instant messaging interarea Plate, is provided with contacts list in this instant messaging main panel, and when interactive communication, opened and particular contact The instant messaging interactive interface etc. that object is corresponding.
Further, described client 100 also includes following structure:
Log in identifying unit 110, in order to judge that instant communication users carries out instant messaging visitor by the way of input key The operation that family end logs in is the most successful;
Image acquisition unit 120, carries out the acquisition operations of image in order to trigger place terminal on the premise of logining successfully;
Standard faces setup unit 130, in order to from gathering acquisition facial image in the data obtained, as instant for this Communication customer end carries out standard faces image during recognition of face.
In the specific implementation, it is also possible to default face trigger collection unit 101, described face trigger collection unit 101, Main in order to judge whether corresponding customer identification number has pre-build standard faces image, if had built up, then Need not the foundation operation of automatic trigger criteria facial image again;If setting up, then can be by the side automatically triggered Formula starts the foundation operation of standard faces image.It is of course also possible to arrange in the login interface of instant communication client in order to Control is set up in the recognition of face starting the foundation operation of standard faces image, after control is set up in this recognition of face of triggering, it is possible to Start the foundation operation of standard faces image.
When the foundation carrying out standard faces image operates, by aforesaid login identifying unit 110, it is determined that instant messaging The operation that user carries out instant communication client login by the way of input key is the most successful.In situation about logining successfully Under, by described image acquisition unit 120, trigger the image taking structure in the terminal of place and carry out the acquisition operations of image. And then to gathering the view data obtained, utilize standard faces setup unit 130 judges the most whether include human face data.As If fruit includes multiple human face data, then the human face data taking size maximum is acquired.At facial image clear obtained In the case of degree and angle all can reach recognition of face requirement, the facial image obtained will be gathered as this client 100 Carry out standard faces image during recognition of face.
Embodiment 4
Shown in ginseng Fig. 4, correspond to aforesaid embodiment 1, the present invention also provides for carrying out recognition of face in a kind of instant messaging System 200, this system 200 is capable of the various preset functions relevant with instant messaging.Further, it is also possible at IMU In the case of credit household is to instant communication client Successful login, gather the facial image of instant communication users, as later pin Standard faces image during recognition of face is carried out for this instant communication client.
Further, for realizing aforesaid function, system 200 described in the invention also includes following structure:
Client 210, it includes,
Standard faces image acquisition trigger element 211, in order to receive the triggering pushed from following system server 220 Message, triggers place client 210 and gathers the operation of standard faces image;
Image acquisition unit 212, triggers place terminal in order to the client 210 by having logined successfully and carries out image taking Acquisition operations;
Image push unit 213, is pushed to down in order to aforementioned image acquisition unit 212 to gather the view data obtained The system server 220 stated;
System server 220, it includes,
Standard faces image acquisition identifying unit 221, in order to have judged the customer identification number of logged in client 210 the most It is provided with standard faces image, in the case of being not provided with, pushes touching of Criterion facial image to aforementioned client 210 Messaging;
Image receiving unit 222, in order to receive the view data that aforementioned client 210 is pushed;
Standard faces image setting unit 223, in order to gather people from the data that aforementioned image receiving unit 222 is obtained Face image, as the standard faces image carried out for this client 210 during recognition of face.
In the specific implementation, system server 220 trigger collection carrying out standard faces image operates, and passes through client End 210 triggering place terminal carries out image acquisition operation.Specifically, by the standard faces image in system server 220 Gather identifying unit 221, it is determined that whether the customer identification number of logged in client 210 has been provided with standard faces image, if If the most configured, then without arranging standard faces image again;In the case of being not provided with, then push away to aforementioned client 210 Send the triggering message of Criterion facial image.
Standard faces image acquisition trigger element 211 in described client 210, is receiving aforementioned system server After the triggering message that 220 are pushed, the image acquisition unit 212 in place client 210 can be triggered, by logining successfully Client 210 start the camera settings in the terminal of place, thus carry out the shooting, collecting operation of image.The image of shooting is led to Cross image push unit 213, push to described system server 220.
By the image receiving unit 222 in system server 220, receive image push unit in aforementioned client 210 213 view data pushed.And then, by standard faces image setting unit 223, it is determined that in the view data of acquisition whether Include facial image, in the case of including, the most therefrom gather facial image.Equal with angle at the definition of this facial image In the case of can reaching recognition of face requirement, carry out face using gathering the facial image obtained as this client 210 Standard faces image during identification.
Embodiment 5
Shown in ginseng Fig. 5, correspond to aforesaid embodiment 2, present invention also offers in a kind of instant messaging and carry out face knowledge The client 300 not logged in, it is instant communication client, includes the interface carrying out instant messaging, and can be in conjunction with institute System server carry out register.Described interface, non-limiting as preferred embodiment, can include instant Communication main panel, is provided with contacts list, and when interactive communication in this instant messaging main panel, opened with spy Determine the instant messaging interactive interface etc. that contact object is corresponding.
Further, described client 300 also includes following structure:
Log in identifying unit 310, in order to judge that instant communication users carries out instant messaging visitor by the way of input key The operation that family end logs in is the most successful;
Image acquisition unit 320, carries out the acquisition operations of image in order to trigger place terminal on the premise of logining successfully;
Standard faces setup unit 330, in order to from gathering acquisition facial image in the data obtained, as instant for this Communication customer end carries out standard faces image during recognition of face.
Log in comparing unit 340, in order to again trigger place instant communication client carry out register time, start place Terminal gather user human face data, and and aforesaid standards face setup unit 330 is gathered acquisition standard faces image enter Row comparison;
Log in permission determination unit 350, in the case of passing through in comparison, then by the way of recognition of face, log in institute Instant communication client, in the case of comparison is not passed through, by the way of recognition of face, the most do not log in this instant messaging Client.
In the specific implementation, it is also possible to default face trigger collection unit 301, described face trigger collection unit 301, Main in order to judge whether corresponding customer identification number has pre-build standard faces image, if had built up, then Need not the foundation operation of automatic trigger criteria facial image again;If setting up, then can be by the side automatically triggered Formula starts the foundation operation of standard faces image.It is of course also possible to arrange in the login interface of instant communication client in order to Control is set up in the recognition of face starting the foundation operation of standard faces image, after control is set up in this recognition of face of triggering, it is possible to The directly foundation operation of trigger criteria facial image.
When the foundation carrying out standard faces image operates, by aforesaid login identifying unit 310, it is determined that instant messaging The operation that user carries out instant communication client login by the way of input key is the most successful.In situation about logining successfully Under, by described image acquisition unit 320, trigger the image taking structure in the terminal of place and carry out the acquisition operations of image, And then to gathering the view data obtained, utilize standard faces setup unit 330 judges the most whether include human face data.As If fruit includes multiple human face data, then the human face data taking size maximum is acquired.At facial image clear obtained In the case of degree and angle all can reach recognition of face requirement, the facial image obtained will be gathered as this client 300 carry out standard faces image during recognition of face.
After obtaining standard faces image, by aforesaid login comparing unit 340, it is possible to triggering, place is instant When communication customer end carries out register, when such as carrying out register by the login interface of triggering instant communication client, Start place terminal and gather the human face data of user, and gathered, with aforesaid standards face setup unit 330, the standard people obtained Face image is compared.This comparison process can be carried out by place terminal, it is also possible to is pushed to corresponding system clothes Business device is compared.Wherein, in order to improve the accuracy rate of identification, it is suitable for synchronous acquisition and pushes corresponding with this facial image Customer identification number.
Further, by log in permission determination unit 350, in order in the case of passing through in comparison by the side of recognition of face Formula logs in the instant communication client at place, and by system server in systems this client 300 is logged in Registration, the logging status of each contact object corresponding to acquisition, and by these data-pushings to carrying out the instant of register Communication customer end, completes register after output in instant communication client.In the case of identification is not passed through, do not pass through The mode of recognition of face logs in this instant communication client, and user can carry out register in the way of using other.
Embodiment 6
Shown in ginseng Fig. 6, correspond to aforesaid embodiment 2, the present invention also provides for carrying out recognition of face in a kind of instant messaging The system 400 logged in, this system 400 is capable of the various preset functions relevant with instant messaging.Further, it is also possible in sight Time communication user to instant communication client Successful login in the case of, gather instant communication users facial image, as with After be directed to standard faces image when this instant communication client carries out recognition of face;And then according to the standard faces obtained Image, it is possible in aforementioned instant communication users register subsequently, determining whether by the way of recognition of face can be right Instant communication client realizes register.
Further, for realizing aforesaid function, described system 400 also includes following construction features:
Client 410, it includes,
Standard faces image acquisition trigger element 411, receives the triggering pushed from following system server 420 and disappears Breath, triggers place client 410 and gathers the operation of standard faces image;
Image acquisition unit 412, triggers place terminal in order to the client 410 by having logined successfully and carries out image taking Acquisition operations;
Image push unit 413, is pushed to down in order to aforementioned image acquisition unit 412 to gather the view data obtained The system server 420 stated;
Log in image acquisition units 414, in order to correspond to the customer identification number preset, at client 410 Successful login In the case of, or in recognition of face carries out the register of client 410, trigger after place terminal carries out image taking and push To following system server 420;
Log in performance element 415, the login logging in permission determination unit 424 in obtaining following system server 420 In the case of grant message, the client 410 at place is realized successful register;
System server 420, it includes,
Standard faces image acquisition identifying unit 421, it is determined that the customer identification number of logged in client 410 is arranged the most Having standard faces image, the triggering pushing Criterion facial image to aforementioned client 410 in the case of being not provided with disappears Breath;
Image receiving unit 422, in order to receive the view data that aforementioned client 410 is pushed;
Standard faces image setting unit 423, in order to gather people from the data that aforementioned image receiving unit 422 is obtained Face image, as the standard faces image carried out for this client 410 during recognition of face;
Log in permission determination unit 424, obtain aforementioned login image acquisition units 414 acquired image data, will be from The human face data of middle acquisition is compared, in comparison with the standard faces image in aforesaid standards facial image setup unit 423 Push to aforesaid client 410 under conditions of Wen Heing and log in grant message.
In the present embodiment, described client 410, in order to trigger the figure of the terminal taking instant communication users at place Picture, carries out the collection of standard faces image, and client 410 is provided with standard faces image for system server 420 In the case of, when logging in this client 410, again trigger the image of the terminal taking instant communication users at place, and by being System server 420 is compared with the standard faces image pre-build, judges that instant messaging is used by the way of recognition of face Whether this login at family permits.
Particularly, by the standard faces image acquisition identifying unit 421 in system server 420, traversal is logged in The configuration information of the customer identification number of client 410, it is determined that whether it has been provided with standard faces image.In the most configured feelings Under condition, then need not Criterion facial image again;In the case of being not provided with, then need to generate in order to Criterion people The triggering message of face image, pushes to aforementioned client 410.
By the standard faces image acquisition trigger element 411 in aforementioned client 410, come from system clothes receiving After the triggering message that business device 420 is pushed, it is possible to trigger place client 410 and carry out the acquisition operations of standard faces image. In the specific implementation, by image acquisition unit 412, utilize the client 410 logined successfully to trigger place terminal and carry out figure As shooting, collecting operates, then via image push unit 413, aforementioned image acquisition unit 412 is gathered the picture number obtained According to pushing in aforesaid system server 420.
In system server 420, by image receiving unit 422, receive that aforementioned client 410 pushed is to be obtained Whether the view data of standard faces image, judged in the view data that obtained by standard faces image setting unit 423 Include facial image, including facial image, and the definition of this facial image all can reach recognition of face with angle In the case of requirement, gathered as the standard faces image carried out for this client 410 during recognition of face.
Further, after Criterion facial image, when carrying out register by aforesaid client 410, just Can directly trigger the operating function of recognition of face.This trigger action can be direct when instant communication users logs in place terminal Trigger, it is also possible to trigger after the unlatching control clicking on JICQ, it is also possible to log at instant communication client Interface arranges to carry out the operational controls of recognition of face login, just starts after clicking on this control, etc., specifically Do not limit.
After carrying out register by the way of recognition of face, by logging in image acquisition units 414, trigger place Terminal pushes to system server 420 after carrying out image taking.By the login permission determination unit in system server 420 424, obtain aforementioned login image acquisition units 414 acquired image data, in the case of can obtaining human face data, with The standard faces image set up in aforesaid standards facial image setup unit 423 is compared, under conditions of judging to coincide Push to aforesaid client 410 and log in grant message;In the case of judging to misfit, push login and disapprove message.
And then, need to carry out the client 410 of register, by logging in performance element 415, obtain system server In the case of the login grant message logging in permission determination unit 424 in 420, realize successfully stepping on by the client 410 at place Record operation.If obtain be logged on disapprove message, then cannot carry out register by aforesaid recognition of face mode.
Being above the description of this invention and non-limiting, other embodiments based on inventive concept, the most all in the present invention Protection domain among.

Claims (20)

1. the method carrying out recognition of face in an instant messaging, it is characterised in that comprise the steps:
Step 1, gathers instant communication users and carries out the operation information of instant communication client login by the way of input key;
Step 2, it is determined that log in the most successful, after success, the client triggering place terminal by logining successfully carries out adopting of image Collection operation;
Step 3, obtains facial image from gathering, carries out recognition of face as this instant communication client the data obtained Time standard faces image.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: described is close Key is login password.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: step on user In preset time threshold after recording successfully, carry out the acquisition operations of image.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 3, it is characterised in that: time described Between threshold value, within 1 minute.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: generate and include There is the confirmation information interface of facial image, in the case of the confirmation message gathering instant communication users, the face figure that will obtain As standard faces image.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: described standard The setting of facial image can be known by sex and implements otherwise, and its step is as follows,
To gathering the facial image obtained, or the portrait data including facial image, known by sex and judge otherwise Go out the sex of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default gender information;
In the case of default gender information and the gender information above identifying acquisition coincide, the human face data obtained will be gathered As the license decision condition of standard faces image, if in the case of sex misfits, as objectionable decision condition.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: described standard The setting of facial image can be known by the age and implements otherwise, and its step is as follows,
To gathering the facial image obtained, or the portrait data including facial image, known by the age and judge otherwise Go out the range of age of reference object;
Gather the presupposed information of place instant communication users, it is thus achieved that default age information;
Default age information with above identify that the age information of acquisition has identical data segment in the case of, by collections acquisition Human face data as the license decision condition of standard faces image, if in the case of not there is identical data segment, as mustn't Can decision condition.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 1, it is characterised in that: described standard The collection of facial image can be implemented as follows,
The acquisition operations of facial image is carried out under the registration conditions of twice or more than twice;
The definition of the feature of the obtained facial image of comparison;
Take the highest facial image of definition as standard faces view data.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 8, it is characterised in that: described steps on Record condition, includes whether to carry out, by different terminal equipment, the decision condition that logs in, and its determination step is,
When carrying out standard faces image data acquiring, gather the hardware information of place terminal;
When carrying out the standard faces image data acquiring of different number of times, judge that the hardware information of place terminal is the most consistent in advance;
If consistent, it be not acquired, if inconsistent, be acquired.
The method carrying out recognition of face in a kind of instant messaging the most according to claim 9, it is characterised in that: aforesaid Hardware information, is MAC (the Media Access Control) address date of place terminal.
The method carrying out recognition of face in 11. a kind of instant messagings according to claim 1, it is characterised in that: will be clapped Take the photograph the standard faces view data of acquisition, push to system server and store.
The method carrying out recognition of face in 12. a kind of instant messagings according to claim 1, it is characterised in that: implementing Before abovementioned steps 1, it is determined that whether the customer identification number that place instant communication client is corresponding has had built up standard faces figure Picture, in the case of having built up, does not the most trigger place terminal and carries out the foundation operation of image acquisition and standard faces image.
13. 1 kinds of instant messagings carry out the login method of recognition of face, it is characterised in that the method comprises the steps:
Step 1, gathers instant communication users and carries out the operation information of instant communication client login by the way of input key;
Step 2, it is determined that log in the most successful, after success, the client triggering place terminal by logining successfully carries out adopting of image Collection operation;
Step 3, obtains facial image from gathering, carries out recognition of face as this instant communication client the data obtained Time standard faces image;
Step 4, when triggering place instant communication client carries out register again, starts place terminal and gathers the face of user Data, and and the standard faces image of the gathered acquisition of abovementioned steps compare;
Step 5, in the case of comparison is passed through, then logs in the instant communication client at place by the way of recognition of face, In the case of comparison is not passed through, by the way of recognition of face, the most do not log in this instant communication client.
14. a kind of instant messagings according to claim 13 carry out the login method of recognition of face, it is characterised in that: right Answering described step 4, when gathering the human face data of user, synchronous acquisition correspond to the customer identification number of logging status.
15. 1 kinds of instant messagings carry out the client of recognition of face, it is characterised in that this client includes:
Log in identifying unit, in order to judge that instant communication users carries out instant communication client login by the way of input key Operation whether success;
Image acquisition unit, carries out image acquisition in order to trigger place terminal by the client logined successfully after logining successfully Operation;
Standard faces setup unit, in order to from gathering acquisition facial image in the data obtained, as this instant messaging visitor Family end carries out standard faces image during recognition of face.
16. a kind of instant messagings according to claim 15 carry out the client of recognition of face, it is characterised in that: corresponding Described client and be preset with face trigger collection unit, in order to judge whether corresponding customer identification number has pre-build Standard faces image, if had built up, then the foundation without trigger criteria facial image operates;Without set up Words, then the foundation operation of trigger criteria facial image.
17. 1 kinds of instant messagings carry out the system of recognition of face, it is characterised in that this system includes:
Client, it includes,
Standard faces image acquisition trigger element, in order to receive the triggering message pushed from following system server, triggers Place client carries out image acquisition operation;
Image acquisition unit, triggers place terminal in order to the client by having logined successfully and carries out image taking acquisition operations;
Image push unit, in order to push to following system clothes by the view data of gathered for aforementioned image acquisition unit acquisition Business device;
System server, it includes,
Standard faces image acquisition identifying unit, it is determined that whether the customer identification number of logged in client has been provided with standard faces Image, to the triggering message of aforementioned client push Criterion facial image in the case of being not provided with;
Image receiving unit, in order to receive the view data that aforementioned client is pushed;
Standard faces image setting unit, in order to gather facial image from the data that aforementioned image receiving unit is obtained, makees For carrying out standard faces image during recognition of face for this client.
18. 1 kinds of instant messagings carry out the client of recognition of face login, it is characterised in that this client includes:
Log in identifying unit, in order to judge that instant communication users carries out instant communication client login by the way of input key Operation whether success;
Image acquisition unit, carries out adopting of image in order to trigger place terminal by the client logined successfully after logining successfully Collection operation;
Standard faces setup unit, in order to from gathering acquisition facial image in the data obtained, as this instant messaging visitor Family end carries out standard faces image during recognition of face;
Log in comparing unit, when triggering place instant communication client carries out register again, start place terminal collection and use The human face data at family, and and the standard faces image of aforesaid standards the gathered acquisition of face setup unit compare;
Log in permission determination unit, in order to comparison by the case of by recognition of face by the way of log in the IMU at place Letter client, in the case of comparison is not passed through, does not the most log in this instant communication client by the way of recognition of face.
19. a kind of instant messagings according to claim 18 carry out the client of recognition of face login, it is characterised in that: Correspond to described client and be preset with face trigger collection unit, in order to judge that corresponding customer identification number is built the most in advance Vertical have standard faces image, if had built up, then the foundation without trigger criteria facial image operates;Without building If Li, then the foundation operation of trigger criteria facial image.
20. 1 kinds of instant messagings carry out the system of recognition of face login, it is characterised in that this system includes:
Client, it includes,
Standard faces image acquisition trigger element, receives the triggering message pushed from following system server, triggers place Client gathers the operation of standard faces image;
Image acquisition unit, triggers place terminal in order to the client by having logined successfully and carries out image taking acquisition operations;
Image push unit, in order to push to following system clothes by the view data of gathered for aforementioned image acquisition unit acquisition Business device;
Log in image acquisition units, in order to correspond to the customer identification number preset, in the case of client Successful login, or In recognition of face carries out the register of client, trigger and after place terminal carries out image taking, push to following system clothes Business device;
Log in performance element, the situation logging in grant message logging in permission determination unit in obtaining following system server Under, the client at place is realized successfully register;
System server, it includes,
Standard faces image acquisition identifying unit, it is determined that whether the customer identification number of logged in client has been provided with standard faces Image, to the triggering message of aforementioned client push Criterion facial image in the case of being not provided with;
Image receiving unit, in order to receive the view data that aforementioned client is pushed;
Standard faces image setting unit, in order to gather facial image from the data that aforementioned image receiving unit is obtained, makees For carrying out standard faces image during recognition of face for this client;
Log in permission determination unit, obtain aforementioned login image acquisition units acquired image data, the people that will therefrom obtain Face data are compared with the standard faces image in aforesaid standards facial image setup unit, comparison coincide under conditions of to Aforesaid client push logs in grant message.
CN201210282782.3A 2012-08-09 2012-08-09 Instant messaging carries out the method for recognition of face, client and system Active CN102833182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210282782.3A CN102833182B (en) 2012-08-09 2012-08-09 Instant messaging carries out the method for recognition of face, client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210282782.3A CN102833182B (en) 2012-08-09 2012-08-09 Instant messaging carries out the method for recognition of face, client and system

Publications (2)

Publication Number Publication Date
CN102833182A CN102833182A (en) 2012-12-19
CN102833182B true CN102833182B (en) 2016-11-23

Family

ID=47336155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210282782.3A Active CN102833182B (en) 2012-08-09 2012-08-09 Instant messaging carries out the method for recognition of face, client and system

Country Status (1)

Country Link
CN (1) CN102833182B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103280078A (en) * 2013-05-22 2013-09-04 江苏科技大学 Automatic alarm system based on video chat and realization method thereof
CN103345599A (en) * 2013-06-19 2013-10-09 天津汉柏信息技术有限公司 Virtual desktop login method based on face recognition technology
CN104376022B (en) * 2013-08-16 2021-04-13 联想(北京)有限公司 Data processing method and device
CN105323143B (en) * 2014-06-24 2021-01-15 腾讯科技(深圳)有限公司 Network information pushing method, device and system based on instant messaging
CN105117633B (en) * 2015-09-07 2018-07-03 三峡大学 Recognition of face Windows system logins verify system
CN105488495A (en) * 2016-01-05 2016-04-13 上海川织金融信息服务有限公司 Identity identification method and system based on combination of face characteristics and device fingerprint
CN107222397A (en) * 2017-07-20 2017-09-29 王润 A kind of MSN based on JAVA
CN108428275A (en) * 2018-01-03 2018-08-21 平安科技(深圳)有限公司 Row number method, server and storage medium based on recognition of face
CN109413495A (en) * 2018-09-06 2019-03-01 广州虎牙信息科技有限公司 A kind of login method, device, system, electronic equipment and storage medium
CN111582203A (en) * 2020-05-13 2020-08-25 广州云从鼎望科技有限公司 Image recognition processing method, system, device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325491A (en) * 2008-07-28 2008-12-17 北京中星微电子有限公司 Method and system for controlling user interface of instant communication software
CN101605178A (en) * 2008-06-10 2009-12-16 三星电子株式会社 Use the method for the image information in the portable terminal
CN102164113A (en) * 2010-02-22 2011-08-24 深圳市联通万达科技有限公司 Face recognition login method and system
CN102413100A (en) * 2010-09-25 2012-04-11 盛乐信息技术(上海)有限公司 Voice-print authentication system having voice-print password picture prompting function and realization method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005096213A1 (en) * 2004-03-05 2005-10-13 Thomson Licensing Face recognition system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605178A (en) * 2008-06-10 2009-12-16 三星电子株式会社 Use the method for the image information in the portable terminal
CN101325491A (en) * 2008-07-28 2008-12-17 北京中星微电子有限公司 Method and system for controlling user interface of instant communication software
CN102164113A (en) * 2010-02-22 2011-08-24 深圳市联通万达科技有限公司 Face recognition login method and system
CN102413100A (en) * 2010-09-25 2012-04-11 盛乐信息技术(上海)有限公司 Voice-print authentication system having voice-print password picture prompting function and realization method thereof

Also Published As

Publication number Publication date
CN102833182A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102833182B (en) Instant messaging carries out the method for recognition of face, client and system
US11153351B2 (en) Method and computing device for identifying suspicious users in message exchange systems
TWI717728B (en) Identity verification and login method, device and computer equipment
CN103402203B (en) Fast access method and device based on bio-identification
US10693871B2 (en) Account information obtaining method, terminal, server and system
WO2017096921A1 (en) Method for identifying identity by means of social relationship
CN102821253B (en) JICQ realizes the method and system of group photo function
CN103856472B (en) A kind of method and device of Account Logon
CN103414815B (en) The display packing and terminal of associated person information
JP5365384B2 (en) User authentication system and computer program therefor
EP2544126A1 (en) Recognition system based on augmented reality and remote computing and related method
WO2018054387A1 (en) Method and device for managing permission of terminal
CN107154890A (en) Method, the apparatus and system of contact person is added in social networks
US20120317217A1 (en) Methods and systems for managing virtual identities
CN104980402B (en) Method and device for identifying malicious operation
CN103365922A (en) Method and device for associating images with personal information
US9075431B2 (en) Display apparatus and control method thereof
CN107786487B (en) Information authentication processing method, system and related equipment
CN105159475B (en) A kind of characters input method and device
CN108881666A (en) Permission authorizes device and permission authorizes the control program of device
CN114726947A (en) Message display method and device, user terminal and readable storage medium
JP5325919B2 (en) Authentication apparatus and method
WO2016119341A1 (en) Method and device for implementing multi-user login mode, and computer storage medium
CN102799276B (en) The method of avatar icon age conversion, client terminal and system in instant messaging
CN106161030B (en) Account registration verification request based on image identification and registration verification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant