CN110310419A - A kind of intelligence based on recognition of face sells cigarette method - Google Patents

A kind of intelligence based on recognition of face sells cigarette method Download PDF

Info

Publication number
CN110310419A
CN110310419A CN201910494062.5A CN201910494062A CN110310419A CN 110310419 A CN110310419 A CN 110310419A CN 201910494062 A CN201910494062 A CN 201910494062A CN 110310419 A CN110310419 A CN 110310419A
Authority
CN
China
Prior art keywords
face
user
recognition
self
cigarette
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.)
Pending
Application number
CN201910494062.5A
Other languages
Chinese (zh)
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.)
Guangzhou Creation Technology Co Ltd
Original Assignee
Guangzhou Creation Technology 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 Guangzhou Creation Technology Co Ltd filed Critical Guangzhou Creation Technology Co Ltd
Priority to CN201910494062.5A priority Critical patent/CN110310419A/en
Publication of CN110310419A publication Critical patent/CN110310419A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/206Point-of-sale [POS] network systems comprising security or operator identification provisions, e.g. password entry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/64Three-dimensional objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines

Abstract

The invention discloses a kind of intelligence based on recognition of face to sell cigarette method, specific steps are as follows: S1, user select cigarette type and quantity on self-service cigarette selling machine;S2, user click selection brush face payment;S3, real human face information is obtained by the recognition of face 3D structured light binocular camera on self-service cigarette selling machine;S4, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient and deduct fees;S5, self-service cigarette selling machine pop up warning message, then execute step S6;S6, self-service cigarette selling machine terminate and exit shopping program.The present invention promotes the Accuracy and high efficiency of recognition of face by light 3D structured light binocular camera, and it is got through using recognition of face and public security system, precise and high efficiency obtains age of user based on face, and it is integrated with the payment of wechat, Alipay and the brush of Unionpay face, to more efficiently improve primary brush face, identification and movement of deducting fees are completed, realizes noninductive payment, quickly sells cigarette purpose based on recognition of face to reach.

Description

A kind of intelligence based on recognition of face sells cigarette method
Technical field
The present invention relates to intelligence to sell cigarette method and technology field, more specifically to a kind of intelligence based on recognition of face Sell cigarette method.
Background technique
Cigarette-vending machine is the machine that cigarette can be paid automatically according to the coin of investment, and cigarette-vending machine is the normal of business automation With equipment, it is not limited by time, place, can be saved manpower, be facilitated transaction.With the development of science and technology, human cost is not Disconnected to increase, the application of all kinds of automatic vending equipment without human attendance is also just at a kind of trend.But common automatic vending Equipment cannot identify the age of customer, because of the requirement of laws and regulations, cannot sell cigarette to minor, this is also fresh in the market There is the reason of automatic selling cigarette equipment.A kind of patent of invention CN103400446A " cigarette-vending machine identification customer adult identification system And method ", provide the method for identification adult customer a kind of.But this method needs to carry out building for IC card hair fastener and network system If then customer real name application authentication and is registered and supplemented with money in its network with IC card again, this method not only build by system If investment is big, and client operating is cumbersome.In addition, the system can not identify that minor falsely uses other people IC card and carries out purchase cigarette The case where operation.
Summary of the invention
In view of this, the present invention provides a kind of intelligence based on recognition of face to sell cigarette method, solve in the prior art certainly Dynamic vending machine can not real-time judge identification adult customer identification defect.
To achieve the above object, the present invention provides the following technical scheme that
A kind of intelligence based on recognition of face sells cigarette method, which comprises the following steps:
S1, user select cigarette type and quantity on self-service cigarette selling machine;
S2, user click selection brush face payment according to the payment information on self-service cigarette selling machine;
S3, real human face information, identification are obtained by the recognition of face 3D structured light binocular camera on self-service cigarette selling machine User out inquires age of user and judges whether user grows up, if adult human user, then follow the steps S4 according to User ID;If S5 is thened follow the steps for not adult human user;
S4, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient;If the wechat or branch of user It is sufficient to pay precious account balance, then self-service cigarette selling machine deducts fund automatically and goes out the cigarette type that user selects with quantity Goods;If the wechat or Alipay account remaining sum of user are inadequate, self-service cigarette selling machine will execute step S6;
S5, self-service cigarette selling machine pop up warning message, then execute step S6;
S6, self-service cigarette selling machine terminate and exit shopping program.
As a preferred solution of the present invention, the particular content of step S1 are as follows: user clicks self-service cigarette selling machine screen, according to The cigarette type that self-service cigarette selling machine screen is shown is selected, and needs number of cigarettes required for selecting according to actual purchase, Finally click confirmation purchase information.
As a preferred solution of the present invention, the particular content of step S2 are as follows: the perfume (or spice) that self-service cigarette selling machine is selected according to user Cigarette type and quantity are calculated to obtain payment information, are then presented to the user payment information, and user, which checks, confirms self-service sell Payment information on smoke machine, and click selection brush face payment.
As a preferred solution of the present invention, the particular content of step S3 are as follows: the recognition of face on S31, self-service cigarette selling machine 3D structured light binocular camera obtains real human face information, user is identified, according to User ID;S32, self-service cigarette selling machine are according to true The database of real face information inquiry public security system or associated reservoir age of user information system, and according to real human face information Allot corresponding subscriber identity information;S33, judge whether user grows up according to subscriber identity information, if adult human user, then Execute step S4;S5 is thened follow the steps if not adult human user.
As a preferred solution of the present invention, the particular content of step S4 are as follows: S41, user are first to wechat account or payment Precious account carries out real-name authentication, determines that the wechat account information of user or Alipay account information and real human face information keep one It causes;S42, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient;If the wechat or payment of S43, family Precious account balance is sufficient, then self-service cigarette selling machine deducts fund automatically and the cigarette type of user's selection and quantity are carried out shipment; Step S6 will be executed after shipment success;Shipment is unsuccessful will will pop up shipment failure cause and automatic trigger reimbursement process after hold Row step S6;If S44, the wechat of user or Alipay account remaining sum are inadequate, self-service cigarette selling machine will will pop up payment failure Step S6 is executed after the page.
As a preferred solution of the present invention, in step s3, the recognition of face 3D structured light binocular on self-service cigarette selling machine is taken the photograph As head by face projection have uniform beam, according to the reflected beam information of face carry out calculate identification obtain user Real human face information.
As a preferred solution of the present invention, in step s3, the recognition of face 3D structured light binocular on self-service cigarette selling machine is taken the photograph As the face recognition process of head are as follows: S311, first constantly acquire face information, obtain effective facial image, while acquiring light letter Breath obtains illuminance size Lt at this time and projects the light with certain structure feature specifically by near infrared laser It is taken on face, then is acquired by special infrared camera, then changed the variation of this structure by arithmetic element It is counted as depth information, facial image tomograph is obtained with this;The facial image that S312, basis are got, adds illumination, goes Illumination or histogram equalization processing extract people further according to LBP local binary patterns later by face normalization at unified size Face feature Fx;S313, Fx is compared with the feature of N number of personnel in face characteristic library, aspect ratio clock synchronization, the multiple features of preparation Identifying schemes use Euclidean distance to take comparison apart from the smallest feature of score as candidate's template each scheme, record score, ID, face template information;The candidate's template identified simultaneously to each feature identifying schemes is mutually verified, by sentencing Whether disconnected candidate's template is same people therefore, it is determined that identifying whether to pass through, if passed through, this end of identification;If do not led to It crosses, is then transferred to step S314;S314, the identity information for reading identified person, especially face characteristic Ex (Ex1, Ex2, Ex3 ... ... Exm), Fx and Ex (Ex1, Ex2, Ex3 ... ... Exm) are subjected to aspect ratio pair, are compared using Euclidean distance, It takes apart from score minimum value, when minimum value is less than specified face recognition threshold Ty, recognition of face passes through, otherwise refuses, and wherein m is The quantity of the skin detection saved when registration;S315, the threshold value that recognition of face passes through is reduced, carries out supplement recognition of face, Fx is compared with the feature of N number of personnel in face characteristic library, and whether is passed through according to new threshold decision recognition of face.Such as Fruit by specifying recognition of face, does not then resurvey facial image and is identified next time;If passed through, it is transferred to step S316;S316, judge whether to update face template in step S316, if do not updated, resurvey facial image progress It identifies next time, if updated, enters step S317;S317, face template is updated in step S317.
As a preferred solution of the present invention, the update of the face template of step S317 includes: S3171, obtains by others Information obtains the personal information, such as ID, name, illuminance Lt1 and template Ex (Ex1, Ex2, Ex3 ... ... from database Exm);S3172, to face template carry out illuminance judgement, Lt is compared with Lt1, when abs (Lt-Lt1)==0;Or When changing minimum threshold LTmin greater than illuminance, and being less than illuminance variation max-thresholds LTmax, indicate under this illuminance The face characteristic Fx of acquisition can be as the alternate template of the personnel, therefore enters face template renewal;Otherwise, it enters step S3173 carries out face characteristic judgement;S3173, in step S3173, will identify successful face characteristic Fx with from database The face characteristic Ex (Ex1, Ex2, Ex3 ... ... Exm) of taking-up is compared using Euclidean distance, takes comparison apart from minimum value, when This numerical value be greater than face characteristic change minimum threshold FTmin, and be less than face characteristic variation max-thresholds FTmax when, indicate Fx can be as the alternate template of the personnel, therefore enters face template and update, and otherwise, terminates the process.
As a preferred solution of the present invention, in step S3174, whether it is updated to identified person's prompt, Yong Huke It is selected according to the actual situation;If it is, entering step S3175, face template update is carried out, the people will be specifically retained M-1 feature before member replaces the last one in feature templates with Fx, saves database and updates caching, if it is not, then Terminate.
The invention has the benefit that identifying user identity by user's face information, then stored up by calling and obtaining user information The date of birth of deposit data library information acquisition customer, and then identify whether customer grows up, it does not need operator and in addition issues IC card, It does not need customer and carries out real-name authentication operation, reduce implementation cost and user's operation is easy, solve in the prior art certainly yet Dynamic vending machine can not real-time judge identification adult customer identification defect;And the present invention is mentioned by light 3D structured light binocular camera The Accuracy and high efficiency of recognition of face is risen, and is got through using recognition of face and public security system, precise and high efficiency is obtained based on face Age of user is taken, and integrated with the payment of wechat, Alipay and the brush of Unionpay face, to more efficiently improve primary brush Face completes identification and movement of deducting fees, realizes noninductive payment, quickly sells cigarette purpose based on recognition of face to reach.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, is implemented with the present invention Example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the system control block figure of the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of intelligence based on recognition of face to sell cigarette method.
As shown in Figure 1, the embodiment of the invention discloses a kind of intelligence based on recognition of face to sell cigarette method, including following step It is rapid:
S1, user select cigarette type and quantity on self-service cigarette selling machine;The particular content of step S1 are as follows: user clicks Self-service cigarette selling machine screen is selected according to the cigarette type that self-service cigarette selling machine screen is shown, and needs to select according to actual purchase Required number of cigarettes is selected, confirmation purchase information is finally clicked.
S2, user click selection brush face payment according to the payment information on self-service cigarette selling machine;The particular content of step S2 Are as follows: the cigarette type and quantity that self-service cigarette selling machine is selected according to user are calculated to obtain payment information, then by payment information It is presented to the user, user checks the payment information confirmed on self-service cigarette selling machine, and clicks selection brush face payment.
S3, real human face information, identification are obtained by the recognition of face 3D structured light binocular camera on self-service cigarette selling machine User out inquires age of user and judges whether user grows up, if adult human user, then follow the steps S4 according to User ID;If S5 is thened follow the steps for not adult human user;The particular content of step S3 are as follows: the recognition of face 3D knot on S31, self-service cigarette selling machine Structure light binocular camera obtains real human face information, user is identified, according to User ID;S32, self-service cigarette selling machine are according to true people Face information inquires the database of public security system or associated reservoir age of user information system, and is gone out according to real human face information matches Corresponding subscriber identity information;S33, judge whether user grows up according to subscriber identity information, if adult human user, then execute Step S4;S5 is thened follow the steps if not adult human user.In step s3, the recognition of face 3D structure light on self-service cigarette selling machine is double Mesh camera carries out calculating identification according to the reflected beam information of face and obtains by having uniform beam to face projection User's real human face information.
S4, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient;If the wechat or branch of user It is sufficient to pay precious account balance, then self-service cigarette selling machine deducts fund automatically and goes out the cigarette type that user selects with quantity Goods;If the wechat or Alipay account remaining sum of user are inadequate, self-service cigarette selling machine will execute step S6;The tool of step S4 Hold in vivo are as follows: S41, user first carry out real-name authentication to wechat account or Alipay account, determine the wechat account information of user Or Alipay account information is consistent with real human face information;S42, self-service cigarette selling machine judge the wechat or Alipay account of user Whether family remaining sum is sufficient;If S43, the wechat at family or Alipay account remaining sum are sufficient, self-service cigarette selling machine deducts fund simultaneously automatically The cigarette type of user's selection and quantity are subjected to shipment;Step S6 will be executed after shipment success;Shipment is unsuccessful will bullet Step S6 is executed after shipment failure cause and automatic trigger reimbursement process;If S44, the wechat of user or Alipay account remaining sum Inadequate, then self-service cigarette selling machine will execute step S6 after will pop up payment failure page.
S5, self-service cigarette selling machine pop up warning message, then execute step S6;
S6, self-service cigarette selling machine terminate and exit shopping program.
More specifically, in step s3, the face of the recognition of face 3D structured light binocular camera on self-service cigarette selling machine is known Other process are as follows: S311, first constantly acquire face information, obtain effective facial image, while acquiring light information, obtain this time Light with certain structure feature is projected and is taken on face specifically by near infrared laser by illumination size Lt, It is acquired again by special infrared camera, the variation of this structure is then converted by depth information by arithmetic element, Facial image tomograph is obtained with this;The facial image that S312, basis are got, adds illumination, removes illumination or histogram Figure equilibrium treatment extracts face characteristic Fx further according to LBP local binary patterns later by face normalization at unified size; S313, Fx is compared with the feature of N number of personnel in face characteristic library, aspect ratio clock synchronization, the multiple feature identifying schemes of preparation, Use Euclidean distance that comparison is taken, as candidate's template, to record score, ID, face mould apart from the smallest feature of score each scheme Plate information;The candidate's template identified simultaneously to each feature identifying schemes is mutually verified, by judging candidate Whether template is same people therefore, it is determined that identifying whether to pass through, if passed through, this end of identification;If do not passed through, it is transferred to Step S314;S314, the identity information for reading identified person, especially face characteristic Ex (Ex1, Ex2, Ex3 ... ... Exm) will Fx and Ex (Ex1, Ex2, Ex3 ... ... Exm) carry out aspect ratio pair, are compared using Euclidean distance, take apart from score minimum Value, when minimum value is less than specified face recognition threshold Ty, recognition of face passes through, otherwise refuses.Wherein m is the people saved when registration The quantity of face feature templates.S315, the threshold value that recognition of face passes through is reduced, supplement recognition of face is carried out, by Fx and face characteristic Whether the feature of N number of personnel is compared in library, and passed through according to new threshold decision recognition of face.If not passing through nominator Face identification, then resurvey facial image and identified next time;If passed through, it is transferred to step S316.In step S316 Judge whether that update face template resurveys facial image and identified next time if do not updated.If updated, S317 is entered step, updates face template in step S317.
The update of the face template of step S317 includes: step S3171, is obtained by others' information.Specifically, from data The personal information, such as ID, name, illuminance Lt1 and template Ex (Ex1, Ex2, Ex3 ... ... Exm) are obtained in library.Step S3172, illuminance judgement.Specifically, Lt is compared with Lt1, when abs (Lt-Lt1)==0;Or it is greater than illuminance and becomes When changing minimum threshold LTmin, and being less than illuminance variation max-thresholds LTmax, the face obtained under this illuminance spy is indicated Levying Fx can be as the alternate template of the personnel, therefore enters face template renewal.Otherwise, S3173 is entered step, it is special to carry out face Sign judgement.In step S3173, by identify successful face characteristic Fx with take out from database face characteristic Ex (Ex1, Ex2, Ex3 ... ... Exm) it is compared using Euclidean distance, take comparison apart from minimum value, when this numerical value becomes greater than face characteristic When changing minimum threshold FTmin, and being less than face characteristic variation max-thresholds FTmax, indicate that Fx being capable of replacing as the personnel For template, therefore enters face template and update.Otherwise, terminate the process.Also exist in present embodiment in order to improve hommization Prompt inquiry is carried out before update.Specifically, in step S3174, whether it is updated to identified person's prompt, user can basis Actual conditions are selected.If it is, entering step S3175, face template update is carried out, before specifically retaining the personnel M-1 feature replaces the last one in feature templates with Fx, saves database and updates caching.If it is not, then knot Beam.Face identification method provided by the invention considers illumination factor in extracting feature and identification process, and is handled, Conducive to identification, especially when Global Face recognition failures, specified recognition of face is carried out, carries out reducing threshold value again after being identified by Global Face identification, not only reduces accidentally know in this way, but also improve percent of pass;And it can also be become according to external environment, face characteristic Change automatic replacement template to achieve the purpose that improve efficiency, improve system suitability so that intervening without supernumerary.
Basic principle based on 3D structured light technique in the present invention is that, by near infrared laser, will have certain structure The light of feature, which projects, to be taken on face, then is acquired by special infrared camera.It is this to have certain structure Light can acquire different image phase information because of the different depth region on face shot, then will by arithmetic element The variation of this structure is converted into depth information, obtains very accurately tomograph with this;
The course of work of the invention are as follows: the present invention identifies user identity by user's face information, then passes through calling and obtaining user Information stores the date of birth that database information obtains customer, and then identifies whether customer grows up, and does not need operator and in addition sends out Row IC card does not need customer yet and carries out real-name authentication operation, reduces implementation cost and user's operation is easy, solve existing skill In art automatic vending machine can not real-time judge identification adult customer identification defect;And the present invention is taken the photograph by light 3D structured light binocular As head promotes the Accuracy and high efficiency of recognition of face, and got through using recognition of face and public security system, precise and high efficiency based on Face obtains age of user, and integrated with the payment of the brush face of wechat, Alipay, Unionpay, to more efficiently improve primary Brush face completes identification and movement of deducting fees, realizes noninductive payment, quickly sells cigarette purpose based on recognition of face to reach.
The foregoing description of the disclosed embodiments can be realized professional and technical personnel in the field or using originally practical. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments in the case where not departing from this practical spirit or scope.Therefore, this is practical It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of intelligence based on recognition of face sells cigarette method, which comprises the following steps:
S1, user select cigarette type and quantity on self-service cigarette selling machine;
S2, user click selection brush face payment according to the payment information on self-service cigarette selling machine;
S3, real human face information is obtained by the recognition of face 3D structured light binocular camera on self-service cigarette selling machine, identifies use Family inquires age of user and judges whether user grows up, if adult human user, then follow the steps S4 according to User ID;If not Adult human user thens follow the steps S5;
S4, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient;If the wechat or Alipay of user Account balance is sufficient, then self-service cigarette selling machine deducts fund automatically and the cigarette type of user's selection and quantity are carried out shipment;If The wechat or Alipay account remaining sum of user is inadequate, then self-service cigarette selling machine will execute step S6;
S5, self-service cigarette selling machine pop up warning message, then execute step S6;
S6, self-service cigarette selling machine terminate and exit shopping program.
2. a kind of intelligence based on recognition of face according to claim 1 sells cigarette method, which is characterized in that the step S1 Particular content are as follows: user clicks self-service cigarette selling machine screen, is selected according to the cigarette type that self-service cigarette selling machine screen is shown, And number of cigarettes required for selecting is needed according to actual purchase, finally click confirmation purchase information.
3. a kind of intelligence based on recognition of face according to claim 1 sells cigarette method, which is characterized in that the step S2 Particular content are as follows: the cigarette type and quantity that self-service cigarette selling machine is selected according to user are calculated to obtain payment information, then Payment information is presented to the user, user checks the payment information confirmed on self-service cigarette selling machine, and clicks selection brush face payment.
4. a kind of intelligence based on recognition of face according to claim 1 sells cigarette method, which is characterized in that the step S3 Particular content are as follows:
Recognition of face 3D structured light binocular camera on S31, self-service cigarette selling machine obtains real human face information, identifies user, According to User ID;
S32, self-service cigarette selling machine inquire the number of public security system or associated reservoir age of user information system according to real human face information Go out corresponding subscriber identity information according to library, and according to real human face information matches;
S33, judge whether user grows up according to subscriber identity information, if adult human user, then follow the steps S4;If not growing up User thens follow the steps S5.
5. a kind of intelligence based on recognition of face according to claim 1 sells cigarette method, which is characterized in that the step S4 Particular content are as follows:
S41, user first carry out real-name authentication to wechat account or Alipay account, determine wechat account information or the payment of user Precious account information is consistent with real human face information;
S42, self-service cigarette selling machine judge whether the wechat of user or Alipay account remaining sum are sufficient;
If S43, the wechat at family or Alipay account remaining sum are sufficient, self-service cigarette selling machine deducts fund and automatically by user's selection Cigarette type and quantity carry out shipment;Step S6 will be executed after shipment success;Shipment is unsuccessful will to will pop up shipment failure original Step S6 is executed after cause and automatic trigger reimbursement process;
If S44, the wechat of user or Alipay account remaining sum are inadequate, after self-service cigarette selling machine will will pop up payment failure page Execute step S6.
6. a kind of intelligence based on recognition of face according to claim 1 sells cigarette method, which is characterized in that in step S3 In, the recognition of face 3D structured light binocular camera on self-service cigarette selling machine is by having uniform beam to face projection, according to people The reflected beam information of face carries out calculating identification and obtains user's real human face information.
7. a kind of intelligence based on recognition of face described in any one of -6 claims sells cigarette method according to claim 1, It is characterized in that, in step s3, the face recognition process of the recognition of face 3D structured light binocular camera on self-service cigarette selling machine are as follows:
S311, face information is first constantly acquired, obtains effective facial image, while acquiring light information, obtain illuminance at this time Light with certain structure feature is projected and is taken on face specifically by near infrared laser by size Lt, then by Special infrared camera is acquired, and the variation of this structure is then converted into depth information by arithmetic element, with this To obtain facial image tomograph;
The facial image that S312, basis are got adds illumination, illumination or histogram equalization is gone to handle, later by face normalizing It is melted into unified size, extracts face characteristic Fx further according to LBP local binary patterns;
S313, Fx is compared with the feature of N number of personnel in face characteristic library, aspect ratio clock synchronization, the multiple feature identifications of preparation Scheme uses Euclidean distance to take comparison apart from the smallest feature of score as candidate's template each scheme, record score, ID, Face template information;The candidate's template identified simultaneously to each feature identifying schemes is mutually verified, and judgement is passed through Whether candidate's template is same people therefore, it is determined that identifying whether to pass through, if passed through, this end of identification;If do not passed through, Then it is transferred to step S314;
S314, read identified person identity information, especially face characteristic Ex (Ex1, Ex2, Ex3 ... ... Exm), by Fx with Ex (Ex1, Ex2, Ex3 ... ... Exm) carries out aspect ratio pair, is compared using Euclidean distance, takes apart from score minimum value, when Minimum value is less than specified face recognition threshold Ty, and recognition of face passes through, otherwise refuses, and wherein m is the face spy saved when registration Levy the quantity of template;
S315, the threshold value that recognition of face passes through is reduced, carries out supplement recognition of face, by N number of personnel in Fx and face characteristic library Whether feature is compared, and passed through according to new threshold decision recognition of face.If not by specifying recognition of face, again Acquisition facial image is identified next time;If passed through, it is transferred to step S316;
S316, judge whether that update face template resurveys facial image and carry out down if do not updated in step S316 Primary identification enters step S317 if updated;
S317, face template is updated in step S317.
8. a kind of intelligence based on recognition of face according to claim 7 sells cigarette method, which is characterized in that step S317's The update of face template includes:
S3171, it obtains by others' information, the personal information, such as ID, name, illuminance Lt1 and mould is obtained from database Plate Ex (Ex1, Ex2, Ex3 ... ... Exm);
S3172, to face template carry out illuminance judgement, Lt is compared with Lt1, when abs (Lt-Lt1)==0;Or When changing minimum threshold LTmin greater than illuminance, and being less than illuminance variation max-thresholds LTmax, indicate under this illuminance The face characteristic Fx of acquisition can be as the alternate template of the personnel, therefore enters face template renewal;Otherwise, it enters step S3173 carries out face characteristic judgement;
S3173, in step S3173, will identify successful face characteristic Fx and the face characteristic Ex that takes out from database (Ex1, Ex2, Ex3 ... ... Exm) is compared using Euclidean distance, takes comparison apart from minimum value, when this numerical value is greater than face spy When levying variation minimum threshold FTmin, and being less than face characteristic variation max-thresholds FTmax, indicate that Fx can be used as the personnel Alternate template, therefore enter face template update, otherwise, terminate the process.
9. a kind of intelligence based on recognition of face according to claim 8 sells cigarette method, which is characterized in that in step In S3174, whether it is updated to identified person's prompt, user can select according to the actual situation;If it is, entering step Rapid S3175 carries out face template update, will specifically retain M-1 feature before the personnel, replaced in feature templates with Fx The last one, saves database and updates caching, if it is not, then terminating.
CN201910494062.5A 2019-06-08 2019-06-08 A kind of intelligence based on recognition of face sells cigarette method Pending CN110310419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910494062.5A CN110310419A (en) 2019-06-08 2019-06-08 A kind of intelligence based on recognition of face sells cigarette method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910494062.5A CN110310419A (en) 2019-06-08 2019-06-08 A kind of intelligence based on recognition of face sells cigarette method

Publications (1)

Publication Number Publication Date
CN110310419A true CN110310419A (en) 2019-10-08

Family

ID=68075157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910494062.5A Pending CN110310419A (en) 2019-06-08 2019-06-08 A kind of intelligence based on recognition of face sells cigarette method

Country Status (1)

Country Link
CN (1) CN110310419A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405175A (en) * 2020-03-03 2020-07-10 腾讯科技(深圳)有限公司 Camera control method and device, computer equipment and storage medium
CN112396004A (en) * 2020-11-23 2021-02-23 支付宝(杭州)信息技术有限公司 Method, apparatus and computer-readable storage medium for face recognition
CN114693306A (en) * 2022-04-28 2022-07-01 润芯微科技(江苏)有限公司 Payment early warning method and system suitable for unauthorized user

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405175A (en) * 2020-03-03 2020-07-10 腾讯科技(深圳)有限公司 Camera control method and device, computer equipment and storage medium
CN111405175B (en) * 2020-03-03 2023-09-15 腾讯科技(深圳)有限公司 Camera control method, device, computer equipment and storage medium
CN112396004A (en) * 2020-11-23 2021-02-23 支付宝(杭州)信息技术有限公司 Method, apparatus and computer-readable storage medium for face recognition
CN112396004B (en) * 2020-11-23 2023-06-09 支付宝(杭州)信息技术有限公司 Method, apparatus and computer readable storage medium for face recognition
CN114693306A (en) * 2022-04-28 2022-07-01 润芯微科技(江苏)有限公司 Payment early warning method and system suitable for unauthorized user
CN114693306B (en) * 2022-04-28 2023-04-07 润芯微科技(江苏)有限公司 Payment early warning method and system suitable for unauthorized user

Similar Documents

Publication Publication Date Title
CN105741451B (en) Information processing system and information processing method
CN110310419A (en) A kind of intelligence based on recognition of face sells cigarette method
US20190272546A1 (en) Simultaneous multi-factor authentication systems and methods for payment transactions
CN109345327B (en) Intelligent supplier information management and control platform for improving high-quality service
US10902435B2 (en) Checkout system
JP2004326208A (en) Customer managing system, program for realizing system, and recording medium
WO2015124578A1 (en) System and method for recovering refundable taxes
US20230082046A1 (en) Information processing device, information processing system, information processing method, and program
US20170116602A1 (en) Biometric verification systems and methods for payment transactions
CN110363492A (en) Industry hatching method, system, equipment and storage medium Internet-based
US20200311731A1 (en) Frictionless and unassisted return processing
CN111461875A (en) Multi-scenario staged automatic credit method based on decision engine
US20200258023A1 (en) Systems and methods for accurate image characteristic detection
KR102441562B1 (en) Smart vending machine with AI-based adult authentication function
CN111640268A (en) Intelligent settlement method and system based on dinner plate shape and color
US20220277311A1 (en) A transaction processing system and a transaction method based on facial recognition
US20190325461A1 (en) Sales data processing apparatus, server and method for acquiring attribute information
CN110390509A (en) Industry hatching method, system, equipment and storage medium Internet-based
CN110852714A (en) Salary improvement data management system applied to decoration service platform
JP2023052065A (en) Method and system of safe payment
CN111695907A (en) High-safety face recognition payment method
CN109118251A (en) A kind of food tracing method based on electronic scale
CN207704533U (en) A kind of cigarette-vending machine that can identify adult customer identification
KR102335918B1 (en) Digital signage to sell fashion goods using big data and artificial intelligence algorithm
CN116012085B (en) Automatic identification and recovery system for electronic card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191008