Disclosure of Invention
The technical problem to be solved by the invention is as follows: in order to overcome the defects of the prior art, the anti-distortion intelligent face recognition device with the automatic focusing function is provided.
The technical scheme adopted by the invention for solving the technical problems is as follows: an anti-distortion intelligent face recognition device with an automatic focusing function comprises a bottom plate, a main body, a display and two supporting mechanisms, wherein the two supporting mechanisms are respectively arranged on two sides above a base;
the shooting mechanism comprises a first motor, a rotary table, a first camera and at least two shooting components, the first motor is fixed on the main body, the first motor and the first camera are both electrically connected with the PLC, the first motor is in transmission connection with the rotary table, the first camera is fixed at the circle center of the rotary table, and the shooting components are uniformly distributed on the periphery of the rotary table in the circumferential direction;
the shooting assembly comprises a first connecting rod, a second connecting rod, a moving plate and a focusing mechanism, one end of the first connecting rod is hinged with the position, far away from the circle center, of the rotary table, the other end of the first connecting rod is hinged with one end of the second connecting rod, the other end of the second connecting rod is fixedly connected with the moving plate, and the focusing mechanism is arranged on the moving plate;
the focusing mechanism comprises a second camera, a driving assembly and two focusing assemblies, the second camera is arranged on the moving plate, the driving assembly is arranged on one side, far away from the turntable, of the second camera, the two focusing assemblies are respectively arranged on two sides of the second camera, and the second camera is electrically connected with the PLC;
the focusing assembly comprises a moving rod, a supporting plate and a plurality of springs, the moving rod is arranged on one side of the supporting plate far away from the second camera, the springs are uniformly arranged between the moving rod and the supporting plate, and the springs are in a compressed state;
the driving assembly comprises a second motor, a half gear and two driving units, the second motor is fixed on the movable plate and electrically connected with the PLC, the second motor is in transmission connection with the half gear, the two driving units are respectively arranged on two sides of the half gear, the driving units correspond to the focusing assemblies one by one, each driving unit comprises a rack and a support, the rack is meshed with the half gear, and the center of the rack is fixedly connected with the movable rod through the support;
in order to support the main body and drive the main body to move, a first camera and a second camera on the main body shoot a human face from different distances, the supporting mechanism comprises a crawler belt (18) and two supporting components, the main body (2) is fixed above the crawler belt (18), the two supporting components are respectively arranged on two sides of the crawler belt (18), each supporting component comprises a third motor (19), a buffer block (20), a third driving shaft (21), a driving wheel (22) and two supporting columns (23), the third motor (19) and the buffer block (20) are respectively fixed above the bottom plate (1) through the two supporting columns (23), the third driving shaft (21) is arranged between the third motor (19) and the buffer block (20), the third motor (19) is electrically connected with the PLC, the third motor (19) is in transmission connection with the driving wheel (22), and the driving wheel (22) is sleeved on the third driving shaft (21), the driving wheels (22) in the two supporting assemblies are respectively arranged at the two ends of the inner side of the crawler belt (18);
the camera lens of the first camera (6) is a short-focus lens, the camera lens of the second camera (10) is a long-focus lens, the support component drives the crawler belt (18) to rotate so as to enable the main body (2) to move, so that the distance between the shooting mechanism and a person to be detected is changed, the second camera (10) shoots the periphery of the face of the person while the first camera (6) shoots, and the judgment capability of the device is prevented from being reduced due to the distorted image shot by the first camera (6) by combining and analyzing the image shot by the second camera (10) and the image shot by the first camera (6); meanwhile, according to the distance between the main body (2) and a person to be detected, the driving assembly drives the abutting plate (12) in the focusing assembly to move so as to adjust the lens angle of the second camera (10), so that the second camera (10) can be ensured to shoot clear images, and the device can conveniently and accurately judge so as to improve the reliability of face recognition of the device.
Preferably, in order to secure the driving force of the first motor, the first motor is a dc servo motor.
Preferably, in order to make the second connecting rod move smoothly, the shooting assembly comprises a fixing ring, the fixing ring is fixed on the main body, and the fixing ring is sleeved on the second connecting rod.
Preferably, in order to ensure the rack and the movable rod to stably move, the bracket is L-shaped, the driving unit further comprises a limiting ring, the limiting ring is sleeved on the bracket, and the limiting ring is fixed on the movable plate.
Preferably, in order to enable the moving rod to move and simultaneously drive the abutting plate to move stably, two balance assemblies are further arranged between the moving rod and the abutting plate, the two balance assemblies are respectively arranged on two sides of the moving rod, each balance assembly comprises a balance rod and a balance pipe, the balance pipe is fixed on the abutting plate, one end of the balance rod is fixed on the moving rod, and the other end of the balance rod is arranged in the balance pipe.
Preferably, the support and the moving rod are integrally formed in order to reinforce the connection between the support and the moving rod.
Preferably, in order to facilitate wireless communication connection, bluetooth is provided in the main body.
Preferably, in order to facilitate detection of the distance between the main body and a person to be detected, an ultrasonic distance meter is arranged below the main body and electrically connected with the PLC.
Preferably, in order to detect whether a person stands on the bottom plate, a pressure sensor is arranged in the bottom plate and is electrically connected with the PLC.
The invention has the advantages that the anti-distortion intelligent face recognition device with the automatic focusing function performs auxiliary shooting through the second camera in the shooting mechanism, prevents the judgment capacity of the equipment from being reduced due to the distorted image shot by the first camera, compared with the existing shooting mechanism, the shooting mechanism has flexible structure, can flexibly adjust the shooting range of the second camera according to the distance between the main body and the person to be detected, not only, but also the focusing mechanism adjusts the angle of the lens of the second camera according to the distance between the main body and the person to enable the focus to fall on the face, thereby ensuring clear image shooting, further improving the reliability and practicability of the face recognition of the equipment, compared with the existing focusing mechanism, the focusing mechanism enables the abutting plate to abut against the focusing ring of the second camera through the spring, simultaneously, the synchronous motion between the moving rod and the abutting plate is ensured by the balance component, thereby improving the reliability of the second camera focusing.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a schematic structural diagram of an anti-distortion intelligent face recognition device with an automatic focusing function according to the present invention;
FIG. 2 is a schematic structural diagram of a photographing mechanism of the anti-distortion intelligent face recognition device with an automatic focusing function according to the present invention;
FIG. 3 is a schematic structural diagram of a focusing mechanism of the anti-distortion intelligent face recognition device with an automatic focusing function according to the present invention;
FIG. 4 is a schematic structural diagram of a supporting mechanism of the anti-distortion intelligent face recognition device with an automatic focusing function according to the present invention;
in the figure: 1. the automatic measuring device comprises a base plate, 2, a main body, 3, a display, 4, a first motor, 5, a rotating disc, 6, a first camera, 7, a first connecting rod, 8, a second connecting rod, 9, a moving plate, 10, a second camera, 11, a moving rod, 12, a supporting plate, 13, a spring, 14, a second motor, 15, a half gear, 16, a rack, 17, a bracket, 18, a crawler belt, 19, a third motor, 20, a buffer block, 21, a third driving shaft, 22, a driving wheel, 23, a support column, 24, a fixing ring, 25, a limiting ring, 26, a balance rod, 27, a balance pipe, 28, an ultrasonic range finder and 29, and a pressure sensor.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
As shown in fig. 1, an anti-distortion intelligent face recognition device with an automatic focusing function comprises a bottom plate 1, a main body 2, a display 3 and two supporting mechanisms, wherein the two supporting mechanisms are respectively arranged at two sides above a base, the main body 2 is erected on the two supporting mechanisms, the supporting mechanisms are in transmission connection with the main body 2, the display 3 is fixed above the main body 2, the main body 2 is provided with a shooting mechanism, and the main body 2 is internally provided with a PLC;
this face recognition device carries out authentication to the personnel of standing on bottom plate 1 when, realizes the support to main part 2 by two supporting mechanism, drives main part 2 and removes, changes main part 2 and wait to detect the distance between the personnel, and the mechanism of making a video recording of being convenient for shoots the image from the distance position of difference, carries out face identification to improve equipment's the reliability of discernment, then show the discernment result by the display screen on the main part 2.
As shown in fig. 2, the shooting mechanism includes a first motor 4, a turntable 5, a first camera 6 and at least two shooting assemblies, the first motor 4 is fixed on the main body 2, the first motor 4 and the first camera 6 are both electrically connected with the PLC, the first motor 4 is in transmission connection with the turntable 5, the first camera 6 is fixed at the center of the turntable 5, and the shooting assemblies are uniformly distributed on the periphery of the turntable 5 in the circumferential direction;
the shooting assembly comprises a first connecting rod 7, a second connecting rod 8, a moving plate 9 and a focusing mechanism, one end of the first connecting rod 7 is hinged with the position, far away from the circle center, of the rotary table 5, the other end of the first connecting rod 7 is hinged with one end of the second connecting rod 8, the other end of the second connecting rod 8 is fixedly connected with the moving plate 9, and the focusing mechanism is arranged on the moving plate 9;
in the shooting mechanism, first camera 6 is fixed for the position of main part 2, and here, first camera 6 can select for use the short-focus lens to guarantee the shooting scope, is convenient for confirm to detect the relative position between personnel's face and the main part 2, then along with the removal of main part 2, the operation of PLC control first motor 4 drives carousel 5 and rotates, through first connecting rod 7, makes second connecting rod 8 drive the focusing mechanism on movable plate 9 and the movable plate 9 and shoot. When the main body 2 is close to the person to be detected, the second connecting rod 8 drives the moving plate 9 to be close to the rotary table 5, the focusing mechanism can conveniently and intensively shoot the face of the person, when the main body 2 is far away from the person to be detected, the second connecting rod 8 drives the moving plate 9 to be far away from the rotary table 5, so that the second cameras 10 in the focusing mechanisms can be scattered to shoot the edge of the face of the person, and the image shot by the first camera 6 is prevented from interfering with the identification of distortion equipment.
As shown in fig. 3, the focusing mechanism includes a second camera 10, a driving assembly and two focusing assemblies, the second camera 10 is disposed on the moving plate 9, the driving assembly is disposed on one side of the second camera 10 away from the turntable 5, the two focusing assemblies are respectively disposed on two sides of the second camera 10, and the second camera 10 is electrically connected to the PLC;
the focusing assembly comprises a moving rod 11, an abutting plate 12 and a plurality of springs 13, wherein the moving rod 11 is arranged on one side of the abutting plate 12 far away from the second camera 10, the springs 13 are uniformly arranged between the moving rod 11 and the abutting plate 12, and the springs 13 are in a compressed state;
the driving assembly comprises a second motor 14, a half gear 15 and two driving units, the second motor 14 is fixed on the moving plate 9, the second motor 14 is electrically connected with the PLC, the second motor 14 is in transmission connection with the half gear 15, the two driving units are respectively arranged on two sides of the half gear 15, the driving units correspond to the focusing assemblies one by one, each driving unit comprises a rack 16 and a support 17, the rack 16 is meshed with the half gear 15, and the center of the rack 16 is fixedly connected with the moving rod 11 through the support 17.
In the focusing mechanism, the second camera 10 performs auxiliary shooting, a telephoto lens is used as a lens of the second camera 10, distortion generated when the second camera 10 shoots is avoided, meanwhile, along with the movement of the main body 2, the second motor 14 in the driving assembly drives the half gear 15 to rotate, the half gear 15 is enabled to act on the racks 16 on two sides in sequence, so that the two racks 16 are far away from each other, and further through the two brackets 17, the movable rods 11 on two sides of the second camera 10 move along opposite directions, the movable rods 11 are enabled to abut against the plate 12 on a focusing ring of the second camera 10 through the compressed springs 13, and therefore the focal length of the lens of the second camera 10 is changed according to the movement of the main body 2. When main part 2 is kept away from and is waited to detect the personnel, the focus increase of second camera 10, when main part 2 is close to and waits to detect the personnel, the focus of second camera 10 reduces, thereby make focusing mechanism can be along with the removal of main part 2, drive the focusing ring of second camera 10 and rotate, make the focus of the camera lens of second camera 10 fall on the people's face, because the long focus camera lens is chooseed for use to the camera lens of second camera 10, therefore when shooing the part of people's face, both avoided the image of gathering to take place the distortion, the definition of image has been guaranteed again simultaneously, the equipment of being convenient for carries out accurate face identification.
As shown in fig. 4, the supporting mechanism includes a crawler belt 18 and two supporting components, the main body 2 is fixed above the crawler belt 18, the two supporting components are respectively disposed on two sides of the crawler belt 18, the supporting components include a third motor 19, a buffer block 20, a third driving shaft 21, a driving wheel 22 and two pillars 23, the third motor 19 and the buffer block 20 are respectively fixed above the bottom plate 1 through the two pillars 23, the third driving shaft 21 is disposed between the third motor 19 and the buffer block 20, the third motor 19 is electrically connected with the PLC, the third motor 19 is in transmission connection with the driving wheel 22, the driving wheel 22 is sleeved on the third driving shaft 21, and the driving wheels 22 in the two supporting components are respectively disposed at two ends of the inner side of the crawler belt 18.
Within the support mechanism, the strut 23 serves to increase the height of the third motor 19 and the buffer block 20, and thus the height of the main body 2. When the people face needs to be shot in a moving mode, the PLC controls the third motor 19 to operate to drive the third driving shaft 21 to rotate, the driving wheel 22 is made to rotate, the driving wheel 22 acts on the crawler belt 18, the crawler belt 18 rotates, the main body 2 above the main body is driven to move in the rotating process of the crawler belt 18, and the distance between the main body 2 and the person to be shot is changed through the translation of the main body 2.
Preferably, the first motor 4 is a dc servo motor in order to ensure the driving force of the first motor 4 by utilizing the characteristic that the driving force of the dc servo motor is strong.
Preferably, in order to make the second link 8 move smoothly, the photographing assembly includes a fixing ring 24, the fixing ring 24 is fixed on the main body 2, and the fixing ring 24 is sleeved on the second link 8. The fixing ring 24 is fixed to the main body 2 so that the second link 8 moves in the axial direction of the fixing ring 24 when moving, thereby ensuring smooth movement of the second link 8 and the moving plate 9.
Preferably, in order to ensure the rack 16 and the moving rod 11 to move smoothly, the bracket 17 is L-shaped, the driving unit further includes a limiting ring 25, the limiting ring 25 is sleeved on the bracket 17, and the limiting ring 25 is fixed on the moving plate 9. The moving direction of the bracket 17 is fixed by the limit ring 25 fixed on the moving plate 9, so that the bracket 17 moves along the axial direction of the limit ring 25, and the rack 16 and the moving rod 11 are driven to move smoothly
Preferably, in order to make the moving rod 11 move and simultaneously drive the abutting plate 12 to move smoothly, two balancing assemblies are further arranged between the moving rod 11 and the abutting rod, the two balancing assemblies are respectively arranged on two sides of the moving rod 11, the balancing assemblies comprise a balancing rod 26 and a balancing pipe 27, the balancing pipe 27 is fixed on the abutting plate 12, one end of the balancing rod 26 is fixed on the moving rod 11, and the other end of the balancing rod 26 is arranged in the balancing pipe 27.
When the moving rod 11 moves, the moving rod 11 drives the balance rod 26 in the balance assembly on both sides to move, and the balance rod 26 drives the balance tube 27 to move, so that the abutting plate 12 moves, and the abutting plate 12 acts on the focusing ring of the second camera 10, so that the moving rod 11 moves, and simultaneously, the focal length of the second camera 10 is changed.
Preferably, the bracket 17 and the movable rod 11 are integrally formed to reinforce the connection between the bracket 17 and the movable rod 11 by utilizing the stability of the integrally formed structure.
Preferably, the main body 2 is provided with bluetooth therein for facilitating wireless communication connection by using the characteristic that bluetooth is capable of wireless communication connection.
Preferably, in order to facilitate the detection of the distance between the main body 2 and the person to be detected, an ultrasonic distance meter 28 is arranged below the main body 2, and the ultrasonic distance meter 28 is electrically connected with the PLC. Ultrasonic signal takes place for ultrasonic range finder 28, meet and wait to detect when personnel, ultrasonic signal returns, thereby through confirming the propagation time of ultrasonic wave analysis main part 2 and wait to detect the distance between the personnel, ultrasonic range finder 28 feeds back this distance information to PLC, the PLC of being convenient for controls the operation of second motor 14 among the focusing mechanism, adjust the focus of second camera 10, make the focus of second camera 10 fall on the people's face, PLC controls first motor 4 operation simultaneously, adjust the distance between movable plate 9 and carousel 5, thereby adjust the shooting scope of second camera 10.
Preferably, in order to detect whether a person stands on the bottom plate 1, a pressure sensor 29 is arranged in the bottom plate 1, and the pressure sensor 29 is electrically connected with the PLC. When someone stands on the bottom plate 1, the pressure sensor 29 in the bottom plate 1 detects pressure data, and the pressure sensor 29 feeds the pressure data back to the PLC, so that the PLC confirms that someone stands on the bottom plate 1, and the PLC controls the shooting mechanism on the main body 2 to operate to recognize the face.
This face recognition device is carrying out face identification in-process, drive track 18 through supporting component and rotate, make main part 2 remove, change and shoot the mechanism and wait to detect personnel's distance, when utilizing first camera 6 to shoot, shoot by second camera 10 to the periphery of people's face, combine the analysis through the image of shooing with second camera 10 and the image of first camera 6 shooting, thereby the distortion image that has prevented first camera 6 to shoot causes the judgment ability decline of equipment, moreover, drive through the drive assembly and lean on board 12 to remove in the subassembly of focusing, adjust the angle of the camera lens of second camera 10, thereby guaranteed that second camera 10 shoots clear image, the equipment of being convenient for carries out accurate judgement, the reliability of the device face identification has been improved.
Compared with the prior art, the anti-distortion intelligent face recognition device with the automatic focusing function performs auxiliary shooting through the second camera 10 in the shooting mechanism, so that the judgment capacity of the equipment is prevented from being reduced due to the distorted image shot by the first camera 6, compared with the prior shooting mechanism, the shooting mechanism has a flexible structure, the shooting range of the second camera 10 can be flexibly adjusted according to the distance between the main body 2 and a person to be detected, and moreover, the focusing mechanism adjusts the angle of the lens of the second camera 10 according to the distance between the main body 2 and the person to enable the focus to fall on the face, so that the image shooting is clear, the reliability and the practicability of the face recognition of the equipment are improved, compared with the prior focusing mechanism, the focusing mechanism enables the leaning plate 12 to lean against the focusing ring of the second camera 10 through the spring 13, and simultaneously, the synchronous motion between the moving rod 11 and the leaning plate 12 is ensured by the balance component, thereby improving the reliability of the focusing of the second camera 10.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.