Intelligent regulation and control anti-collision face recognition system based on Internet of things and use method thereof
Technical Field
The invention relates to the technical field of face recognition, in particular to an intelligent regulation and control anti-collision face recognition system based on the Internet of things and a use method thereof.
Background
The face recognition system takes a face recognition technology as a core, widely adopts a regional characteristic analysis algorithm, integrates a computer image processing technology and a biological statistics principle, extracts a person image characteristic point from a video by using the computer image processing technology, analyzes and establishes a mathematical model by using the biological statistics principle, and is widely applied to the security industry.
The face recognition access control system is equipment developed based on the face recognition access control system, and is applied to various social industries, but the existing face recognition access control equipment has some defects. Face identification entrance guard must gather and just can handle after will the people's face, but because equipment can't remove after being installed, consequently to some too high or too low people of height come, need oneself to fill up actions such as foot or bow and just can pass through entrance guard, and is not very convenient during the use. The gate has the advantages that when a pedestrian passes through the gate, the pedestrian can collide with the gate when the pedestrian continues to walk without noticing the closing of the gate, if the pedestrian travels at an excessively high speed, the collision force is large, the pedestrian is easily damaged, and meanwhile, the gate is also easily broken and damaged.
Disclosure of Invention
The invention aims to provide an intelligent regulation and control anti-collision face recognition system based on the Internet of things and a use method thereof, which are used for overcoming the defects in the prior art.
The invention relates to an intelligent regulation and control anti-collision human face recognition system based on the Internet of things, which comprises a left gate machine arranged on the ground and a right gate machine arranged on the ground on the right side of the left gate machine, wherein a detection cavity with a forward opening is arranged in the left gate machine, a first motor is arranged in the left wall of the detection cavity, a motor shaft is arranged on the right side surface of the first motor, a face recognition machine is fixedly arranged on the motor shaft, a first sliding groove is arranged above the detection cavity, a shielding plate is connected in the first sliding groove in a sliding manner, a first sliding rail is communicated with the top wall of the first sliding groove, a first moving block fixedly connected with the top surface of the shielding plate is connected in the first sliding rail in a sliding manner, a control cavity is arranged below the first sliding groove, a first gear meshed with the bottom surface of the shielding plate is connected in the control cavity in a rotating manner, and a second motor for controlling the rotation of the first, a second sliding groove with a leftward opening is formed in the right side face of the left gate, a gate box is connected in the second sliding groove in a sliding manner, second sliding rails with symmetrical positions are communicated and arranged in the upper wall and the lower wall of the second sliding groove, a second moving block fixedly connected with the upper face and the lower face of the gate box is connected in the second sliding rail in a sliding manner, the rear side face of the second moving block is fixedly connected with the rear wall of the second sliding rail through a first spring, a swinging groove penetrating through the two faces of the right side face and the rear side face is formed in the right side face of the gate box, a first rotating shaft is rotatably connected between the upper wall and the lower wall of the swinging groove, a sleeve is fixedly arranged on the first rotating shaft, a gate is fixedly arranged on the outer side face of the sleeve, a power cavity is arranged below the swinging groove, the first rotating shaft extends downwards into the power cavity and is rotatably connected with the bottom wall of the power cavity, and a, the power cavity is characterized in that a third motor is fixedly arranged on the left wall of the power cavity, a second rotating shaft is installed on the right side face of the third motor, a first fixed block is fixedly arranged on the bottom wall of the power cavity on the right side of the second rotating shaft, a third rotating shaft is connected in the first fixed block in a rotating mode, a second bevel gear meshed with the first bevel gear is fixedly arranged at the tail end of the right side of the third rotating shaft, the second rotating shaft is connected with the third rotating shaft through a switching device, and an anti-collision device which gives an alarm when a pedestrian rushes to a card is arranged in the power cavity.
Optionally, the switching device includes a second rotating wheel fixedly arranged at the end of the left side of the third rotating shaft, a rotating groove with a leftward opening is formed in the left side surface of the second rotating wheel, a third sliding groove which is symmetrical in position and penetrates through the outer surface of the second rotating wheel is communicated in the side wall of the rotating groove, a linkage block is connected in the third sliding groove in a sliding manner, a fourth sliding groove is communicated on the right side of the third sliding groove through a third sliding rail, a driving block is connected in the fourth sliding groove in a sliding manner, the outer side surface of the driving block is fixedly connected with the outer wall of the fourth sliding groove through a second spring, an electromagnet is arranged in the side wall of the fourth sliding groove close to the axis of the second rotating wheel, a connecting rod is fixedly connected with the linkage block and the driving block on two sides respectively in a sliding manner in the third sliding rail, and a first rotating wheel extending into the rotating groove is fixedly arranged at the end of the right side of, the outer surface of the first rotating wheel is fixedly provided with a limiting groove.
Optionally, the anti-collision device includes a second fixed block disposed between the upper wall and the lower wall of the power cavity and sleeved outside the second rotating shaft, a support rod with a vertical symmetry is fixedly disposed on a right side surface of the second fixed block, an anti-slip block is fixedly disposed at a right end of the support rod, a second gear capable of meshing with the linkage block is sleeved outside the second rotating wheel, an annular groove is disposed in the second gear, the support rod extends into the annular groove, the anti-slip block sliding in the annular groove is fixedly disposed at a right end of the support rod, a threaded shaft is rotatably connected to a left wall of the power cavity behind the second gear, a third gear meshed with the second gear is fixedly disposed at a right end of the threaded shaft, a third moving block is connected to the threaded shaft by a thread, and a left side surface of the third moving block is fixedly connected to a left wall of the power cavity by a third spring sleeved outside the threaded shaft, a fourth slide rail is communicated with the rear wall of the power cavity, and a trigger block fixedly connected with the rear side face of the third moving block is slidably connected in the fourth slide rail.
Optionally, a processor is arranged in the left gate.
Optionally, a ball machine is arranged in the right side face of the left gate machine behind the second sliding groove, and a control button capable of controlling the ball machine to start the snapshot is fixedly arranged on the left wall of the fourth sliding rail.
Optionally, the recognizer front side is equipped with the recognizer, the recognizer below is equipped with the camera, the camera below is equipped with the display screen.
Optionally, tempered glass is arranged at the opening of the detection cavity.
A use method of an intelligent regulation and control anti-collision face recognition system based on the Internet of things comprises the following specific steps:
firstly, mounting a left gate on the ground, and mounting a right gate on the bottom surface of the right side of the left gate, so that a pedestrian can pass between the left gate and the right gate;
secondly, when a pedestrian needs to pass through the entrance guard, the pedestrian stands in front of the left gate, the face recognition machine recognizes the position of the face of the pedestrian through the recognizer, signals are transmitted to the processor to judge whether the position of the face is correct, after deviation occurs in the position, the processor controls the first motor to be started, the face recognition machine is driven by the motor shaft to rotate to adjust the angle, then the face of the pedestrian is captured by the camera and displayed in the display screen, and the height range of the pedestrian which can be recognized by the face recognition machine can be increased;
thirdly, comparing the captured face of the pedestrian with a database in the processor, controlling the third motor and the electromagnet to start after the comparison is successful, when the electromagnet is started, attracting the driving block to move towards the direction close to the electromagnet, driving the linkage block to move towards the direction close to the rotating groove through the connecting rod by the driving block, enabling the linkage block to enter the limiting groove, driving the first rotating wheel to rotate through the second rotating shaft after the third motor is started, driving the second rotating wheel to rotate through the linkage block by the first rotating wheel, driving the second bevel gear to rotate through the third rotating shaft by the second bevel gear, driving the gate to rotate and open through the sleeve by the first rotating shaft, and allowing the pedestrian to pass through;
fourthly, under the condition of no permission, when a pedestrian rushes to block, the electromagnet is not started, the second spring drives the driving block to move towards the direction far away from the rotating groove, the connecting rod drives the linkage block to move towards the direction far away from the rotating groove, so that the linkage block is meshed with the second gear, when the pedestrian rushes to block, acting force is generated on the gate, the gate and the sleeve drive the first rotating shaft to rotate, the first rotating shaft drives the second bevel gear to rotate through the first bevel gear, the second bevel gear drives the second rotating wheel to rotate through the third rotating shaft, the second rotating wheel drives the second gear to rotate through the linkage block, the second gear drives the threaded shaft to rotate through the third gear, the threaded shaft drives the third moving block to move leftwards when rotating, the third moving block moves leftwards to compress the third spring, and simultaneously the first rotating shaft also drives the gate box to move backwards in the second sliding groove, the second moving block moves backwards in the second sliding rail to compress the first spring, so that the impact force generated when a pedestrian impacts the card is converted into the elastic force of the third spring and the first spring, the force borne by the gate is reduced, and the gate is prevented from being broken;
fifthly, when the trigger block moves in the fourth slide rail, the control button can be pressed, the control ball machine starts the face of the hedge card pedestrian to capture, and uploads the face to the cloud database to be stored, and meanwhile, after the control button is triggered, the processor sends an alarm signal to a guard;
sixthly, when bad weather such as hail, the processor controls the second motor to start, and the shielding plate is driven by the first gear to move outside the first sliding groove, so that the toughened glass is protected.
The invention has the beneficial effects that:
firstly, the face position of the pedestrian is judged through the identification instrument, the angle of the face recognition machine can be automatically adjusted according to the height of the pedestrian, the height range of the pedestrian which can be identified by the face recognition machine can be increased, and the condition that the height of the pedestrian is required to be adjusted by the pedestrian when the height is too high or too low is avoided;
secondly, the anti-collision device is arranged, the connection object of the first rotating shaft is changed under the condition that the electromagnet is electrified or not electrified, the first rotating shaft and the threaded shaft are driven when the electromagnet is not electrified, the impact force generated by a pedestrian on the gate can be generated by impacting a card, and after the force is transmitted to the threaded shaft by the first rotating shaft, the impact force of the pedestrian on the gate can be converted into the elastic force of the spring, so that the damage to the body of the pedestrian when the pedestrian impacts the gate at an excessively high speed is avoided, and the gate can be prevented from being broken;
thirdly, the invention is provided with the shielding plate which can be unfolded in severe weather such as hail and the like to protect the toughened glass.
Drawings
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention.
Fig. 1 is a schematic structural diagram of an intelligent-control collision-prevention face recognition system based on the internet of things;
FIG. 2 is a schematic view of the structure at A-A in FIG. 1;
FIG. 3 is a schematic diagram of the power chamber of FIG. 1;
FIG. 4 is a schematic diagram of the structure of the switching device of FIG. 3;
fig. 5 is a schematic view of the structure at B-B in fig. 3.
Detailed Description
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top/bottom", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Referring to fig. 1 to 5, according to an embodiment of the present invention, the intelligent-control collision-prevention human face recognition system based on the internet of things includes a left gate 15 installed on the ground and a right gate 24 installed on the ground on the right side of the left gate 15, a detection cavity 32 with a forward opening is provided in the left gate 15, a first motor is provided in the left wall of the detection cavity 32, a motor shaft 70 is installed on the right side surface of the first motor, a face recognition unit 14 is fixedly provided on the motor shaft 70, a first sliding groove 25 is provided above the detection cavity 32, a shielding plate 27 is slidably connected in the first sliding groove 25, a first sliding rail 28 is communicated in the top wall of the first sliding groove 25, a first moving block 26 fixedly connected to the top surface of the shielding plate 27 is slidably connected in the first sliding rail 28, a control cavity 30 is provided below the first sliding groove 25, a first gear 29 engaged with the bottom surface of the shielding plate 27 is rotatably connected in the control cavity 30, a second motor for controlling the rotation of the first gear 29 is arranged in the left wall of the control cavity 30, a second sliding groove 33 with a leftward opening is arranged in the right side surface of the left gate 15, a gate box 17 is connected in the second sliding groove 33 in a sliding manner, second sliding rails 35 with symmetrical positions are arranged in the upper and lower walls of the second sliding groove 33 in a communicating manner, a second moving block 16 fixedly connected with the upper and lower surfaces of the gate box 17 is connected in the second sliding rail 35 in a sliding manner, the rear side surface of the second moving block 16 is fixedly connected with the rear wall of the second sliding rail 35 through a first spring 34, a swing groove 18 penetrating through the right side surface and the rear side surface is arranged in the right side surface of the gate box 17, a first rotating shaft 21 is rotatably connected between the upper and lower walls of the swing groove 18, a sleeve 19 is fixedly arranged on the first rotating shaft 27, a gate 20 is fixedly arranged on the outer side surface of the sleeve 19, a power cavity 37 is arranged below, the first rotating shaft 21 extends downwards into the power cavity 37 and is connected with the bottom wall of the power cavity 37 in a rotating mode, a first bevel gear 46 is fixedly arranged on the first rotating shaft 21 in the power cavity 37, a third motor 39 is fixedly arranged on the left wall of the power cavity 37, a second rotating shaft 40 is installed on the right side face of the third motor 39, a first fixing block 47 is fixedly arranged on the bottom wall of the power cavity 37 on the right side of the second rotating shaft 40, a third rotating shaft 45 is connected to the first fixing block 47 in a rotating mode, a second bevel gear 44 meshed with the first bevel gear 46 is fixedly arranged at the tail end of the right side of the third rotating shaft 45, the second rotating shaft 40 is connected with the third rotating shaft 45 through a switching device 101, and an anti-collision device 102 for giving an alarm when a pedestrian rushes to block a card is arranged in the power cavity 37.
Preferably, the switching device 101 includes a second rotating wheel 49 fixedly disposed at the left end of the third rotating shaft 45, a rotating groove 51 with a leftward opening is disposed in the left side surface of the second rotating wheel 49, a third sliding groove 55 which is symmetrical in position and penetrates through the outer surface of the second rotating wheel 49 is disposed in the side wall of the rotating groove 51, a linkage block 50 is slidably connected in the third sliding groove 55, a fourth sliding groove 59 is disposed in the right side of the third sliding groove 55 through a third sliding rail 56, a driving block 60 is slidably connected in the fourth sliding groove 59, the outer side surface of the driving block 60 is fixedly connected with the outer wall of the fourth sliding groove 59 through a second spring 58, an electromagnet 61 is disposed in the side wall of the fourth sliding groove 59 close to the axis of the second rotating wheel 49, a connecting rod 57 is slidably connected in the third sliding rail 56, and both sides of which are fixedly connected with the linkage block 50 and the driving block 60 respectively, the end of the right side of the second rotating shaft 40 is fixedly provided with a first rotating wheel 54 extending into the rotating groove 51, the outer surface of the first rotating wheel 54 is fixedly provided with a limiting groove 53, the third motor 39 and the gate 20 can complete power transmission only when the electromagnet 61 is started, and in an un-started state, the third motor 39 locks the second rotating shaft 40, so that the second rotating shaft 40 is prevented from rotating due to the fact that the gate 20 is manually rotated, and the second rotating shaft 40 is enabled to be twisted and damaged.
Preferably, the anti-collision device 102 includes a second fixed block 38 disposed between the upper and lower walls of the power cavity 37 and sleeved outside the second rotating shaft 40, a support rod 42 with symmetrical up and down positions is fixedly disposed on the right side of the second fixed block 38, an anti-slip block 43 is fixedly disposed at the right end of the support rod 42, a second gear 41 capable of engaging with the linkage block 50 is sleeved outside the second rotating wheel 49, an annular groove 48 is disposed in the second gear 41, the support rod 42 extends into the annular groove 48, an anti-slip block 43 sliding in the annular groove 48 is fixedly disposed at the right end of the support rod 42, a threaded shaft 63 is rotatably connected to the left wall of the power cavity 37 behind the second gear 41, a third gear 62 engaged with the second gear 41 is fixedly disposed at the right end of the threaded shaft 63, and a third moving block 64 is threadedly connected to the threaded shaft 63, the left side surface of the third moving block 64 is fixedly connected with the left wall of the power cavity 37 through a third spring 67 sleeved outside the threaded shaft 63, a fourth slide rail 66 is arranged in the rear wall of the power cavity 37 in a communicating manner, and a trigger block 65 fixedly connected with the rear side surface of the third moving block 64 is connected in the fourth slide rail 66 in a sliding manner, so that the impulsive force generated when a pedestrian rushes to a card is converted into the elastic force of the third spring 67 and the first spring 34, the force borne by the gate 20 is reduced, and the gate 20 is prevented from being broken.
Preferably, a processor 36 is arranged in the left gate 15, and the processor 36 can control the first motor, the second motor, the third motor 39 and the electromagnet 61 to be started.
Preferably, a ball machine 22 is arranged in the right side face of the left gate 15 behind the second sliding groove 33, a control button 71 capable of controlling the ball machine 22 to start the snapshot is fixedly arranged on the left wall of the fourth sliding rail 66, and the ball machine 22 can identify the face of a person who punches a card and take a snapshot of the face of the person.
Preferably, the front side of the face recognition machine 14 is provided with a recognizer 11, a camera 12 is arranged below the recognizer 11, and a display screen 13 is arranged below the camera 12.
Preferably, the opening of the detection cavity 32 is provided with a tempered glass 31, and the tempered glass 31 can protect the face recognition machine 14.
A use method of an intelligent regulation and control anti-collision face recognition system based on the Internet of things comprises the following specific steps:
a first step of installing a left gate 15 on the ground and a right gate 24 on the bottom surface of the right side of the left gate 15 so that a pedestrian can pass between the left gate 15 and the right gate 24;
secondly, when a pedestrian needs to pass through the entrance guard, the pedestrian stands in front of the left gate 15, the face recognition machine 14 recognizes the face position of the pedestrian through the recognizer 11, signals are transmitted to the processor 36 to judge whether the face position is correct, after deviation occurs in the position, the processor 36 controls the first motor to be started, the face recognition machine 14 is driven to rotate through the motor shaft 70 to adjust the angle, then the face of the pedestrian is captured by the camera 12 and displayed in the display screen 13, and the height range of the pedestrian which can be recognized by the face recognition machine 14 can be increased;
thirdly, comparing the captured face of the pedestrian with the database in the processor 36, controlling the third motor 39 and the electromagnet 61 to start after the comparison is successful, when the electromagnet 61 is started, attracting the driving block 60 to move towards the direction close to the electromagnet 61, the driving block 60 driving the linkage block 50 to move towards the direction close to the rotation groove 51 through the connecting rod 57, so that the linkage block 50 enters the limiting groove 53, at this time, the third motor 39 drives the first rotation wheel 54 to rotate through the second rotation shaft 40 after being started, the first rotation wheel 54 drives the second rotation wheel 49 to rotate through the linkage block 50, the second rotation wheel 49 drives the second rotation gear 44 to rotate through the third rotation shaft 45, the second rotation gear 44 drives the first rotation shaft 21 to rotate through the first bevel gear 46, the first rotation shaft 21 drives the gate 20 to rotate through the sleeve 19, and the pedestrian is allowed to pass through; fourthly, under the condition of no allowing, when a pedestrian rushes to block, the electromagnet 61 is not started, the second spring 58 drives the driving block 60 to move towards the direction far away from the rotating groove 51, the connecting rod 57 drives the linkage block 50 to move towards the direction far away from the rotating groove 51, so that the linkage block 50 is meshed with the second gear 41, when the pedestrian rushes to block, acting force is generated on the gate 20, the gate 20 and the sleeve 19 drive the first rotating shaft 21 to rotate, the first rotating shaft 21 drives the second bevel gear 44 to rotate through the first bevel gear 46, the second bevel gear 44 drives the second rotating wheel 49 to rotate through the third rotating shaft 45, the second rotating wheel 49 drives the second gear 41 to rotate through the linkage block 50, the second gear 41 drives the threaded shaft 63 to rotate through the third gear 62, the third moving block 64 is driven to move leftwards when the threaded shaft 63 rotates, and the third moving block 64 moves leftwards to compress the third spring 67, meanwhile, the first rotating shaft 21 also drives the gate box 17 to move backwards in the second sliding groove 33, the second moving block 16 moves backwards in the second sliding rail 35 to compress the first spring 34, the impulsive force generated when a pedestrian rushes to be blocked is converted into the elastic force of the third spring 67 and the first spring 34, the force borne by the gate 20 is reduced, and the gate 20 is prevented from being broken;
fifthly, when the trigger block 65 moves in the fourth slide rail 66, the control button 71 can be pressed, the control ball machine 22 starts to capture the face of the punched card pedestrian and uploads the face to the cloud database for storage, and meanwhile, after the control button 71 is triggered, the processor 36 sends an alarm signal to a guard;
sixthly, when bad weather such as hail, the processor 36 controls the second motor to start, and the shielding plate 27 is driven by the first gear 29 to move out of the first sliding groove 25, so that the toughened glass 31 is protected.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.