CN109146605A - Information-pushing method and Related product - Google Patents

Information-pushing method and Related product Download PDF

Info

Publication number
CN109146605A
CN109146605A CN201810737297.8A CN201810737297A CN109146605A CN 109146605 A CN109146605 A CN 109146605A CN 201810737297 A CN201810737297 A CN 201810737297A CN 109146605 A CN109146605 A CN 109146605A
Authority
CN
China
Prior art keywords
information
user
image
target
vegetable
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
CN201810737297.8A
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.)
Shenzhen Kemai Technology Co Ltd
Original Assignee
Shenzhen Kemai 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 Shenzhen Kemai Technology Co Ltd filed Critical Shenzhen Kemai Technology Co Ltd
Priority to CN201810737297.8A priority Critical patent/CN109146605A/en
Publication of CN109146605A publication Critical patent/CN109146605A/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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • 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/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • G06V40/173Classification, e.g. identification face re-identification, e.g. recognising unknown faces across different face tracks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Development Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application discloses a kind of information-pushing method and Related product, wherein, this method comprises: receiving the portrait image for the user for being obtained and being sent by camera, recognition of face is carried out to portrait image, obtain the user information of user, determine the corresponding target dish information of user information, and target dish information is pushed into equipment of ordering, so, the user information of user is judged by face recognition technology, it is that user pushes targeted dish information according to the user information of user, reduces customer and order dishes the required time.

Description

Information-pushing method and Related product
Technical field
This application involves internet of things field, and in particular to a kind of information-pushing method and Related product.
Background technique
With the continuous development of science and technology, technology of Internet of things has also obtained development at full speed.With the development of technology of Internet of things, Much about the application of technology of Internet of things also a large amount of appearance.
Currently, much all there is the longer problem of queuing time of having dinner in number dining room, wherein customer is in the dinner party of dining room midpoint It takes some time, causes customer's meal time longer, influence dining room rockover rate, it is, therefore, desirable to provide a kind of reduction is had dinner The method of time.
Summary of the invention
The embodiment of the present application provides a kind of information-pushing method and Related product, can be to use according to the user information of user Family pushes targeted dish information, reduces user and orders dishes the required time.
In a first aspect, the embodiment of the present application provides a kind of information-pushing method, which comprises
Receive the portrait image for the user for being obtained and being sent by camera;
Recognition of face is carried out to the portrait image, obtains the user information of the user;
It determines the corresponding target dish information of the user information, and the target dish information is pushed to order and is set It is standby.
Second aspect, the embodiment of the present application provide a kind of information push-delivery apparatus, and described device includes:
Acquiring unit, for receiving the portrait image for the user for being obtained and being sent by camera;
Recognition unit obtains the user information of the user for carrying out recognition of face to the portrait image;
Determination unit, for determining the corresponding target dish information of the user information;
Push unit, for the target dish information to be pushed to equipment of ordering.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein described computer-readable Storage medium makes computer execute such as the embodiment of the present application first aspect for storing computer program, the computer program Described in some or all of step instruction.
Fourth aspect, the embodiment of the present application provide a kind of computer program product, wherein the computer program product Non-transient computer readable storage medium including storing computer program, the computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one A software installation packet.
Implement the embodiment of the present application, has the following beneficial effects:
As can be seen that the portrait image for the user for being obtained and being sent by camera is received, to portrait in the embodiment of the present application Image carries out recognition of face, obtains the user information of user, determines the corresponding target dish information of user information, and by target dish Product information pushes to equipment of ordering, in this way, judging the user information of user by face recognition technology, is believed according to the user of user Breath is that user pushes targeted dish information, reduces customer and orders dishes the required time.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is a kind of System Network Architecture figure of information-pushing method provided by the embodiments of the present application;
Figure 1B is a kind of embodiment flow diagram of information-pushing method provided by the embodiments of the present application;
Fig. 2 is the embodiment flow diagram of another information-pushing method provided by the embodiments of the present application;
Fig. 3 is the embodiment flow diagram of another information-pushing method provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of information push-delivery apparatus provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of equipment of ordering provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Equipment of ordering involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (user equipment, UE), mobile station (mobile station, MS), terminal device (terminal Device) etc., equipment of ordering for example can for mobile phone, tablet computer, PDA (personal digital assistant, it is a Personal digital assistant), POS (point of sales, point-of-sale terminal), the arbitrary equipments such as vehicle-mounted computer.For convenience of description, mention above To equipment be referred to as equipment of ordering.
As shown in Figure 1A, Figure 1A is a kind of System Network Architecture figure of information-pushing method provided by the embodiments of the present application. The system includes camera and equipment of ordering, wherein camera may include one or more cameras, and camera is set with ordering It is standby to be attached by network.Optionally, the mode of above-mentioned network connection may include cable network connection and wireless network connection, Wherein, wireless network can be (infrared, purple for Wi-Fi technology, Bluetooth technology, visible light communication technology, the black light communication technology Outer line communication technology) etc., it is based on above-mentioned network connection, camera can be made, image data, view may be implemented between equipment of ordering Frequency according to etc. data transmit.
Consistently with Figure 1A, Figure 1B is please referred to, Figure 1B is a kind of reality of information-pushing method provided by the embodiments of the present application Apply a flow diagram.Information-pushing method described in the present embodiment the following steps are included:
101, the portrait image for the user for being obtained and being sent by camera is received.
In embodiments herein, equipment of ordering can receive the portrait image that camera is sent, which is by eating What the camera in the Room obtained.
Wherein, one or more cameras can be set in dining room, the portrait image of user is obtained according to camera, it is above-mentioned User includes the customer to take a seat in dining room, can be by equipment of ordering to camera firstly, when user is ordered by equipment of ordering Shooting control instruction is sent, specifically, shooting control instruction can be triggered by user by the virtual key in equipment of ordering, or It shows in equipment of ordering and is directly sent from equipment of ordering to camera when ordering the page, then, obtained by camera and sent The portrait image of user optionally when the customer of a table has more people, can control camera to adjust shooting angle, and then can divide Multiple portrait images of multiple customers are not obtained, wherein adjustment shooting angle, it may include left and right adjustment shooting angle, Yi Jishang Lower adjustment shooting angle, shoots so as to the user to different heights, alternatively, can also be obtained by camera comprising multiple Then the image is carried out image segmentation, obtains multiple portrait images by the image of portrait, wherein image is subjected to image segmentation, Recognition of face first can be carried out to the image of shooting, obtain multiple face characteristic point sets of multiple faces, each face corresponding one Then a human face characteristic point set is attached according to multiple human face characteristic points in each face characteristic point set, is somebody's turn to do The circumference of face, the circumference are facial contour, in this way, can get multiple face wheels of multiple faces in image Exterior feature according to the location of facial contour each in multiple facial contours, determines the corresponding portrait profile of each face in turn, To obtain multiple portrait profiles of multiple users, then, image is split according to multiple portrait profiles, obtains multiple people As image.
102, recognition of face is carried out to the portrait image, obtains the user information of the user.
In the embodiment of the present application, equipment of ordering can carry out recognition of face to portrait image, and above-mentioned user information may include body Part information, attribute information and/or vivid information, wherein identity information includes the user that user belongs to new customer or old user Information, attribute information may include the information such as age, gender, and vivid information may include Skin Color Information, skin quality information etc..
Optionally, in the embodiment of the present application, can also image recognition be carried out to above-mentioned portrait image, obtain the dress ornament letter of user Breath.
Optionally, the user information includes the identity information of the user, in step 102, to the portrait image into Row recognition of face obtains the user information of the user, it may include following steps:
21, the portrait image is pre-processed, obtains pretreatment image;
22, face characteristic extraction is carried out to the pretreatment image, obtains face characteristic;
23, the face characteristic is matched with multiple skin detections in preset skin detection library;
If 24, successful match, determine that the identity information of the user determines institute if it fails to match for the first identity information The identity information for stating user is the second identity information.
Wherein, pretreatment may include, but are not limited to: image enhancement processing, binary conversion treatment, smoothing processing, color image It is converted into gray level image etc., feature extraction then is carried out to pretreatment image, feature extraction can be used following algorithm and realize: Harris Corner Detection Algorithm, Scale invariant features transform (scale invariant feature transform, SIFT), The most similar area of small nut value (smallest univalue segment assimilating nucleus, SUSAN) Corner Detection Algorithm etc., details are not described herein.
In the embodiment of the present application, skin detection library can be preset, when there is new customer to enter dining in restaurant, if should New customer handles member, can obtain the facial image of the new customer, and extract face characteristic to the facial image, thus, it can obtain Multiple face characteristics of multiple new customers are taken, and using multiple face characteristics as skin detection, obtain multiple face characteristics Then template establishes skin detection library according to multiple skin detections, when in face characteristic and skin detection library Multiple skin detections in each skin detection when it fails to match, it may be determined that face characteristic matching result is to lose It loses, shows that user is new customer, wherein face characteristic can be matched with each skin detection, obtain matching value, if Matching value is greater than preset threshold, it may be determined that face characteristic and skin detection successful match, above-mentioned first identity information is old Customer identification, the second identity information are new customer identification, any face characteristic in face characteristic and skin detection library Template matching success, it may be determined that face characteristic matching result be successfully, show user for patron, further, can obtain and The corresponding membership information of the skin detection of successful match.
103, it determines the corresponding target dish information of the user information, and the target dish information is pushed to and is ordered Equipment.
It can be that user determines personalized target dish information according to user information, when user believes in the embodiment of the present application When breath includes attribute information, target dish information can be determined according to the attribute information of user, for example, can when user is new customer Determine the gender or the target dish information at age of suitable user, for example, working as the older of user, i.e., user is the elderly, Can determine it is corresponding with age of user have effects that the dish information to take care of health, in another example, when user's gender be women, it may be determined that with The dish information of the corresponding suitable women of user's gender can belong to new Gu when user information includes identity information according to user The identity information of visitor or patron, determine different dish informations, for example, when user is frequent customer, it can be according to user's History consumption information determines the diet hobby of user, and then determines target dish information corresponding with the user.
Optionally, the user information further includes the target image information of user, in above-mentioned steps 103, determines the use The corresponding target dish information of family information, it may include following steps:
According to the corresponding relationship between preset vivid information and dish information, determination is corresponding with the target image information First object dish information.
Wherein, aforesaid image information may include Skin Color Information, skin quality information etc., in the embodiment of the present application, can set in advance Determine the corresponding multiple dish informations of multiple and different Skin Color Informations, and then establishes skin according to multiple Skin Color Informations and multiple dish informations Corresponding relationship between color information and dish information, to determine the corresponding people of Skin Color Information of user according to the corresponding relationship Which country or region come from, and then determines specialties information corresponding with the ethnic group, country or region for kind, similarly, also The corresponding relationship between skin quality information and dish information can be set, in this way, can determine that user is suitble to according to the skin quality information of user Vegetable, for example, the skin condition as user is poor, for example, long acne or it is not to look oneself when, few peppery vegetable can be recommended to user Information, dish information of fall fire etc..
Optionally, if the identity information of the user is first identity information, in above-mentioned steps 103, determine described in The corresponding target dish information of user information, can comprise the further steps of:
31, the history consumer record of the user within a preset period of time is obtained;
32, multiple history vegetables record of the user is extracted from the history consumer record;
33, the quantity of each history vegetable record in the multiple history vegetable record is counted;
34, determine that the target vegetable of preset quantity records according to the sequence of quantity from big to small, according to the preset quantity Target vegetable record generate the second target dish information.
Wherein, above-mentioned preset time period can be arranged by system default, can also be by user's sets itself, preset time period example It such as can be nearest 1 year, nearest 6 months or 3 months nearest, if the identity information of user is first identity letter Breath shows that user is the patron in the dining room, multiple history vegetables of user can be extracted from the history consumer record of the customer Record, history vegetable record specifically may include menu name, thus according to user order number it is more target vegetable record life At the second target dish information.
Optionally, each history vegetable record may also include evaluation of the user to vegetable in above-mentioned multiple history vegetable records Information, and then target dish information is generated according to the higher vegetable record of user's evaluation.
Optionally, the target dish information includes multiple vegetable sub-informations, in above-mentioned steps 103, the target vegetable Information pushes to equipment of ordering, it may include following steps:
35, the corresponding score value of each vegetable sub-information in the multiple vegetable sub-information is obtained, multiple score values are obtained;
36, the sequence of the push between the multiple vegetable sub-information is determined according to the multiple score value;
37, the multiple vegetable sub-information is pushed to the equipment of ordering according to the push sequence.
In the embodiment of the present application, when including multiple vegetable sub-informations in target dish information, customer can be obtained to each dish The score value for the vegetable for including in product sub-information obtains multiple score values, for example, the scoring of vegetable A is the scoring of 3 stars, vegetable B Value is 3 stars half, and the score value of vegetable C is 4 stars, then can determine that the push sequence of above-mentioned three kinds of vegetables is C-B-A, wherein above-mentioned Equipment of ordering can be the equipment of ordering of dining room offer, be also possible to the electronic equipment of user.
Optionally, between above-mentioned steps 101- step 102, can also include the following steps:
A1, image quality evaluation is carried out to the first object facial image, obtains image quality evaluation values;
A2, described image quality evaluation value be less than or equal to image quality evaluation threshold value when, execute the acquisition target The step of environmental parameter.
Wherein, image quality evaluation threshold value can be by user's self-setting or system default.
Still optionally further, above-mentioned steps A1 carries out image quality evaluation to the first object facial image, obtains figure Image quality amount evaluation of estimate, can implement as follows:
Image quality evaluation is carried out to first object facial image using at least one image quality evaluation index, obtains figure Image quality amount evaluation of estimate.
Wherein, image quality evaluation index may include, but are not limited to: average gray, mean square deviation, entropy, edge conservation degree, Signal-to-noise ratio etc..The image quality evaluation values that may be defined as are bigger, then picture quality is better.
It should be noted that there is certain limitation when due to evaluating using single evaluation index picture quality Property, therefore, multiple images quality evaluation index, which can be used, evaluates picture quality, certainly, evaluates picture quality When, not image quality evaluation index is The more the better, because image quality evaluation index is more, the meter of image quality assessment process Calculation complexity is higher, and also not necessarily image quality evaluation effect is better, therefore, in the situation more demanding to image quality evaluation Under, 2~10 image quality evaluation indexs can be used, picture quality is evaluated.Specifically, image quality evaluation is chosen to refer to Target number and which index, depending on specific implementation situation.Certainly, it also obtains and is commented in conjunction with specifically scene selection picture quality Valence index carries out the image quality index that image quality evaluation selection is carried out under image quality evaluation and bright ring border under dark situation It can be different.
Optionally, in the case where not high to image quality evaluation required precision, an image quality evaluation index can be used It is evaluated, for example, carrying out image quality evaluation values to image to be processed with entropy, it is believed that entropy is bigger, then illustrates picture quality It is better, on the contrary, entropy is smaller, then illustrate that picture quality is poorer.
Optionally, in the higher situation of image quality evaluation required precision, multiple images quality evaluation can be used Index evaluates image to be evaluated, carries out image quality evaluation to image to be evaluated in multiple images quality evaluation index When, the weight of each image quality evaluation index, can be obtained multiple images matter in settable multiple image quality evaluation index Evaluation of estimate is measured, final image quality evaluation values, example can be obtained according to multiple image quality evaluation values and its corresponding weight Such as, three image quality evaluation indexs are respectively as follows: A index, B index and C index, and the weight of A is a1, and the weight of B is a2, C's Weight is a3, using A, B and C to a certain image carry out image quality evaluation when, the corresponding image quality evaluation values of A be b1, B pairs The image quality evaluation values answered are b2, and the corresponding image quality evaluation values of C are b3, then, last image quality evaluation values= a1b1+a2b2+a3b3.Under normal conditions, image quality evaluation values are bigger, illustrate that picture quality is better.
As can be seen that in the embodiment of the present application, it is right by receiving the portrait image for the user for being obtained and being sent by camera Portrait image carries out recognition of face, obtains the user information of user, determines the corresponding target dish information of user information, and by mesh Mark dish information pushes to equipment of ordering, in this way, the user information of user is judged by face recognition technology, according to the use of user Family information is that customer pushes targeted dish information, reduces customer and orders dishes the required time.
Referring to Fig. 2, Fig. 2 is a kind of embodiment flow diagram of information-pushing method provided by the embodiments of the present application. Information-pushing method described in the present embodiment the following steps are included:
201, the portrait image for the user for being obtained and being sent by camera is received.
202, recognition of face is carried out to the portrait image, obtains the user information of the user, the user information packet Include the target image information of user.
203, according to the corresponding relationship between preset vivid information and dish information, the determining and target image information Corresponding first object dish information.
204, the first object dish information is pushed into equipment of ordering.
As can be seen that in the embodiment of the present application, it is right by receiving the portrait image for the user for being obtained and being sent by camera Portrait image carries out recognition of face, obtains the user information of user, user information includes the target image information of user, according to pre- If vivid information and dish information between corresponding relationship, determine corresponding with target image information first object vegetable Information, and first object dish information is pushed into equipment of ordering, in this way, judging that the image of user is believed by face recognition technology Breath is that customer pushes targeted dish information according to the vivid information of user, reduces customer and order dishes the required time.
Referring to Fig. 3, Fig. 3 is a kind of embodiment flow diagram of information-pushing method provided by the embodiments of the present application. Information-pushing method described in the present embodiment the following steps are included:
301, the portrait image for the user for being obtained and being sent by camera is received.
302, recognition of face is carried out to the portrait image, obtains the user information of the user, wherein user's letter Breath includes the identity information and target image information of the user, and the identity information is that the first identity information or the second identity are believed Breath.
303, according to the corresponding relationship between preset vivid information and dish information, the determining and target image information Corresponding first object dish information.
If 304, the identity information of the user is first identity information, the user is obtained within a preset period of time History consumer record.
305, multiple history vegetables record of the user is extracted from the history consumer record.
306, the quantity of each history vegetable record in the multiple history vegetable record is counted.
307, determine that the target vegetable of preset quantity records according to the sequence of quantity from big to small, according to the preset quantity Target vegetable record generate the second target dish information.
308, the first object dish information and the second target dish information are pushed into equipment of ordering.
As can be seen that in the embodiment of the present application, it is right by receiving the portrait image for the user for being obtained and being sent by camera Portrait image carries out recognition of face, obtains the user information of user, wherein user information includes the identity information and target of user Vivid information, identity information are the first identity information or the second identity information, according to preset vivid information and dish information it Between corresponding relationship, corresponding with target image information first object dish information is determined, if the identity information of user is first Identity information obtains the history consumer record of user within a preset period of time, counts each in the multiple history vegetable record The quantity of history vegetable record determines that the target vegetable of preset quantity records according to the sequence of quantity from big to small, according to default The target vegetable record of quantity generates the second target dish information, and first object dish information and the second target dish information are pushed away It send to equipment of ordering, in this way, the identity information and target image information of user is judged by face recognition technology, according to user's Identity information and target image information are that customer pushes targeted dish information, reduce customer and order dishes the required time.
Consistent with the abovely, referring to Fig. 4, Fig. 4 is a kind of structure of information push-delivery apparatus provided by the embodiments of the present application Schematic diagram.Information push-delivery apparatus as described in this embodiment, including acquiring unit 401, recognition unit 402, determination unit 403 It is specific as follows with push unit 404:
The acquiring unit 401, for receiving the portrait image for the user for being obtained and being sent by camera;
The recognition unit 402 obtains user's letter of the user for carrying out recognition of face to the portrait image Breath;
The determination unit 403, for determining the corresponding target dish information of the user information;
The push unit 404, for the target dish information to be pushed to equipment of ordering.
Optionally, the user information includes the identity information of the user, and the recognition unit 402 is specifically used for:
The portrait image is pre-processed, pretreatment image is obtained;
Face characteristic extraction is carried out to the pretreatment image, obtains face characteristic;
The face characteristic is matched with multiple skin detections in preset skin detection library;
If successful match, determine that the identity information of the user determines the use if it fails to match for the first identity information The identity information at family is the second identity information.
Optionally, the user information further includes the target image information of user, and the determination unit 403 is specifically used for:
According to the corresponding relationship between preset vivid information and dish information, determination is corresponding with the target image information First object dish information.
Optionally, if the identity information of the user is first identity information, the determination unit 403 is also used to:
Obtain the history consumer record of the user within a preset period of time;
Multiple history vegetables record of the user is extracted from the history consumer record;
Count the quantity of each history vegetable record in the multiple history vegetable record;
The target vegetable record that preset quantity is determined according to the sequence of quantity from big to small, according to the mesh of the preset quantity It marks vegetable record and generates the second target dish information.
Optionally, the target dish information includes multiple vegetable sub-informations, and the push unit 404 is specifically used for:
The corresponding score value of each vegetable sub-information in the multiple vegetable sub-information is obtained, multiple score values are obtained;
The sequence of the push between the multiple vegetable sub-information is determined according to the multiple score value;
The multiple vegetable sub-information is pushed to the equipment of ordering according to the push sequence.
As can be seen that in the embodiment of the present application, it is right by receiving the portrait image for the user for being obtained and being sent by camera Portrait image carries out recognition of face, obtains the user information of user, wherein user information includes the identity information and target of user Vivid information, identity information are the first identity information or the second identity information, according to preset vivid information and dish information it Between corresponding relationship, corresponding with target image information first object dish information is determined, if the identity information of user is first Identity information obtains the history consumer record of user within a preset period of time, counts each in the multiple history vegetable record The quantity of history vegetable record determines that the target vegetable of preset quantity records according to the sequence of quantity from big to small, according to default The target vegetable record of quantity generates the second target dish information, and first object dish information and the second target dish information are pushed away It send to equipment of ordering, in this way, the identity information and target image information of user is judged by face recognition technology, according to user's Identity information and target image information are that customer pushes targeted dish information, reduce customer and order dishes the required time.
Order equipment the embodiment of the present application also provides another kind, as shown in figure 5, for ease of description, illustrate only with The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.This is ordered Equipment can be, by taking equipment of ordering is mobile phone as an example:
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to equipment provided by the embodiments of the present application of ordering.Ginseng Fig. 5 is examined, mobile phone includes: radio frequency (radio frequency, RF) circuit 910, memory 920, input unit 930, sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, application processor AP980 and The components such as power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 5 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 5 to mobile phone:
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include touching display screen 933, information push-delivery apparatus 931 and other input equipments 932.Information push-delivery apparatus 931 can be camera, for example, infrared camera, it is seen that light camera shooting Head or dual camera etc..Input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to physical button, function key (such as volume control button, switch key etc.), trace ball, mouse, One of operating stick etc. is a variety of.
Wherein, the AP980, for executing following steps:
Receive the portrait image for the user for being obtained and being sent by camera;
Recognition of face is carried out to the portrait image, obtains the user information of the user;
It determines the corresponding target dish information of the user information, and the target dish information is pushed to order and is set It is standby.
AP980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, passes through fortune Row executes the software program and/or module being stored in memory 920, and calls the data being stored in memory 920, The various functions and processing data for executing mobile phone, to carry out integral monitoring to mobile phone.Optionally, AP980 may include one or Multiple processing units;Preferably, AP980 can integrate application processor and modem processor, wherein application processor is main Processing operation system, user interface and application program etc., modem processor mainly handle wireless communication.It is understood that It is that above-mentioned modem processor can not also be integrated into AP980.
In addition, memory 920 may include high-speed random access memory, it can also include nonvolatile memory, example Such as at least one disk memory, flush memory device or other volatile solid-state parts.
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (low noise amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (global system of mobile Communication, GSM), general packet radio service (general packet radio service, GPRS), code it is point more Location (code division multiple access, CDMA), wideband code division multiple access (wideband code division Multiple access, WCDMA), long term evolution (long term evolution, LTE), Email, short message service (short messaging service, SMS) etc..
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of touching display screen, proximity sensor can when mobile phone is moved in one's ear, close touching display screen and/ Or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after audio data broadcasting AP980 processing, such as another mobile phone is sent to through RF circuit 910, or Audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and AP980 are logically contiguous, to realize the function such as management charging, electric discharge and power managed by power-supply management system Energy.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In earlier figures 1B, Fig. 2, embodiment shown in Fig. 3, each step method process can be based on the structure reality of the mobile phone It is existing.
In aforementioned embodiment shown in Fig. 4, each unit function can be realized based on the structure of the mobile phone.
The embodiment of the present application also provides a kind of computer readable storage medium, wherein the computer storage medium is for depositing Computer program is stored up, computer program makes computer execute any information push as recorded in above method embodiment Some or all of method step.
The embodiment of the present application also provides a kind of computer program product, wherein the computer program product includes storage The non-transient computer readable storage medium of computer program, the computer program are operable to execute computer such as Some or all of any information-pushing method recorded in above method embodiment step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, applying for that each functional unit in bright each embodiment can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (read-only memory, ROM), random access memory The various media that can store program code such as (random accessmemory, RAM), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory It may include: flash disk, read-only memory, random access device, disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of information-pushing method, which is characterized in that the described method includes:
Receive the portrait image for the user for being obtained and being sent by camera;
Recognition of face is carried out to the portrait image, obtains the user information of the user;
It determines the corresponding target dish information of the user information, and the target dish information is pushed into equipment of ordering.
2. the method according to claim 1, wherein the user information includes the identity information of the user, It is described that recognition of face is carried out to the portrait image, obtain the user information of the user, comprising:
The portrait image is pre-processed, pretreatment image is obtained;
Face characteristic extraction is carried out to the pretreatment image, obtains face characteristic;
The face characteristic is matched with multiple skin detections in preset skin detection library;
If successful match, determine that the identity information of the user determines the user's if it fails to match for the first identity information Identity information is the second identity information.
3. method according to claim 1 or 2, which is characterized in that the user information further includes the target image of user Information, the corresponding target dish information of the determination user information, comprising:
According to the corresponding relationship between preset vivid information and dish information, corresponding with the target image information the is determined One target dish information.
4. according to the method described in claim 2, it is characterized in that, if the identity information of the user is first identity letter Breath, the corresponding target dish information of the determination user information, comprising:
Obtain the history consumer record of the user within a preset period of time;
Multiple history vegetables record of the user is extracted from the history consumer record;
Count the quantity of each history vegetable record in the multiple history vegetable record;
The target vegetable record that preset quantity is determined according to the sequence of quantity from big to small, according to the target dish of the preset quantity Product record generates the second target dish information.
5. method according to claim 1-4, which is characterized in that the target dish information includes multiple vegetables Sub-information, the target dish information push to equipment of ordering, comprising:
The corresponding score value of each vegetable sub-information in the multiple vegetable sub-information is obtained, multiple score values are obtained;
The sequence of the push between the multiple vegetable sub-information is determined according to the multiple score value;
The multiple vegetable sub-information is pushed to the equipment of ordering according to the push sequence.
6. a kind of information push-delivery apparatus, which is characterized in that the information push-delivery apparatus includes:
Acquiring unit, for receiving the portrait image for the user for being obtained and being sent by camera;
Recognition unit obtains the user information of the user for carrying out recognition of face to the portrait image;
Determination unit, for determining the corresponding target dish information of the user information;
Push unit, for the target dish information to be pushed to equipment of ordering.
7. device according to claim 6, which is characterized in that the user information includes the identity information of the user, The recognition unit is specifically used for:
The portrait image is pre-processed, pretreatment image is obtained;
Face characteristic extraction is carried out to the pretreatment image, obtains face characteristic;
The face characteristic is matched with multiple skin detections in preset skin detection library;
If successful match, determine that the identity information of the user determines the user's if it fails to match for the first identity information Identity information is the second identity information.
8. device according to claim 6 or 7, which is characterized in that the user information further includes the target image of user Information, the determination unit are specifically used for:
According to the corresponding relationship between preset vivid information and dish information, corresponding with the target image information the is determined One target dish information.
9. device according to claim 7, which is characterized in that if the identity information of the user is first identity letter Breath, the determination unit are also used to:
Obtain the history consumer record of the user within a preset period of time;
Multiple history vegetables record of the user is extracted from the history consumer record;
Count the quantity of each history vegetable record in the multiple history vegetable record;
The target vegetable record that preset quantity is determined according to the sequence of quantity from big to small, according to the target dish of the preset quantity Product record generates the second target dish information.
10. according to the described in any item devices of claim 6-9, which is characterized in that the target dish information includes multiple dishes Product sub-information, the push unit are specifically used for:
The corresponding score value of each vegetable sub-information in the multiple vegetable sub-information is obtained, multiple score values are obtained;
The sequence of the push between the multiple vegetable sub-information is determined according to the multiple score value;
The multiple vegetable sub-information is pushed to the equipment of ordering according to the push sequence.
CN201810737297.8A 2018-07-06 2018-07-06 Information-pushing method and Related product Pending CN109146605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810737297.8A CN109146605A (en) 2018-07-06 2018-07-06 Information-pushing method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810737297.8A CN109146605A (en) 2018-07-06 2018-07-06 Information-pushing method and Related product

Publications (1)

Publication Number Publication Date
CN109146605A true CN109146605A (en) 2019-01-04

Family

ID=64799864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810737297.8A Pending CN109146605A (en) 2018-07-06 2018-07-06 Information-pushing method and Related product

Country Status (1)

Country Link
CN (1) CN109146605A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993146A (en) * 2019-04-09 2019-07-09 深圳安泰创新科技股份有限公司 Indentity identifying method, electronic equipment and storage medium based on recognition of face
CN110163650A (en) * 2019-04-10 2019-08-23 南京诺博灵信息科技有限公司 A kind of food and drink shops marketing method
CN110458647A (en) * 2019-07-05 2019-11-15 深圳壹账通智能科技有限公司 Product method for pushing, device, computer equipment and storage medium
CN112861000A (en) * 2021-02-10 2021-05-28 深兰科技(上海)有限公司 Information pushing method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021506A (en) * 2014-06-24 2014-09-03 河海大学常州校区 Intelligent restaurant ordering management system and intelligent restaurant ordering management method based on human face recognition technology
CN104881642A (en) * 2015-05-22 2015-09-02 海信集团有限公司 Method and device for content pushing, and equipment
CN106534500A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Customization service system and method based on figure attributes
CN107025613A (en) * 2017-04-18 2017-08-08 腾讯科技(上海)有限公司 A kind of automatic method of ordering and terminal
CN107463608A (en) * 2017-06-20 2017-12-12 上海汇尔通信息技术有限公司 A kind of information-pushing method and system based on recognition of face
CN107731281A (en) * 2017-11-06 2018-02-23 北京戴纳实验科技有限公司 A kind of method for recommending dining

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021506A (en) * 2014-06-24 2014-09-03 河海大学常州校区 Intelligent restaurant ordering management system and intelligent restaurant ordering management method based on human face recognition technology
CN104881642A (en) * 2015-05-22 2015-09-02 海信集团有限公司 Method and device for content pushing, and equipment
CN106534500A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Customization service system and method based on figure attributes
CN107025613A (en) * 2017-04-18 2017-08-08 腾讯科技(上海)有限公司 A kind of automatic method of ordering and terminal
CN107463608A (en) * 2017-06-20 2017-12-12 上海汇尔通信息技术有限公司 A kind of information-pushing method and system based on recognition of face
CN107731281A (en) * 2017-11-06 2018-02-23 北京戴纳实验科技有限公司 A kind of method for recommending dining

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
庞辽军等: "《信息安全工程》", 30 September 2010 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993146A (en) * 2019-04-09 2019-07-09 深圳安泰创新科技股份有限公司 Indentity identifying method, electronic equipment and storage medium based on recognition of face
CN110163650A (en) * 2019-04-10 2019-08-23 南京诺博灵信息科技有限公司 A kind of food and drink shops marketing method
CN110458647A (en) * 2019-07-05 2019-11-15 深圳壹账通智能科技有限公司 Product method for pushing, device, computer equipment and storage medium
CN112861000A (en) * 2021-02-10 2021-05-28 深兰科技(上海)有限公司 Information pushing method, device, equipment and computer readable storage medium
CN112861000B (en) * 2021-02-10 2023-07-14 深兰科技(上海)有限公司 Information pushing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109146605A (en) Information-pushing method and Related product
CN106558025B (en) Picture processing method and device
CN107590461B (en) Face recognition method and related product
CN107274354A (en) image processing method, device and mobile terminal
US9779527B2 (en) Method, terminal device and storage medium for processing image
CN107273510B (en) Photo recommendation method and related product
CN107423699B (en) Biopsy method and Related product
CN107341006B (en) Screen locking wallpaper recommendation method and related products
CN108388637A (en) A kind of method, apparatus and relevant device for providing augmented reality service
WO2019020014A1 (en) Unlocking control method and related product
CN107451446B (en) Unlocking control method and related product
CN107784114A (en) Recommendation method, apparatus, terminal and the storage medium of facial expression image
CN113316778B (en) Equipment recommendation method and related product
CN107451444B (en) Solve lock control method and Related product
CN112970026B (en) Method for estimating object parameters and electronic equipment
CN109829086A (en) Chat record querying method, device, terminal and computer storage medium
CN111027528A (en) Language identification method and device, terminal equipment and computer readable storage medium
CN107464290A (en) Three-dimensional information methods of exhibiting, device and mobile terminal
CN107613550B (en) Unlocking control method and related product
WO2022199500A1 (en) Model training method, scene recognition method, and related device
CN108363750A (en) Clothes recommend method and Related product
CN110263729A (en) A kind of method of shot boundary detector, model training method and relevant apparatus
CN108460817A (en) A kind of pattern splicing method and mobile terminal
CN107346182A (en) A kind of method for building user thesaurus and the device for building user thesaurus
CN107368791A (en) Living iris detection method and Related product

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: 20190104