Summary of the invention
The embodiment of the present application provides a kind of method and device based on recognition of face, it is intended to guarantee businessman's service provided
High efficiency, convenience and it is intelligentized promote user experience simultaneously, to bring more increments to businessman and can flexible operating
Space.
The embodiment of the present application adopts the following technical solutions:
In a first aspect, the embodiment of the present application provides a kind of method based on recognition of face, comprising:
Obtain the target facial image of user;
Based on the target facial image, authentication is carried out to the user;
In the case where authentication passes through, the human face expression that the target facial image includes is identified;
For user configuration information corresponding with the human face expression.
Optionally, in the method based on recognition of face that the application first aspect provides, the human face expression includes laughing at
Expression;
Wherein, described is user configuration information corresponding with the human face expression, comprising:
Based on the expression laughed at, the degree of being in a cheerful frame of mind of the user is assessed;
For user configuration information corresponding with the degree of being in a cheerful frame of mind.
Optionally, corresponding with the degree of being in a cheerful frame of mind in the method based on recognition of face that the application first aspect provides
Information include: pleasant degree score, mood blessing language, deduction and exemption at least one of information and goods marketing information.
Optionally, in the method based on recognition of face that the application first aspect provides, the method also includes:
In the case where information corresponding with the degree of being in a cheerful frame of mind includes deduction and exemption information, according to the deduction and exemption information, hold
Delivery operation to be done before the trade.
It is optionally, described according to the deduction and exemption information in the method based on recognition of face that the application first aspect provides,
Execute current delivery operation to be done, comprising:
The corresponding payment limit of degree of being in a cheerful frame of mind described in acquisition;
In the case where the corresponding amount to be paid of the delivery operation is less than or equal to the payment limit, subtracted according to described
Exempt from information, executes the delivery operation.
Optionally, in the method based on recognition of face that the application first aspect provides, the described and human face expression pair
The information answered further includes information corresponding with target date, the target date include: in user's birthday and festivals or holidays at least
One.
Optionally, described corresponding with target date in the method based on recognition of face that the application first aspect provides
Information includes: at least one of birthday greeting language, festivals or holidays greeting, luck tendency information, commodity favor information and Weather information.
Optionally, the application first aspect provide the method based on recognition of face in, it is described for the user configuration with
The corresponding information of the human face expression, comprising:
If determining that the user is the member for being currently located businessman based on the target facial image, match for the user
Set information corresponding with the human face expression.
Optionally, in the method based on recognition of face that the application first aspect provides, if described be based on the target person
Face image determines that the user is the member for being currently located businessman, then is user configuration letter corresponding with the human face expression
Breath, comprising:
Obtain the consumer behavior portrait of the user;
It is drawn a portrait based on the consumer behavior, is user configuration information corresponding with the human face expression.
Optionally, in the method based on recognition of face that the application first aspect provides, the method also includes:
If determining the user not based on the target facial image is the member for being currently located businessman, to the user
Push member registration prompt information.
Optionally, in the method based on recognition of face that the application first aspect provides, the target person for obtaining user
Face image, comprising:
Acquire the facial image of the user;
U.S. face processing is carried out to the facial image, obtains the target facial image.
Second aspect, the embodiment of the present application provide a kind of device based on recognition of face, comprising:
Module is obtained, for obtaining the target facial image of user;
Authentication module carries out authentication to the user for being based on the target facial image;
Identification module, the face table for including in the case where authentication passes through, identifying the target facial image
Feelings;
Configuration module, for being user configuration information corresponding with the human face expression.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
Obtain the target facial image of user;
Based on the target facial image, authentication is carried out to the user;
In the case where authentication passes through, the human face expression that the target facial image includes is identified;
For user configuration information corresponding with the human face expression.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium
Matter stores one or more programs, one or more of programs when the electronic equipment for being included multiple application programs executes,
So that the electronic equipment executes following operation:
Obtain the target facial image of user;
Based on the target facial image, authentication is carried out to the user;
In the case where authentication passes through, the human face expression that the target facial image includes is identified;
For user configuration information corresponding with the human face expression.
The embodiment of the present application use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
In the embodiment of the present application, when user enters businessman, the target facial image of user is obtained, and be based on the mesh
Mark facial image the authentication of user is passed through after, to generate the target facial image when user possessed by human face expression into
Row identification, to be based on the human face expression as the corresponding information of user configuration.In this way, user is locked by facial image, it can be with base
Quick in face recognition technology, accurately and efficiently determining user identity validity, and then can be provided for user efficiently, just
Prompt and intelligentized service, while being its configuration information based on the current human face expression of user, that is, identifying user for me
In the case where, interacting for close friend is carried out with user, to cater to the mood of user or adjust the mood of improvement user, that is to say, that
By exchange and interdynamic link effective between setting and user, equipment is made to become more to increase entertainment and interest added with temperature, with
Achieve the purpose that be promoted user experience, and can guarantee the high efficiency of businessman's service provided, convenience and intelligentized same
When, to businessman bring more increments and can flexible operating space.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
For background technology part statement it is intelligent to people's life bring it is convenient, fraicheur simultaneously so that people
The object that can exchange it is fewer and fewer, can be by the embodiment of the present application based on recognition of face the problem of poor user experience
Scheme is solved, with guarantee the high efficiency of businessman's service provided, convenience and it is intelligentized simultaneously, promote user's body
Test, thus to businessman bring more increments and can flexible operating space.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Shown in Figure 1, the embodiment of the present application provides a kind of method based on recognition of face, this method can include:
Step S101: the target facial image of user is obtained.
Step S103: being based on target facial image, carries out authentication to user.
Optionally, after getting the target facial image of user, the target facial image and pre-stored can be somebody's turn to do
Whether the facial image of user carries out aspect ratio pair, legal with the identity for verifying user.
Further, if determining after comparison, the target facial image of user is consistent with pre-stored facial image, says
The identity of bright user is legal, passes through to the authentication of the user;And if after comparison determine user target facial image with
Pre-stored facial image is inconsistent, then illustrates that the identity of user is illegal, fails to the authentication of the user.
Furthermore it is also possible to transfer the userspersonal information of registered storage by the target facial image of user, such as can
Member's registration information etc., in this way, whether can be businessman member by detection user or provide the third parties of payment services and (for example prop up
Pay treasured) valid members, realize verifying to user identity.
Step S105: in the case where authentication passes through, the human face expression that target facial image includes is identified.
Step S107 is user configuration information corresponding with human face expression.
Optionally, the human face expression based on the user recognized can analyze the current mood of determining user, for example, if knowing
Not Chu human face expression be the expression laughed at, then illustrate the current mood category of user like, excited class, if the human face expression identified
For surprised expression, then illustrate that the current mood of user belongs to curious, surprised class, if the human face expression of identification is to cry, is sad
Expression then illustrates that the current mood of user belongs to sad, sad, downhearted class, etc.;And then can be current according to user mood shape
State configures corresponding information for it, and the authentication operation in the form of the recognition of face carried out to user responds.Citing comes
It says, can cater to the information of its mood, such as " you laugh it up sees very well ", " love for user configuration when user emotion is good
The people's fortune laughed at all will not be too poor " etc. blessing language, help that user is made to continue to have kept mood, can also be bad in user emotion
When, the information of its mood, such as the blessing such as " you have smiled today ", " a smile makes a man young " can be adjusted for user configuration
Language facilitates the unhealthy emotion for improving user.
Optionally, the eye muscle of determining user, face muscle, oral area can analyze based on the target facial image of user
The state of muscle etc., with the human face expression based on this identification user;Specifically, can be using defeated by the target facial image of user
Enter into preparatory trained Expression Recognition model, carries out Data Analysis Services and obtain face table corresponding with target facial image
Feelings, with accurate and efficiently obtain the human face expression of user, and then guarantee be user configuration corresponding informance accuracy.
In the embodiment of the present application, when user enters businessman, the target facial image of user is obtained, and be based on the mesh
Mark facial image the authentication of user is passed through after, to generate the target facial image when user possessed by human face expression into
Row identification, to be based on the human face expression as the corresponding information of user configuration.In this way, user is locked by facial image, it can be with base
Quick in face recognition technology, accurately and efficiently determining user identity validity, and then can be provided for user efficiently, just
Prompt and intelligentized service, while being its configuration information based on the current human face expression of user, that is, identifying user for me
In the case where, interacting for close friend is carried out with user, to cater to the mood of user or adjust the mood of improvement user, that is to say, that
By exchange and interdynamic link effective between setting and user, equipment is made to become more to increase entertainment and interest added with temperature, with
Achieve the purpose that be promoted user experience, and can guarantee the high efficiency of businessman's service provided, convenience and intelligentized same
When, to businessman bring more increments and can flexible operating space.
Further, optionally, for the above-mentioned steps in the method provided by the embodiments of the present application based on recognition of face
103, the upper limit number for allowing the facial image of the target based on user to carry out authentication can be set, and can be in upper limit number
In the case that interior authentication fails, user's more exchange device or adjustment angle etc. is prompted to re-start target facial image
It obtains and authentication, the problems such as avoiding due to equipment fault, light brings bad payment to experience to user.
Further, provided by the embodiments of the present application to be based on people in the case where above-mentioned human face expression includes the expression laughed at
Face is known in method for distinguishing, and above-mentioned steps S107 can specifically be realized by following specific embodiment:
Based on the expression laughed at, the degree of being in a cheerful frame of mind of user is assessed;
For user configuration information corresponding with degree of being in a cheerful frame of mind.
It is appreciated that the expression laughed at can be divided into the expression of the smile, expression of laughter, big according to the difference for the degree laughed at
The expression etc. laughed at, different degrees of laughs at the different degree of being in a cheerful frame of mind that may indicate that user.It therefore, can be based on the target of user
The expression laughed at that facial image includes evaluates the degree of being in a cheerful frame of mind of user, and then is user based on the degree of being in a cheerful frame of mind of user
Corresponding information is configured, to realize interaction of smiling, plays the purpose for catering to the good mood of user.
Optionally, above-mentioned that the degree of being in a cheerful frame of mind of user is assessed based on the expression laughed at, different specific embodiments can be passed through
It realizes, for example, the different types of expression laughed at and the one-to-one relationship between different degree of being in a cheerful frame of mind are pre-established, foundation
Standard can be that the corresponding degree laughed at of expression laughed at is bigger, and corresponding degree of being in a cheerful frame of mind is also more high;Or it can also be with base
In the model that can be realized degree of being in a cheerful frame of mind assessment trained in advance, the degree of being in a cheerful frame of mind of user is determined, for example, using table
After feelings identification model identifies the human face expression of user, the individual features of human face expression directly can be input to degree of being in a cheerful frame of mind
In assessment models, the degree of being in a cheerful frame of mind of user is assessed, or can also successively complete user's by Expression Recognition model
The direct output of Expression Recognition and degree of being in a cheerful frame of mind.
Optionally, above-mentioned corresponding with degree of being in a cheerful frame of mind in the method provided by the embodiments of the present application based on recognition of face
Information includes: pleasant degree score, mood blessing language, deduction and exemption at least one of information and goods marketing information.
It is appreciated that by the pleasant degree score that can react its degree of being in a cheerful frame of mind for user configuration, and can be pushed to
User is shown, and allows in time and gets information about the emotional state of oneself, form good interaction;By for user
Configuration blesses language with the matched mood of its degree of being in a cheerful frame of mind, and can be pushed to user and be shown, and helps to adjust or keep
The mood of user, for example, can be when the degree of being in a cheerful frame of mind of user to be lower, the mood that configuring can make its mood improve is wished
Good fortune language, such as joke etc., and when the degree of being in a cheerful frame of mind of user is higher, configuration can make it that the mood of mood kept to bless
Language, for example commend user and often keep the blessing language that good mood can be increasingly younger;By being in a cheerful frame of mind for user configuration with it
Spend matched deduction and exemption information, such as to subtract red packet with configuration is vertical, it is directly pleased according to its mood with when user carries out delivery operation
The height of happy degree carries out expense deduction and exemption at random, for example, can be when the degree of being in a cheerful frame of mind of user be higher, random arrangement is larger
The vertical of amount subtracts red packet, and when the degree of being in a cheerful frame of mind of user is lower, random arrangement subtracts red packet compared with the vertical of small-amount, further
Ground can set up special smile pay day based on this so that with user interact more have temperature while, assist in use
Family keeps good mood at any time and user is attracted to consume again;By being sought for user configuration and the matched commodity of its degree of being in a cheerful frame of mind
Sell information, for example, may include discount coupon, completely return certificate, different industry certificate and material benefit price markup purchase on a barter basis information, in member's action message
At least one, to attract user to be consumed again.
Optionally, in the method provided by the embodiments of the present application based on recognition of face, can also include the following steps:
Information corresponding with degree of being in a cheerful frame of mind include deduction and exemption information in the case where, according to deduction and exemption information, execute currently to
The delivery operation of completion.
In the embodiment of the present application, when user businessman's consumer need carry out mobile payment when, above-mentioned target can be based on
After facial image passes through the authentication of user, it is done directly corresponding delivery operation, in this way, by by easily obtain and energy
It is enough in the facial image of precise Identification personal identification, applied to the subscriber authentication link during mobile payment, not only
It can guarantee the agility of mobile payment, the safety in utilization of mobile payment can also be improved;That is, user at any time can be with
Mobile payment is carried out by brush face, can so be gone out or the terminals such as mobile phone to avoid due to forgetting to carry the terminal devices such as mobile phone
Equipment not enough power supply, loss etc. lead to not the phenomenon that normally being paid or occurred loss property.
Meanwhile to be configured with deduction and exemption information corresponding with its degree of being in a cheerful frame of mind, user is being carried out based on people
When the mobile payment of face identification, it will can directly reduce or remit the corresponding deduction and exemption amount of information and deducted from amount to be paid and be settled accounts,
And result may further be reduced or remitted and show user, it is interacted with further between realization and user, in this way, in the mesh of locking user
When marking facial image and being determined as user, by configuring the modes such as corresponding information, carried out in friendly way with user
It greets, the entertainment and interest during mobile payment can be increased, so that the mobile payment process based on recognition of face
Become the operating experience for more added with temperature, achieving the purpose that be promoted user's progress mobile payment, and then more use can be attracted
Family select the mobile payment mode based on recognition of face, and can be saved while improving payment processing efficiency businessman's manpower at
This, for businessman bring more increments and can flexible operating space.
Further, above-mentioned according to deduction and exemption information, the step of executing current delivery operation to be done, can specifically it pass through
Following specific embodiment is realized:
The corresponding payment limit of acquisition degree of being in a cheerful frame of mind;
In the case where the corresponding amount to be paid of delivery operation is less than or equal to payment limit, according to deduction and exemption information, execute
Delivery operation.
It is appreciated that assisting in user by the way that corresponding payment limit is respectively set for different degree of being in a cheerful frame of mind
Reasonable and reason consumption view is established, to promote user experience, specifically, if the current delivery operation to be done of user is corresponding
Amount to be paid in the payment limit, can directly execute based on deduction and exemption information delivery operation of withholing, and if user wait pay
When amount exceeds the payment limit, it can suitably remind customer consumption amount has reached how many, and user is asked to be confirmed whether to continue to prop up
Consumption is paid, while helping that user is reminded to examine the article whether chosen of thinking closely to be necessity, that reduces impulsion consumption can
Can, to carry out communication that have temperature, benign with user.
It should be noted that not including that deduction and exemption information etc. is preferential with the matched information of human face expression for user configuration
In the case of, current delivery operation to be done can be executed directly when passing through based on recognition of face to the authentication of user.
Optionally, in the method provided by the embodiments of the present application based on recognition of face, above-mentioned letter corresponding with human face expression
Breath further includes information corresponding with target date, and target date includes: at least one of user's birthday and festivals or holidays.
It is appreciated that for user configuration and the corresponding information of human face expression can also include letter corresponding with target date
Breath can be at least that user configuration meets target date corresponding atmosphere on the special date such as user's birthday, red-letter day, holiday
Information, in order to carry out friendly interact with user based on relevant information.
It is further alternative, in the method provided by the embodiments of the present application based on recognition of face, above-mentioned and target date pair
The information answered include: in birthday greeting language, festivals or holidays greeting, luck tendency information, commodity favor information and Weather information at least
One.In this way, family can be used when carrying out recognition of face, the spies such as birthday, the festivals or holidays from relevant device can be experienced
The blessing on other date is greeted, and realizing has interacting for temperature with equipment room, brings better experience to user, attracts more use
The dynamic selection of householder carries out the operation such as paying using the equipment;Facilitate to make user in the generation for carrying out target facial image simultaneously
When, the expression laughed at is remained naturally.
It should be noted that matching when the date that user carries out face recognition operation is not above-mentioned target date for user
Set it is same as the matched information of human face expression may include luck tendency information, Weather information, daily greeting, commodity favor information,
The contents such as new information on commodity;For example can be simple greeting: " you smile today? ", " good morning!", " afternoon
It is good!" etc., it can also be configured the case where specific businessman corresponding according to delivery operation.
Optionally, above-mentioned information corresponding with target date can also include: the template at recognition of face interface, in vision
Sense organ level makes user is more intuitive to experience warm atmosphere, promotes user experience.
Optionally, in the method provided by the embodiments of the present application based on recognition of face, above-mentioned steps S107 can be by such as
Lower specific embodiment is realized:
If determining that user is the member for being currently located businessman based on target facial image, for user configuration and human face expression
Corresponding information.
It is appreciated that the base of stored user can be transferred when based on target facial image locking user for me
This information, such as member's identification information, to judge whether user is the current corresponding businessman member of delivery operation to be done, when
It, can be for user configuration and face table when determining that user is the member for being currently located businessman according to the target facial image of user
Member's action message is set when the corresponding information of feelings, in order between realization and user have temperature, it is benign when interacting, be
User provides the relevant service of more members, further promotes user experience.
Optionally, above-mentioned member's action message includes: the third of businessman member's action message and offer mobile payment service
At least one of member's action message of side.
It is appreciated that when determining user is the member for being currently located businessman, may be implemented businessman membership management system and
The information sharing of the third-party membership management system of mobile payment service is provided, synthesis provides more convenient, thoughtful for user
Membership service;Wherein, the content of member's action message may include member integrate relevant information, the preferential relevant information of commodity,
New commodity listings etc..
Optionally, if above-mentioned determine that user is the member for being currently located businessman based on target facial image, match for user
The step of setting information corresponding with human face expression can be realized by following specific embodiment:
Obtain the consumer behavior portrait of user;
It is drawn a portrait based on consumer behavior, is user configuration information corresponding with human face expression.
It is appreciated that carrying out the consumption for the user that the processing such as big data analysis obtain by the history consumption information to user
Behavior portrait, may include the information labels such as the essential information label, such as age, size of user, and including user
The information labels such as hobby, habit, the frequency consumed, with based on to user comprehensive consumer behavior portrait, to user into
Row accurately recommend by marketing, meets the actual consumption demand of user.
Optionally, in the method provided by the embodiments of the present application based on recognition of face, can also include the following steps:
If determining user not based on target facial image is the member for being currently located businessman, member registration is pushed to user
Prompt information.
It is appreciated that can choose when determining user not is the member for being currently located businessman and provide shifting for user configuration
Third-party member's action message of dynamic payment services can also push the member registration prompt information of businessman for user, can be with
Recommended information, registration access information including the enjoyable service of businessman member etc., in order to which user quickly understands businessman member
Basic content, with reference to whether select carry out businessman member registration service, and selection carry out member registration when, direct basis
Registration access information enters registration channel.
Optionally, in the method provided by the embodiments of the present application based on recognition of face, above-mentioned steps S101 specifically be can wrap
Include following steps:
Acquire the facial image of user;
U.S. face processing is carried out to facial image, obtains target facial image.
It is appreciated that enabling user that can have real when " looking in the mirror " by providing the face service of facial image U.S.
When see the fine experience of oneself, help to bring good mood for user.
Specifically, specifically can realize above-mentioned step by being arranged in businessman at least with the equipment of image collecting function
To the acquisition of the target facial image of user in rapid S101, for example POS (Point Of Sales, the sale of businessman can be passed through
Point) camera, the camera being arranged in brush face payment product " dragonfly ", the camera that is arranged on advertisement screen that are arranged on machine screen
Deng acquisition facial image;Further, it can also will be stated by the equipment corresponding with the human face expression of user in step S107
Information intuitively show user if necessary, for example above-mentioned blessing language, the goods marketing information for being pushed to user, commodity are excellent
Favour information etc. is presented specifically, can take various forms, for example, such as voice broadcast, static text and/or figure
At least one of picture, dynamic text and/or picture, by information corresponding with the human face expression of user with more intuitive
Form shows user, obtains convenient for user, perception.
The scheme provided by the embodiments of the present application based on recognition of face is specifically described below with reference to Fig. 2.
It is well known that as public life, such as brush of entering gradually are come into the various services with brush face identification function
Face, shopping brush face, by bus brush face etc., so that face becomes one of passes for access of user, brush face pays future can be raw as people
Foundation living, closer to the life of ordinary populace.Simultaneously, it is contemplated that the various intelligent Services such as brush face pair are to people's
Life bring it is convenient and efficiently service, feeling of freshness etc. whiles, but also it is interpersonal interaction change it is less, therefore,
High-tech intelligent Service is set to become more have temperature, the experience that can have more brought becomes urgent need.
Referring to Fig. 2, it is illustrated for the third party of mobile payment service of brush shape of face formula is provided and is Alipay, such as
User does shopping in businessmans such as garment body shop, cosmetology mechanism, multi-purpose market, big restaurant chain stores or receiving service terminates
When being paid, the form that can be paid using brush face, i.e., before device side of the subscriber station in brush face pair, the brush face UI of aligning equipment
(User Interface, user interface) adopts face frame, to carry out the acquisition of facial image.Above equipment is collecting face figure
As after, U.S. face can be carried out to it and handles to obtain target facial image, and table can be carried out to user based on target facial image
Feelings identification, gender identification and age identification etc..
Wherein, U.S. face processing is carried out by facial image to user, it, can be with using U.S. face as the infrastructure service of brush face pair
So that user is equal to and is being looked in the mirror during brush face is paid, and can see fine oneself " mirror " is inner always, to make
User is ready " looking in the mirror ", has a mind to the mobile payment mode for actively selecting brush face to pay;In this way, can then promote setting for brush face pair
Standby extensive use, to save the human cost of businessman.
When target facial image of the equipment based on user, when determining that user is he or she, it can be done directly efficiently
Delivery operation needs not move through and opens terminal device progress barcode scanning used by a user or provide the sequence of operations such as payment code, leads to
Mobile payment can be quickly completed by crossing simple brush face, and face is as the human body biological characteristics that can be used for distinguishing different people
One of, it is ensured that the safety of mobile payment.Meanwhile when determining user is he or she, member's search engine can be passed through
Judge the user whether be the businessman member.If so, can be by ant member (i.e. Alipay member) system and businessman's meeting
Member's system is got through, and accomplishes to share in member's system, such as shared membership information etc.;If it is not, then can be by equipment to user
The member registration service of businessman is pushed, for example provides the related essential information such as member registration channel and member registration process, when
So, user both can choose and be registered as businessman member, can also ignore member registration push.It is possible to further be based on
The specific membership of user sketches the contours of the consumer behavior of user in conjunction with Alipay and/or the existing membership promotion platform of businessman
Portrait, wherein the consumer behavior portrait of user can cover the user basic informations such as age, the gender of user and buy article
Like, be accustomed to, the action trails such as the frequency, to obtain accurately marketing message, page presentation will be marketed to using in the equipment
The precision marketing to member is realized at family, i.e. user can both enjoy the general marketing activity resource of Alipay, can also enjoy businessman certainly
Configuration activities.
Further, due to the target facial image of user, the identification of human face expression can be carried out to user, therefore,
When obtaining the consumer behavior corresponding marketing message of portrait with user, it can be configured by the human face expression recognized corresponding
Marketing activity.
For example, smiling, it is a kind of fine to represent, then when recognizing smile expression, obtains the user for carrying out brush face pair
The member's integral taken is double.That is, when the equipment for carrying out Alipay brush face pair can be when user carries out smile brush face
It waits to user with positive response, greets in friendly way with user, can give user a kind of warm feeling, make brush face
Paying becomes more have temperature." today, you smiled? " further, can be made accordingly, and the world is combined to smile on May day 8,
Make the activity of exclusive day that smile brush face is paid, in addition to giving member's integral, can also provide when user, which carries out smile brush face, to pay
Random red packet is vertical subtract it is preferential, specifically, then random red packet is vertical subtracts the amount of money if the degree of being in a cheerful frame of mind of user is higher when smiling
It can be more accordingly.
Further, in addition to above-mentioned marketing activity information, certificate, different industry certificate, weather today can also completely be returned for user configuration
Etc. contents, and combine user's birthday, festivals or holidays etc., to user show birthday greeting, festivals or holidays blessing and corresponding brush face pay
Brush face is paid and forges into whole scene application by UI template etc..It is not only easily in this way, Alipay brush face can be made to pay, moreover it is possible to allow
User generates pleasant mood, that is to say, that makes brush face Fu Gengyou temperature, the equipment for paying brush face more has temperature, can not only
It is convenient to bring to people, moreover it is possible to increase more entertainments and interest, " magic power " more crossed by giving mirror makes user exist
When " looking in the mirror " carries out brush face pair, experience more fine;Meanwhile accurate battalion can be done to the member that brush face is paid is carried out
Pin, and more users can be attracted actively to consume in the businessman for the equipment paid with brush face.
From the foregoing, it will be observed that being considered based on the characteristic that brush face itself carries, that is, have any different in the sensitive ingredients of barcode scanning, by giving
Equipment this face " mirror " more magic that brush face is paid, U.S. face, smile, color, etc., have user just in brush face pleasant
Mood brings some small and fine changes to people's life.In addition, the precision marketing based on brush face member, in conjunction with businessman
Or the existing membership promotion system of Alipay, the consumer behavior track of user is sketched the contours of, data are got through, is allowing the trade company can
While efficiently gathering, more comprehensively three-dimensional membership promotion function, such as member's Stored Value, discount coupon can be provided for user
Discount, accumulated point exchanging, recruit draw new etc., the closed loop of formation " payment+marketing ".As it can be seen that the embodiment of the present application, pays certainly in brush face
The mode of more hommizations that increases is helped in the mode of cash register, and combines membership promotion mode, the equipment that brush face can be made to pay
Businessman's human cost can be saved in terms of being not only embodied in efficiency, can also bring the valence for promoting user experience and businessman's marketing
Value, brought to businessman can more rise in value and can flexible operating space, power-assisted businessman manage, promoted user experience.
In addition, when determining user for me based on recognition of face, for example, can be used market setting member can screen
The authentication based on recognition of face is carried out, and after this authentication, does not enter delivery operation process, but according to the consumption row of user
For portrait, in conjunction with user's expression information to user's Recommendations, food and drink or various related favor informations, wherein known based on face
The favor information that do not get can be checked and write off when consumption terminates checkout, to allow brush face more to have temperature, while can solve businessman
The problem of with consumption.
The embodiment of the present application also provides a kind of device based on recognition of face, and shown in Figure 3, which can specifically wrap
It includes:
Module 301 is obtained, for obtaining the target facial image of user;
Authentication module 303 carries out authentication to user for being based on target facial image;
Identification module 305, for the face table that in the case where authentication passes through, identification target facial image includes
Feelings;
Configuration module 307, for being user configuration information corresponding with human face expression.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, human face expression includes the expression laughed at;
Wherein, above-mentioned configuration module 307, specifically can be used for:
Based on the expression laughed at, the degree of being in a cheerful frame of mind of user is assessed;
For user configuration information corresponding with degree of being in a cheerful frame of mind.
Preferably, above-mentioned corresponding with degree of being in a cheerful frame of mind in the device provided by the embodiments of the present application based on recognition of face
Information includes: pleasant degree score, mood blessing language, deduction and exemption at least one of information and goods marketing information.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, can also include:
Payment module, for being believed according to deduction and exemption in the case where information corresponding with degree of being in a cheerful frame of mind includes deduction and exemption information
Breath executes current delivery operation to be done.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned payment module can specifically be used
In:
The corresponding payment limit of acquisition degree of being in a cheerful frame of mind;
In the case where the corresponding amount to be paid of delivery operation is less than or equal to payment limit, according to deduction and exemption information, execute
Delivery operation.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned letter corresponding with human face expression
Breath further includes information corresponding with target date, and target date includes: at least one of user's birthday and festivals or holidays.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned letter corresponding with target date
Breath includes: at least one of birthday greeting language, festivals or holidays greeting, luck tendency information, commodity favor information and Weather information.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned configuration module 307 specifically may be used
To be used for:
If determining that user is the member for being currently located businessman based on target facial image, for user configuration and human face expression
Corresponding information.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned configuration module 307 specifically may be used
To include:
Acquisition submodule, the consumer behavior for obtaining user are drawn a portrait;
Submodule is configured, is user configuration information corresponding with human face expression for being drawn a portrait based on consumer behavior.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, can also include:
Pushing module, for the case where to determine user not be the member for being currently located businessman based on target facial image
Under, member registration prompt information is pushed to user.
Preferably, in the device provided by the embodiments of the present application based on recognition of face, above-mentioned acquisition module 301 specifically may be used
To be used for:
Acquire the facial image of user;
U.S. face processing is carried out to facial image, obtains target facial image.
In the embodiment of the present application, when user enters businessman, the target facial image of user is obtained, and be based on the mesh
Mark facial image the authentication of user is passed through after, to generate the target facial image when user possessed by human face expression into
Row identification, to be based on the human face expression as the corresponding information of user configuration.In this way, user is locked by facial image, it can be with base
Quick in face recognition technology, accurately and efficiently determining user identity validity, and then can be provided for user efficiently, just
Prompt and intelligentized service, while being its configuration information based on the current human face expression of user, that is, identifying user for me
In the case where, interacting for close friend is carried out with user, to cater to the mood of user or adjust the mood of improvement user, that is to say, that
By exchange and interdynamic link effective between setting and user, equipment is made to become more to increase entertainment and interest added with temperature, with
Achieve the purpose that be promoted user experience, and can guarantee the high efficiency of businessman's service provided, convenience and intelligentized same
When, to businessman bring more increments and can flexible operating space.
In addition, for above-mentioned apparatus embodiment, since it is substantially similar to method implementation, so description
Fairly simple, related place illustrates referring to the part of method implementation.Moreover, it should be noted that the application's
In all parts of device, logical partitioning is carried out to component therein according to the function that it to be realized, still, the application is not
It is limited to this, can according to need and all parts are repartitioned or are combined.
Fig. 4 is the structural schematic diagram of one embodiment electronic equipment of the application.Referring to FIG. 4, in hardware view, the electricity
Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
The device based on recognition of face is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following behaviour
Make:
Obtain the target facial image of user;
Based on target facial image, authentication is carried out to user;
In the case where authentication passes through, the human face expression that target facial image includes is identified;
For user configuration information corresponding with human face expression.
In the embodiment of the present application, when user enters businessman, the target facial image of user is obtained, and be based on the mesh
Mark facial image the authentication of user is passed through after, to generate the target facial image when user possessed by human face expression into
Row identification, to be based on the human face expression as the corresponding information of user configuration.In this way, user is locked by facial image, it can be with base
Quick in face recognition technology, accurately and efficiently determining user identity validity, and then can be provided for user efficiently, just
Prompt and intelligentized service, while being its configuration information based on the current human face expression of user, that is, identifying user for me
In the case where, interacting for close friend is carried out with user, to cater to the mood of user or adjust the mood of improvement user, that is to say, that
By exchange and interdynamic link effective between setting and user, equipment is made to become more to increase entertainment and interest added with temperature, with
Achieve the purpose that be promoted user experience, and can guarantee the high efficiency of businessman's service provided, convenience and intelligentized same
When, to businessman bring more increments and can flexible operating space.
The method that the device based on recognition of face disclosed in the above-mentioned embodiment illustrated in fig. 1 such as the application executes can be applied to
In processor, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.?
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor or software form
Instruction is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each
Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place
Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute
At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory,
This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware
The step of method.
The method that the electronic equipment can also carry out the execution of the device in Fig. 1 based on recognition of face, and realize and known based on face
The function of other device embodiment shown in Fig. 1, details are not described herein for the embodiment of the present application.
The embodiment of the present application also proposed a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, the one or more program include instruction, which holds when by the electronic equipment including multiple application programs
When row, the electronic equipment can be made to execute the method that the device in embodiment illustrated in fig. 1 based on recognition of face executes, and specifically use
In execution:
Obtain the target facial image of user;
Based on target facial image, authentication is carried out to user;
In the case where authentication passes through, the human face expression that target facial image includes is identified;
For user configuration information corresponding with human face expression.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.