CN115392906A - Hall food consumption management method and system based on face recognition and storage medium - Google Patents

Hall food consumption management method and system based on face recognition and storage medium Download PDF

Info

Publication number
CN115392906A
CN115392906A CN202211064345.4A CN202211064345A CN115392906A CN 115392906 A CN115392906 A CN 115392906A CN 202211064345 A CN202211064345 A CN 202211064345A CN 115392906 A CN115392906 A CN 115392906A
Authority
CN
China
Prior art keywords
consumption
consuming
user
current
information
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
CN202211064345.4A
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 Nesun Technology Co ltd
Original Assignee
Shenzhen Nesun 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 Nesun Technology Co ltd filed Critical Shenzhen Nesun Technology Co ltd
Priority to CN202211064345.4A priority Critical patent/CN115392906A/en
Publication of CN115392906A publication Critical patent/CN115392906A/en
Pending legal-status Critical Current

Links

Images

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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • 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
    • 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/00Systems or methods specially adapted for 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/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/25Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition

Abstract

The invention discloses a hall food consumption management method, a device, a system, equipment and a storage medium based on face recognition, relating to the technical field of Internet of things, wherein the method comprises the steps of downloading or inputting personnel information of consumption users in a consumption district; carrying out face recognition on the current consuming user to obtain face feature information of the current consuming user; judging whether the current consuming user meets the consuming condition or not according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction; and when the current consuming user meets the consuming condition, generating a pass record and reporting and outputting the pass record. The invention records the actions of the consumption user in the pass record, completely replaces the mode of storing information by an IC card, and leads the consumption mode to be more convenient.

Description

Food consumption management method and system based on face recognition and storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a hall food consumption management method, device, system, equipment and storage medium based on face recognition, and is particularly suitable for fixed catering consumption places such as a garden dining hall, a market food square and the like.
Background
The traditional consumption system is a consumption management system which takes computer management as a core, takes an IC card as an information carrier, takes a meal selling machine as a consumption terminal and takes the IC card and a card reader as a read-write control terminal, and is still widely applied to public consumption places such as enterprises, institutions, schools and the like. Each consumer has one or more corresponding consumption cards in the dining room dining system, the management center registers for payment, and the identity and balance of the consumer are recorded in the cards. The consumer can consume in the dining room only by holding the authorized IC card, the card is inserted into the cash register to display the amount of money when in use, and the waiter can only add a consumption into the management system when operating and consuming on the cash register. And the data such as the overall consumption statistics, the cost accounting and the like are all based on the IC card consumption record.
Such conventional consumption systems present a significant shorthand in that all consumption actions and records have to be based on an authorized IC card. When a user needs to carry the card during consumption, the user needs to charge the card to a management center when the balance in the card is insufficient, and meanwhile, if one user holds a plurality of IC cards, consumption records of the same user in the IC cards cannot be combined, and the problems that the money in the card is stolen and the like after the user loses the IC cards cannot be avoided.
These drawbacks are due to the fact that the existing technologies are limited and the personal information and money must be stored on separate carriers.
Disclosure of Invention
Therefore, in order to overcome the above-mentioned drawbacks, embodiments of the present invention provide a method, an apparatus, a system, a device, and a storage medium for managing food consumption based on face recognition, which record the user consumption actions in face passage data based on face recognition technology, and perfectly cover all scenes requiring an IC card.
Therefore, the food consumption management method based on face recognition comprises the following steps:
downloading or inputting personnel information of a consumption user in a consumption district, wherein the personnel information comprises personnel basic information and face characteristic information; the personnel basic information is used for representing basic identity information which is distinguished from other people, and the face characteristic information is used for representing the characteristics of the face of the person;
carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user;
judging whether the current consuming user meets the consuming condition or not according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction;
when the current consuming user meets the consuming condition, generating a pass record and reporting and outputting the pass record; the passage record comprises personnel information, arrival time and information of the consumption district of the current consumption user.
Preferably, the step of judging whether the current consuming user meets the consuming condition according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction includes:
searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district;
when a consuming user matched with the face feature information of the current consuming user exists, obtaining a judgment result that the current consuming user meets the consuming condition;
and when the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
Preferably, the staff information further comprises a predetermined meal time period, and the predetermined meal time period comprises one or more than two meal time periods.
Preferably, the step of judging whether the current consuming user meets the consuming condition according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction includes:
acquiring the arrival time of a current consuming user;
searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district;
when a consuming user matched with the face feature information of the current consuming user exists, judging whether the arrival time of the current consuming user is within the preset dining time period;
when the arrival time of the current consuming user is within the preset dining time period, obtaining a judgment result that the current consuming user meets the consuming conditions;
and when the arrival time of the current consuming user is not in the preset dinning time period or the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
The hall food consumption management device based on the face recognition comprises the following components:
the personnel information pre-storage unit is used for downloading or inputting personnel information of a consumption user in a consumption district, and the personnel information comprises personnel basic information and face characteristic information; the personnel basic information is used for representing basic identity information which is distinguished from other people, and the face characteristic information is used for representing the characteristics of the face of the person;
the face recognition unit is used for carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user;
the consumption condition judging unit is used for judging whether the current consumption user meets the consumption condition or not according to the face feature information of the current consumption user and the personnel information of the consumption users in the consumption jurisdiction;
the passage record generating and reporting unit is used for generating a passage record and reporting and outputting the passage record when the current consumption user meets the consumption condition; the traffic record comprises personnel information of the current consumption user, arrival time and information of the consumption district in which the current consumption user is located.
Preferably, the consumption condition judging unit includes:
the first matching unit is used for searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming jurisdiction;
the first judgment result obtaining unit is used for obtaining a judgment result that the current consuming user meets the consuming condition when the consuming user matched with the face feature information of the current consuming user exists;
and the second judgment result obtaining unit is used for obtaining the judgment result that the current consuming user does not meet the consuming condition when the consuming user matched with the face feature information of the current consuming user does not exist.
Preferably, the staff information further comprises a predetermined meal time period, and the predetermined meal time period comprises one or more than two meal time periods.
Preferably, the consumption condition judgment unit includes:
the arrival time acquisition unit is used for acquiring the arrival time of the current consuming user;
the second matching unit is used for searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming jurisdiction;
the dining time interval judging unit is used for judging whether the arrival time of the current consuming user is within the preset dining time interval or not when the consuming user matched with the face feature information of the current consuming user exists;
a third judgment result obtaining unit, configured to obtain a judgment result that the current consuming user meets the consumption condition when the arrival time of the current consuming user is within the predetermined dining time period;
and the fourth judgment result obtaining unit is used for obtaining the judgment result that the current consuming user does not meet the consuming condition when the arrival time of the current consuming user is not in the preset dining time period or the current consuming user matched with the face feature information of the current consuming user does not exist.
The storage medium is stored with instructions, and the instructions are executed by a processor to implement the above-mentioned hall food consumption management method based on face recognition.
The food consumption management device based on face recognition comprises:
one or more processors; and
a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method for managing the appetite based on the face recognition.
The barrier gate machine comprises the hall food consumption management equipment based on the face recognition, a camera and a display screen, wherein the camera and the display screen are respectively connected with the hall food consumption management equipment based on the face recognition;
the camera is used for acquiring face image data of a current consumption user and outputting the face image data to the eating consumption management equipment based on face recognition for face recognition;
the display screen is used for displaying.
The invention provides a hall food consumption management system based on face recognition, which comprises:
one or more than two of the above barrier gates;
the management platform comprises an input unit, a receiving and transmitting unit and a consumption record generating unit; the input unit is used for inputting personnel information and corresponding consumption balances of all consumption users in each consumption jurisdiction; the receiving and sending unit is used for transferring the input personnel information of the consumption user to a gateway machine of a corresponding consumption district and receiving a passing record output by the gateway machine; the consumption record generating unit is used for generating the consumption record of the current consumption user according to the pass record and updating the consumption balance.
Preferably, the consumption record generating unit includes:
and the consumption generating unit is used for generating the consumption record of the current consumption user once when the pass record is received once, and deducting the consumption price once from the consumption balance according to the single consumption price of the consumption district where the current consumption user is located to obtain the updated consumption balance.
Preferably, the consumption record generating unit further comprises:
the first repeated passing judgment unit is used for judging whether another pass record or more than two pass records are received within a preset delay time period after the arrival time of the pass record;
the consumption counting unit is used for maintaining the updated consumption balance unchanged when another or more than two pass records are received within a preset delay time period after the arrival time of the pass record; and when another pass record is received beyond a preset delay period after the arrival time of the pass record, returning to the consumption generating unit.
Preferably, the consumption record generating unit includes:
a dining time period determining unit, configured to determine a dining time period in which the arrival time of the current consuming user is located when the one-time pass record is received;
and the consumption generating unit for the dining time period is used for generating a consumption record of the current consuming user in the dining time period according to the determined dining time period, and deducting the consumption price once from the consumption balance according to the single consumption price of the current consuming user in the dining time period in the consumption jurisdiction to obtain an updated consumption balance.
Preferably, the consumption record generating unit further comprises:
the second repeated passing judgment unit is used for judging whether another passing record or more than two passing records are received in the dining time period;
and the meal time interval consumption statistical unit is used for maintaining the updated consumption balance unchanged when another pass record is received for one or more times in the meal time interval.
The hall food consumption management method, the device, the system, the equipment and the storage medium based on the face recognition have the following advantages that:
1. through recording personnel information of a consumption user who visits a consumption district in advance, including personnel basic information, face feature information and the like, a passing record is generated when the consumption user enters the consumption district, the consumption user who currently enters the consumption district and consumption balance thereof can be judged by combining the existing face feature information, information content needing to be stored by an IC card is completely covered, the dilemma that the consumption user can consume in the consumption district only by holding an authorized IC card is solved, a more convenient consumption mode is provided, and the consumption experience of the consumption user is improved by an unaware consumption mode.
2. Meanwhile, the personnel information of the consumption user and the consumption records can be completely matched and integrated to form a complete consumption record, and the accuracy of data such as consumption statistics, cost accounting and the like is remarkably improved.
3. By reducing the dependence of the consumption users and the consumption places on the original IC card mode, the necessary personnel expenditure of the consumption places is reduced, and the expenditure cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a specific example of a food consumption management method based on face recognition in embodiment 1 of the present invention;
FIG. 2 is a timing diagram illustrating an overall process of entering a consumption jurisdiction for consumption by a consumer in embodiment 1 of the present invention;
fig. 3 is a schematic block diagram of a specific example of a device for managing food consumption based on face recognition according to embodiment 2 of the present invention;
fig. 4 is a schematic block diagram of a specific example of the barrier gate according to embodiment 5 of the present invention;
fig. 5 is a schematic block diagram of a specific example of the hall food consumption management system based on face recognition in embodiment 6 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises" and/or "comprising," when used in this specification, are intended to specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Moreover, certain drawings in the specification are flow charts illustrating methods. It will be understood that each block of the flowchart illustrations, and combinations of blocks in the flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be loaded onto a computer or other programmable apparatus to produce a machine, such that the instructions which execute on the computer or other programmable apparatus create means for implementing the functions specified in the flowchart block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks. The computer program instructions may also be loaded onto a computer or other programmable apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
Furthermore, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment provides a hall food consumption management method based on face recognition, which is applied to a gateway, and as shown in fig. 1, the method comprises the following steps:
s1, downloading or inputting personnel information of a consumption user in a consumption district, wherein the personnel information comprises personnel basic information and face feature information. The personnel basic information is used for representing basic identity information which is different from others, such as name, gender, working units, identity card numbers and the like, the face characteristic information is used for representing the characteristics of the face of the personnel, and the characteristic data of different parts of the face can be selected for representation according to different face recognition systems. The consumption district is a consumption place area governed by the gateway machine, the gateway machine is a necessary gateway for the consumption users to come in and go out of the consumption district, the gateway machine is installed at an entrance and an exit of the consumption district, each consumption user entering the consumption district is ensured to pass through the gateway machine, and each group (one group is provided with one or more than two) of the gateway machines corresponds to one consumption district.
And S2, carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user. The current consumption user is a consumption user who wants to enter a consumption district at present, and is in the gateway machine to be detected and identified.
And S3, judging whether the current consuming user meets the consuming conditions or not according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming district.
And S4, when the current consumption user meets the consumption condition, generating a pass record, reporting and outputting the pass record, wherein the pass record comprises personnel information, arrival time and information of the consumption district of the current consumption user, and therefore pass data of the current consumption user are collected and transmitted back to the management platform. When the current consumption user does not meet the consumption condition, the barrier gate machine is not opened.
Preferably, for a real-time consumption scenario, the step of S3 comprises:
s31-1, searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district.
S31-2, when a consuming user matched with the face feature information of the current consuming user exists, obtaining a judgment result that the current consuming user meets the consuming condition.
S31-3, when the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
In the real-time consumption scene, the current consumption user can enter the consumption district for eating consumption only in a pre-stored consumption expense room of the consumption district, and the corresponding management platform only needs to pre-store personnel information of the consumption user, wherein the personnel information comprises personnel basic information and face characteristic information.
Preferably, for an actual scene divided into different meal time periods, the staff information further includes a predetermined meal time period, where the predetermined meal time period includes one or more than two meal time periods, for example, three meal time periods may be set in a day, that is, the predetermined meal time period is three, and then the step S3 includes:
s32-1, obtaining the arrival time of the current consuming user, such as the time when the arrival gate machine is detected and identified.
S32-2, searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district.
S32-3, when a consuming user matched with the face feature information of the current consuming user exists, judging whether the arrival time of the current consuming user is within the preset dining time period.
S32-4, when the arrival time of the current consuming user is within the preset dining time period, obtaining a judgment result that the current consuming user meets the consuming conditions.
S32-5, when the arrival time of the current consuming user is not in the preset dining time period or the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
In the actual scene with different meal time periods, a consumption user can only enter a consumption district to consume meals in a preset meal time period, and cannot enter the consumption district when the user is not in the preset meal time period, namely the user does not accord with meal consumption conditions.
Fig. 2 shows a whole process of a consuming user entering a consuming district for consuming, as shown in fig. 2, when the current consuming user is in a gateway, the gateway searches the current consuming user from the pre-stored consuming users in the consuming district, and determines whether the current consuming user can enter the consuming district. If yes, the barrier gate machine can be opened to enter a consumption district for consumption. If not, the barrier gate is not opened.
After the current consuming user passes through the gateway, the gateway transmits the passing record of the current consuming user back to the management platform, and the management platform generates a corresponding consumption record and counts consumption balance according to personnel information and arrival time (dining time).
Example 2
Corresponding to embodiment 1, this embodiment provides a device for managing food consumption based on face recognition, as shown in fig. 3, including:
the personnel information pre-storing unit 1 is used for downloading or inputting personnel information of a consumption user in a consumption district, wherein the personnel information comprises personnel basic information and face characteristic information;
the face recognition unit 2 is used for carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user;
the consumption condition judging unit 3 is used for judging whether the current consumption user meets the consumption condition or not according to the face feature information of the current consumption user and the personnel information of the consumption users in the consumption jurisdiction;
the traffic record generating and reporting unit 4 is used for generating a traffic record once and reporting and outputting the traffic record when the current consumption user meets the consumption condition; the passage record comprises personnel information, arrival time and information of the consumption district of the current consumption user.
Preferably, the consumption condition judging unit includes:
the first matching unit is used for searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming jurisdiction;
the first judgment result obtaining unit is used for obtaining a judgment result that the current consuming user meets the consuming condition when the consuming user matched with the face feature information of the current consuming user exists;
and the second judgment result obtaining unit is used for obtaining the judgment result that the current consuming user does not meet the consuming condition when the consuming user matched with the face feature information of the current consuming user does not exist.
Preferably, the staff information further comprises a predetermined meal time period, and the predetermined meal time period comprises one or more than two meal time periods.
Preferably, the consumption condition judging unit includes:
the arrival time acquisition unit is used for acquiring the arrival time of the current consuming user;
the second matching unit is used for searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming jurisdiction;
the dining time interval judging unit is used for judging whether the arrival time of the current consuming user is within the preset dining time interval or not when the consuming user matched with the face feature information of the current consuming user exists;
a third judgment result obtaining unit, configured to obtain a judgment result that the current consuming user meets the consumption condition when the arrival time of the current consuming user is within the predetermined dining time period;
and the fourth judgment result obtaining unit is used for obtaining the judgment result that the current consuming user does not meet the consuming condition when the arrival time of the current consuming user is not in the preset dining time period or the current consuming user matched with the face feature information of the current consuming user does not exist.
Example 3
The present embodiment provides a computer-readable storage medium, which stores instructions that, when executed by a processor, implement the human face recognition-based eating consumption management method of embodiment 1.
Example 4
The embodiment provides a hall food consumption management equipment based on face identification, includes:
one or more processors; and
a storage device for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the face recognition-based culinary consumption management method of embodiment 1.
Example 5
The present embodiment provides a barrier gate, as shown in fig. 4, including a hall food consumption management device 101 based on face recognition, a camera 102 and a display screen 103, which are described in embodiment 4, wherein the camera 102 and the display screen 103 are respectively connected to the hall food consumption management device 101 based on face recognition;
the camera 102 is used for acquiring face image data of a current consumption user and outputting the face image data to the eating consumption management equipment based on face recognition to perform face recognition;
the display screen 103 is used for displaying, for example, a face image collected by the camera can be displayed on the display screen, and an area identification line can also be displayed on the display screen to give a prompt indicating whether the detected position is appropriate or not to the detected person.
Example 6
The present embodiment provides a hall food consumption management system based on face recognition, as shown in fig. 5, including:
one or more barrier machines 100 of embodiment 5;
the management platform 200 comprises an entry unit 201, a transceiving unit 202 and a consumption record generating unit 203; the input unit 201 is used for inputting personnel information and corresponding consumption balances of all consumption users in each consumption jurisdiction; the transceiver unit 202 is configured to transfer the entered personnel information of the consuming user to the gateway machine 100 in the corresponding consuming jurisdiction, and receive a passage record output by the gateway machine 100; the consumption record generating unit 203 is configured to generate a consumption record of the current consuming user according to the pass record and update the consumption balance.
The management platform can be deployed in a Linux server and depends on a mysql database, a redis server and a minio file server. The deployment process is as follows:
1. deploying a mysql database in a Linux server, and executing a database initialization script to complete the initialization of the database table structure;
2. installing a redis;
3. installing a minio file server;
4. configuring connection information, redis connection information and minio connection information of a mysql database in a management platform;
5. and starting the management platform.
After deployment is completed, initialization processes of consumption jurisdictions and consumption types can be performed, and the method comprises the following steps:
1. registering a consumption district corresponding to the gateway machine in the management platform, wherein the consumption district comprises basic information such as name, position, number and the like of the consumption district;
2. registering consumption types in a management platform, such as information of dining time periods, corresponding consumption prices and the like;
3. and binding the consumption district and the consumption type in the management platform, wherein the consumption district and the consumption type are in a many-to-many relationship.
After initialization is completed, personnel information of a consumption user is input into the management platform, and after the input is completed, the platform automatically transfers the personnel information to a gateway corresponding to a consumption district. The consumption user can enter the consumption district for dining when the consumption condition is met, and if the consumption condition is not met, the barrier gate machine cannot release the consumption user.
In a preferred embodiment, for a scene of real-time consumption, the consumption record generating unit includes:
and the consumption generating unit is used for generating the consumption record of the current consumption user once when the pass record is received once, and deducting the consumption price once from the consumption balance according to the single consumption price (consumption type) of the consumption district where the current consumption user is located to obtain the updated consumption balance.
Preferably, the consumption record generating unit further comprises:
and the first repeated passage judging unit is used for judging whether another passage record or more than two passage records are received within a preset delay time period after the arrival time of the passage record.
And the consumption counting unit is used for maintaining the updated consumption balance unchanged when another or more than two pass records are received within a preset delay time period after the arrival time of the pass record. The preset delay time period can be set according to actual requirements, and in the preset delay time period, the same consuming user repeatedly enters and exits the consuming district and only carries out consumption calculation once.
And when another pass record is received beyond a preset delay period after the arrival time of the pass record, returning to the consumption generating unit to carry out consumption calculation again.
In another preferred mode, for an actual scene divided into different meal periods, the consumption record generating unit includes:
the dining time period determining unit is used for determining the dining time period of the arrival time of the current consumption user when the one-time pass record is received;
and the consumption generating unit for the dining time period is used for generating a consumption record of the current consuming user in the dining time period according to the determined dining time period, and deducting the consumption price once from the consumption balance according to the single consumption price of the current consuming user in the dining time period in the consumption jurisdiction to obtain an updated consumption balance.
Preferably, the consumption record generating unit further comprises:
the second repeated passing judgment unit is used for judging whether another pass record is received once or more than two times in the dining time period;
and the meal time interval consumption statistical unit is used for maintaining the updated consumption balance unchanged when another pass record is received for one or more times in the meal time interval. In the same dining time period, the same consuming user repeatedly enters and exits the consuming district and only carries out consumption calculation once. The consumption price may also fluctuate for different meal periods each day.
According to the hall food consumption management system based on face recognition, the personnel information of the consumption user and the consumption records can be completely matched and integrated to form a complete consumption record, the problem that the consumption user can consume in a consumption district only by holding an authorized IC card is solved, so that a more convenient consumption mode is provided, the consumption experience of the consumption user is improved due to an uninformed consumption mode, the accuracy of data such as consumption statistics and cost accounting is remarkably improved, the necessary personnel overhead of a consumption place can be reduced, and the expenditure cost is reduced. The time of the consumption user entering the consumption district can be regulated and controlled, and the single person can be supported to open in a single time period through the management of the consumption user and the dining time period.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. This need not be, nor should it be exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A hall food consumption management method based on face recognition is characterized by comprising the following steps:
downloading or inputting personnel information of a consumption user in a consumption district, wherein the personnel information comprises personnel basic information and face characteristic information;
carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user;
judging whether the current consuming user meets the consuming condition or not according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction;
and when the current consumption user meets the consumption condition, generating a pass record, and reporting and outputting the pass record, wherein the pass record comprises the personnel information, the arrival time and the information of the consumption district of the current consumption user.
2. The method of claim 1, wherein the step of determining whether the current consuming user meets the consuming condition according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction comprises:
searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district;
when a consuming user matched with the face feature information of the current consuming user exists, obtaining a judgment result that the current consuming user meets the consuming condition;
and when the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
3. The method of claim 1, wherein the people information further comprises a predetermined meal period, the predetermined meal period comprising one or more than two meal periods.
4. The method according to claim 3, wherein the step of judging whether the current consuming user meets the consuming conditions according to the face feature information of the current consuming user and the personnel information of the consuming users in the consuming jurisdiction comprises:
acquiring the arrival time of a current consuming user;
searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming users in the consuming district;
when a consuming user matched with the face feature information of the current consuming user exists, judging whether the arrival time of the current consuming user is within the preset dining time period;
when the arrival time of the current consuming user is within the preset dining time period, obtaining a judgment result that the current consuming user meets the consuming conditions;
and when the arrival time of the current consuming user is not in the preset dinning time period or the consuming user matched with the face feature information of the current consuming user does not exist, obtaining a judgment result that the current consuming user does not meet the consuming condition.
5. The utility model provides a hall food consumption management device based on face identification which characterized in that includes:
the personnel information pre-storage unit is used for downloading or inputting personnel information of a consumption user in a consumption district, and the personnel information comprises personnel basic information and face characteristic information;
the face recognition unit is used for carrying out face recognition on the current consumption user to obtain face feature information of the current consumption user;
the consumption condition judging unit is used for judging whether the current consumption user meets the consumption condition or not according to the face feature information of the current consumption user and the personnel information of the consumption user in the consumption jurisdiction;
the passage record generating and reporting unit is used for generating a passage record and reporting and outputting the passage record when the current consumption user meets the consumption condition; the passage record comprises personnel information, arrival time and information of the consumption district of the current consumption user.
6. The apparatus of claim 5, wherein the consumption condition determining unit comprises:
the first matching unit is used for searching whether a consuming user matched with the face feature information of the current consuming user exists in the personnel information of the consuming user in the consuming district;
the first judgment result obtaining unit is used for obtaining a judgment result that the current consuming user meets the consuming condition when the consuming user matched with the face feature information of the current consuming user exists;
and the second judgment result obtaining unit is used for obtaining the judgment result that the current consuming user does not meet the consuming condition when the consuming user matched with the face feature information of the current consuming user does not exist.
7. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the facial recognition-based hall food consumption management method according to any one of claims 1-4.
8. The utility model provides a hall food consumption management equipment based on face identification which characterized in that includes:
one or more processors; and
a storage device for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the face recognition based culinary consumption management method of any of claims 1-4.
9. A barrier gate machine, comprising the human face recognition-based food consumption management device, a camera and a display screen as claimed in claim 8, wherein the camera and the display screen are respectively connected with the human face recognition-based food consumption management device;
the camera is used for acquiring face image data of a current consumption user and outputting the face image data to the eating consumption management equipment based on face recognition for face recognition;
the display screen is used for displaying.
10. A hall food consumption management system based on face recognition is characterized by comprising:
one or more barrier machines according to claim 9;
the management platform comprises an input unit, a receiving and transmitting unit and a consumption record generating unit; the input unit is used for inputting personnel information and corresponding consumption balances of all consumption users in each consumption district; the receiving and sending unit is used for transferring the input personnel information of the consumption user to a gateway machine of a corresponding consumption district and receiving a passage record output by the gateway machine; the consumption record generating unit is used for generating the consumption record of the current consumption user according to the pass record and updating the consumption balance.
CN202211064345.4A 2022-08-31 2022-08-31 Hall food consumption management method and system based on face recognition and storage medium Pending CN115392906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064345.4A CN115392906A (en) 2022-08-31 2022-08-31 Hall food consumption management method and system based on face recognition and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064345.4A CN115392906A (en) 2022-08-31 2022-08-31 Hall food consumption management method and system based on face recognition and storage medium

Publications (1)

Publication Number Publication Date
CN115392906A true CN115392906A (en) 2022-11-25

Family

ID=84125010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064345.4A Pending CN115392906A (en) 2022-08-31 2022-08-31 Hall food consumption management method and system based on face recognition and storage medium

Country Status (1)

Country Link
CN (1) CN115392906A (en)

Similar Documents

Publication Publication Date Title
CN203773629U (en) Intelligent self-service vending system
US5206488A (en) Credit card system including a central unit and a plurality of local units for conducting low-cost transactions
WO2020037876A1 (en) Hotel business processing method, and express delivery cabinet
EP2763086A1 (en) Customer service status analysis device, customer service status analysis system and customer service status analysis method
MXPA05001813A (en) Remote ordering device.
CN108364178B (en) Weighing type cafeteria unmanned vending device and control method thereof
CN103971193A (en) Campus management system
CN109308773A (en) A kind of automatic identification merchandise classification and the intelligent electronic-scale for carrying out data processing
JP2000315278A (en) Automatic vending machine system
WO2020119566A1 (en) Store system and data processing method
KR102129112B1 (en) Method for providing one-stop order, reservation, and payment service with non-face-to-face channel using qr code on blockchain based easy payment platform
CN115392906A (en) Hall food consumption management method and system based on face recognition and storage medium
JP4700767B1 (en) Service management system
CN113838245A (en) Self-service ordering system for customers of unmanned restaurant and using method
CN110852810A (en) Method and device for managing preferential information
CN105844482A (en) Nutrition data reading system, reading server and control method thereof
KR20020033928A (en) Attendance and Electronic Purse system in school using the IC-card and control method thereof
JP2002311170A (en) Wait time display system
Ankita et al. IoT based Smart Ration System using Biometrics
CN210573934U (en) Unmanned cafeteria system
JPH08224351A (en) Managing system for customer using game machine
CN102122413B (en) Self-help sale terminal equipment
JPH096864A (en) Immediate membership system telephone betting system
RU215983U1 (en) Device for remote ordering and purchasing services with monitoring of compliance with sanitary and epidemiological rules using a mobile device
US20180341449A1 (en) Display control method, order management method, display control device, and recording medium

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