Face recognition-based anti-squad system and method
Technical Field
The invention relates to the technical field of face recognition, in particular to a face recognition-based anti-squad system and a face recognition-based anti-squad method.
Background
At present, queuing is needed in many public places, such as railway station ticket buying, supermarket checkout, bank transaction, hospital registration and the like, people who queue most urgently are too late to advance, people who queue in sequence are inserted into a team at this time, people who observe the queuing are inevitably anxious, and further the people compete with the team insertion, at present, the method for preventing team insertion is few, passive and innocent problems exist, such as line drawing of queuing by using an isolation rope, but as long as the space where two people are parallel can be accommodated, the team insertion is also available, a single turntable is arranged in front of a ticket window, but the device can only solve the order problem of the current window, the problem of preventing team insertion in the following queuing is not solved, the device is large in size, the ground is damaged, the space is wasted, the harmonious feeling of the whole space is damaged, and the queuing is also in the place with more windows, the queuing condition of each window is difficult to know, so that people waiting for queuing can queue at will, time is wasted, and service efficiency is influenced.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, and an electronic device for controlling a traffic light based on gesture recognition, which are used to solve the problems that the device in the prior art can only solve the order problem of the current window, cannot solve the problem of preventing queue-insertion in the queue behind, is bulky, causes damage to the ground, wastes space and harmony sense of the whole space, and in places with many queue windows, it is difficult to know the queuing situation of each window, so that people waiting for queuing can queue at will, not only wastes time, but also affects the efficiency of service.
In order to achieve the above objects and other related objects, the present invention provides an anti-squad system based on face recognition, which includes an image acquisition module, a face recognition module, a control module, an optical network transmission module, an optical network reception module, an optical network area numbering module, an alarm module, a monitoring module, a communication module and a database module, wherein the control module is respectively in communication connection with the face recognition module, the monitoring module, the optical network area numbering module, the optical network transmission module, the optical network reception module, the database module, the alarm module and the communication module, the image acquisition module is respectively in communication connection with the face recognition module and the monitoring module, the optical network area numbering module is in communication connection with the optical network transmission module, and the alarm module is in communication connection with the communication module.
In an embodiment of the present invention, the image acquisition module is configured to acquire face information of queued people through the monitoring module, and transmit the face information to the face recognition module;
the face recognition module is used for analyzing the face information to extract a face characteristic value, transmitting the face characteristic value to the control module and storing the face characteristic value through the database module;
the optical network transmitting module is used for transmitting light rays under the control of the control module to form two parallel optical network corridors;
the optical network receiving module is used for receiving the light rays emitted by the optical network emitting module;
the optical network area numbering module is used for numbering the optical network areas side by side in sequence and transmitting the numbering numbers on an optical network corridor;
the control module is used for judging that an illegal object passes through the optical network corridor when the fact that the light received by the optical network receiving module is damaged is detected, generating an operation instruction and transmitting the operation instruction to the face recognition module;
the face recognition module is also used for carrying out illegal photographing when the operation instruction is received and transmitting the photographed illegal photo to the control module for storage; the illegal object is detected to reach a specific target position, recognition and shooting are carried out, and the recognition picture is transmitted to the control module to be stored;
the control module is also used for comparing the violation photo with the identification photo, generating a queue-jumping locking signal under the condition that the violation photo is consistent with the identification photo, and giving an alarm through the alarm module.
In an embodiment of the invention, the anti-squad system based on face recognition further comprises a face management module and a display module, wherein the face management module is connected with the face recognition module and used for managing face photos of the face recognition module and separately managing violation photos, and the display module is connected with the control module and used for displaying queuing conditions in real time.
In an embodiment of the present invention, the face recognition module is based on a neural network recognition method.
In an embodiment of the present invention, the optical network emission module includes a laser emitter for projecting light in a grid shape to form an optical network corridor; the optical network area numbering module comprises an LED light emitter for projecting light with numbers on the optical network corridor.
In an embodiment of the present invention, the optical network receiving module includes a laser receiver, and the laser receiver is connected to the control module and is configured to receive laser emitted by the laser emitter.
In an embodiment of the present invention, the control module uses a breadth-first algorithm to traverse the face feature values in the database module.
In an embodiment of the present invention, the alarm module includes a voice prompt module and a flash prompt module, when a violation object passes through the optical network corridor to insert a team, the voice prompt module sends out a team insertion voice prompt, and the flash prompt module generates a flash prompt.
In an embodiment of the present invention, the display module includes a liquid crystal display device for displaying the current queuing window and the number of people in each queuing window.
The invention also provides an anti-squad method based on face recognition, which comprises the anti-squad system based on face recognition, and the anti-squad method based on face recognition comprises the following steps:
monitoring the personnel of lining up through the monitoring module, through image acquisition module gathers the personnel's of lining up face information with face identification module, through optical network emission module and optical network regional numbering module form the optical network corridor with the number, detect the light that optical network receiving module received through control module and lossy the judgement for the object of violation, and send operating instruction and give face identification module and shoot, when finding the object of violation and inserting the team, control module sends voice prompt through alarm module and reports to the police, if the object of violation still is in the state of inserting the team, control module informs the managers through communication module and forces the tube bank.
As described above, the anti-squad system and method based on face recognition of the present invention have the following beneficial effects:
the anti-queue-inserting system based on the face recognition comprises an image acquisition module, a face recognition module, a control module, an optical network transmitting module, an optical network receiving module, an optical network area numbering module, an alarm module, a monitoring module, a communication module and a database module.
According to the invention, the face recognition module can accurately recognize the illegal object of the queue-jumping, the alarm module sends out a voice prompt to give an alarm, and if the illegal object is still in the queue-jumping state, the control module informs the manager to carry out forced tube bundling through the communication module, so that disputes among the queuing personnel are avoided, and the problem of queue-jumping is thoroughly solved.
The invention can manage the violation photos of the queue insertion personnel through the face management module, can prove the violation photos to remind violation objects, can display the queuing condition in real time through the display module, and is convenient for the queue insertion personnel to select different windows to queue according to the queuing condition.
Drawings
Fig. 1 is a block diagram of a structure of a team insertion prevention system based on face recognition according to an embodiment of the present application.
Fig. 2 is a block diagram of a structure of a queue-insertion prevention system based on face recognition according to another embodiment of the present application.
Description of the element reference numerals
1. Control module
2. Acquisition module
3. Face recognition module
4. Monitoring module
5. Optical network area numbering module
6. Optical network transmitting module
7. Optical network receiving module
8. Database module
9. Alarm module
10. Communication module
11. Face management module
12. Display module
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, fig. 1 is a block diagram illustrating a structure of a team insertion prevention system based on face recognition according to an embodiment of the present disclosure. The invention provides an anti-squad system based on face recognition, which comprises an image acquisition module 2, a face recognition module 3, a control module 1, an optical network transmitting module 6, an optical network receiving module 7, an optical network area numbering module 5, an alarm module 9, a monitoring module 4, a communication module 10 and a database module 8, the control module 1 is respectively in communication connection with the face recognition module 3, the monitoring module 4, the optical network area numbering module 5, the optical network transmitting module 6, the optical network receiving module 7, the database module 8, the alarm module 9 and the communication module 10, the image acquisition module 2 is respectively in communication connection with the face recognition module 3 and the monitoring module 4, the optical network area numbering module 5 is in communication connection with the optical network transmitting module 6, and the alarm module 9 is in communication connection with the communication module 10. Through monitoring module 4 monitors the personnel of lining up, through image acquisition module 2 gathers the personnel's of lining up face information with face identification module 3, through optical network emission module 6 and optical network regional numbering module 5, can form the optical network corridor that has the number, detect the light that optical network receiving module 7 received through control module 1 and damage and judge for the object of violation, and send operating instruction to face identification module 3 and shoot for, when discovering that the object of violation inserts the team, control module 1 sends voice prompt through alarm module 9 and reports to the police, if the object of violation still is in the state of inserting the team, control module 1 informs the managers through communication module 10 and forces the tube bank.
The image acquisition module 2 acquires the face information of the queuing personnel through the monitoring module 4 and transmits the face information to the face recognition module 3; the face recognition module 3 is configured to analyze face information, extract a face feature value, transmit the feature value to the control module 1, and store the feature value through the database module 8.
The optical network transmitting module 6 is used for transmitting light under the control of the control module 1 to form two parallel optical network corridors; the optical network receiving module 7 is used for receiving the light rays emitted by the optical network emitting module 6; and the optical network area numbering module 5 is used for numbering in sequence side by side and transmitting the numbering numbers on an optical network corridor, so that ordered queuing can be performed.
The control module 1 is configured to determine that an illegal object passes through the optical network corridor when it is detected that light received by the optical network receiving module 7 is damaged, generate a related operation instruction, and transmit the related operation instruction to the face recognition module 3; the face recognition module 3 is also used for carrying out illegal photographing when receiving the operation instruction and transmitting the photographed illegal photo to the control module 1 for storage; and the system is further used for recognizing and taking pictures when the illegal object is detected to reach a specific target position, and transmitting the recognized pictures to the control module 1 for storage.
The control module 1 is also used for comparing the violation photo with the identification photo, generating a queue-insertion locking signal under the condition that the violation photo is consistent with the identification photo, and giving an alarm through the alarm module 9, if the violation object is still in the queue-insertion state, the control module 1 informs a manager to perform forced tube bundle through the communication module 10, and the queue-insertion problem is completely solved.
The face recognition module 3 is based on a neural network recognition method.
The optical network transmitting module 6 comprises a laser transmitter for projecting latticed light rays to form an optical network corridor; the optical network area numbering module 5 comprises an LED light emitter, and is used for projecting light rays with numbers on an optical network corridor; the optical network receiving module 7 comprises a laser receiver, is connected with the control module 1, and is used for receiving the laser emitted by the laser emitter to form an optical network corridor with ordered specification, so that queuing is facilitated.
In this embodiment, the control module 1 uses a breadth-first algorithm to traverse the face feature values in the database module 8.
In this embodiment, the alarm module 9 includes a voice prompt module and a flash prompt module, when an illegal object passes through the optical network corridor for queue insertion, the voice prompt module sends out a queue insertion voice prompt, and the flash prompt module flashes to prompt, so that the illegal object can be effectively prompted and warned.
As shown in fig. 2, the anti-squad system based on face recognition provided by the invention comprises an image acquisition module 2, a face recognition module 3, a control module 1, an optical network transmission module 6, an optical network receiving module 7, an optical network area numbering module 5, an alarm module 9, a monitoring module 4, a communication module 10 and a database module 8, and further comprises a face management module 11 and a display module 12, wherein the face management module 11 is connected with the face recognition module 3 and is used for managing face photos of the face recognition module 3 and separately managing violation photos; the display module 12 is connected with the control module 1 and is used for displaying queuing conditions in real time.
The face management module 11 is used for managing photos of queuing personnel, can manage violation photos of the queue insertion personnel, can demonstrate the violation photos to remind violation objects, and improves queuing awareness of the queuing personnel.
The display module 12 is a liquid crystal display device, and is used for displaying the current queuing window and the number of people in each queuing window, so that people to be queued can select different windows to queue according to the queuing conditions.
The invention relates to an anti-queue-inserting system based on face recognition, which is characterized in that when the anti-queue-inserting system is used, a monitoring module 4 is used for monitoring queuing personnel, then an image acquisition module 2 and a face recognition module 3 are used for acquiring face information of the queuing personnel monitored by the monitoring module 4, the face information is stored through a database module 8, then an optical network corridor with a serial number is formed through an optical network transmitting module 6 and an optical network area serial number module 5, the control module 1 is used for detecting the damage of an optical line received by an optical network receiving module 7 and judging the damage as an illegal object, and an operation instruction is sent to take a picture of the face recognition module 3, when the illegal object passes through the optical network corridor, the face recognition module 3 is used for taking illegal pictures, and the illegal pictures are transmitted to the control module 1 for storage; when the violation object reaches a specific target position, shooting a recognition photo through the face recognition module 3, and transmitting the recognition photo to the control module 1 for storage; then the control module 1 compares the violation photo with the identification photo, a queue-insertion locking signal is generated under the condition that the violation photo is consistent with the identification photo, then the alarm module 9 gives out a voice prompt to give an alarm, if the violation object is still in the queue-insertion state, the communication module 10 informs a manager to carry out forced tube bundle, the face management module 11 manages and proves the violation photo, the violation object is reminded, the display module 12 displays the queuing condition in real time, and the person to be queued can preferentially select a queuing window to queue conveniently.
The invention also provides an anti-squad method based on face recognition, which comprises the anti-squad system based on face recognition, and the anti-squad method based on face recognition comprises the following steps: monitoring of personnel who queue up through monitoring module 4, through image acquisition module 2 gathers personnel's that queue up face information with face identification module 3, through optical network emission module 6 and optical network regional numbering module 5 form the optical network corridor with the number, detect the light that optical network receiving module 7 received through control module 1 and lose and judge for the object of violation, and send operating instruction and give face identification module 3 and shoot, when finding the object of violation and inserting the team, control module 1 sends voice prompt through alarm module 9 and reports to the police, if the object of violation still is in the state of inserting the team, control module 1 informs the managers through communication module 10 and forces the tube bank.
In summary, the anti-squad system based on face recognition comprises an image acquisition module 2, a face recognition module 3, a control module 1, an optical network transmission module 6, an optical network receiving module 7, an optical network area numbering module 5, an alarm module 9, a monitoring module 4, a communication module 10 and a database module 8. According to the invention, through the optical network transmitting module and the optical network area numbering module, the optical network corridor with numbering can be formed, queuing personnel can be guided to queue orderly, congestion is avoided, and overlong queuing is avoided by arranging a plurality of optical network corridors, so that the queuing space is fully utilized.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.