CN111429599A - Attendance machine based on face recognition and body temperature measurement and attendance detection method - Google Patents

Attendance machine based on face recognition and body temperature measurement and attendance detection method Download PDF

Info

Publication number
CN111429599A
CN111429599A CN202010353442.XA CN202010353442A CN111429599A CN 111429599 A CN111429599 A CN 111429599A CN 202010353442 A CN202010353442 A CN 202010353442A CN 111429599 A CN111429599 A CN 111429599A
Authority
CN
China
Prior art keywords
face
attendance
central controller
body temperature
face recognition
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
CN202010353442.XA
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.)
Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd
Original Assignee
Fujian Huichuan Internet Of Things Technology Science And 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 Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd filed Critical Fujian Huichuan Internet Of Things Technology Science And Technology Co ltd
Priority to CN202010353442.XA priority Critical patent/CN111429599A/en
Publication of CN111429599A publication Critical patent/CN111429599A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/20Clinical contact thermometers for use with humans or animals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/141Control of illumination
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Abstract

The application relates to an attendance machine based on face recognition and body temperature measurement and an attendance detection method, wherein the attendance machine comprises a shell, an image acquisition device, a display device, a temperature detection device and a central controller; image acquisition device, display device, temperature-detecting device all with central controller electric connection, image acquisition device is used for gathering real-time video picture and inputs real-time video picture to central controller, and display device is used for showing the real-time video picture and the calibration coordinate of central controller input, and temperature-detecting device is used for detecting the forehead temperature of people's face and inputs the forehead temperature of people's face to central controller. According to the method and the device, the body temperature detection can be completed and the detection result can be recorded while the face recognition attendance is carried out. Meanwhile, the method has the advantages of low labor cost, low material cost, capability of reducing the risk of virus and bacteria propagation generated by close contact and capability of preventing photo attack.

Description

Attendance machine based on face recognition and body temperature measurement and attendance detection method
Technical Field
The application relates to the field of detection, in particular to an attendance machine based on face recognition and body temperature measurement and an attendance detection method.
Background
When epidemic situation is prevented and controlled, the scheme of the human face attendance machine and the handheld body temperature detector is adopted, a special person is required to manually measure the body temperature of the staff, the manpower cost is increased, and meanwhile, the virus and bacterium infection risks are brought; if the scheme of the human face attendance machine and the body temperature measuring door is used, the human face attendance machine and the body temperature measuring door need to be separately deployed and managed, the labor cost and the material cost are increased, and data integration is not convenient.
Disclosure of Invention
The application aims to provide an attendance machine based on face recognition and body temperature measurement and an attendance detection method, which are used for adding a temperature detection device on the basis of the face attendance machine, further completing body temperature detection and recording detection results while carrying out face recognition attendance. Meanwhile, the attendance machine and the attendance detection method based on face recognition and body temperature measurement have the advantages of being low in labor cost and material cost, capable of reducing virus and bacteria propagation risks generated by close-range contact and capable of preventing photo attacks.
The first aspect of the application discloses an attendance machine based on face recognition and body temperature measurement, which comprises a shell, and an image acquisition device, a display device, a temperature detection device and a central controller which are arranged in the shell;
the image acquisition device is electrically connected with the central controller and is used for acquiring a real-time video picture and inputting the real-time video picture to the central controller;
the display device is electrically connected with the central controller and is used for displaying the real-time video picture and the calibration coordinate input by the central controller;
the temperature detection device is electrically connected with the central controller and is used for detecting the forehead temperature of the face and inputting the forehead temperature of the face to the central controller.
In this application first aspect, through the temperature of temperature-detecting device detectable user forehead department, can gather user's people's face through image acquisition device, and then can carry out face identification, generate attendance record and record user's body temperature to the user through central controller, so, just can carry out attendance record and body temperature record to the user simultaneously, and then reduced manpower, material resources cost. On the other hand, because the attendance machine of this application has reduced temperature-detecting device's handheld personnel quantity or has avoided needing artifical handheld personnel to hold temperature-detecting device, and then can reduce the produced virus of closely contacting between operating personnel and the user, bacterium spread the risk. On the other hand, the attendance detection method carries out face recognition and generates attendance record and temperature record when the effective forehead temperature is detected, so that photo attack can be avoided. In the prior art, the human face attendance machine does not have a device for detecting body temperature, but needs to be combined with a handheld body temperature detector or a body temperature measuring door for use, wherein the human face attendance machine and the handheld body temperature detector are combined for use in a mode that a specially-assigned person needs to detect the body temperature of a user in a handheld manner, so that the human cost is increased, and meanwhile, the risk of virus and bacterial infection is brought; the human face attendance machine and the body temperature measuring door are combined for use, need to be separately deployed and managed, increase the labor cost and the material cost, and are inconvenient for integrating data.
As an alternative embodiment, the image capturing device, the display device, and the temperature detecting device are all disposed at an end of the housing facing the user.
In this alternative embodiment, the image acquisition device, the display device, and the temperature detection device may be disposed at an end of the housing facing the user.
As an alternative embodiment, the display device is arranged directly below the image acquisition device.
In this alternative embodiment, the display device may be disposed directly below the image capture device.
As an alternative embodiment, the temperature detection device, the image acquisition device, and the display device are arranged in a vertically aligned manner.
In this alternative embodiment, the temperature detection device, the image capture device, and the display device may be arranged in a vertically aligned manner.
In an alternative embodiment, the temperature detection device is an infrared temperature measurement sensor.
In this alternative embodiment, an infrared temperature sensor may be used as the temperature detection device.
As an optional implementation manner, the attendance machine further includes a distance measuring device, the distance measuring device is installed inside the housing, the distance measuring device is electrically connected with the central controller, and the distance measuring device is configured to send a start signal to the central controller when detecting that the face exists within a preset range.
In this optional embodiment, the distance measuring device may be configured to detect whether the face exists within a preset range, and send a start signal to the central controller if the face exists within the preset range. Therefore, when the distance measuring device detects that the human face does not exist in the preset range, the central controller is not started, power consumption of the central controller is further reduced, and electric energy can be saved.
As an optional implementation manner, the housing includes a first through hole and a second through hole, the first through hole is a transmitting port of the distance measuring device, and the second through hole is a receiving port of the distance measuring device.
In this alternative embodiment, the first through hole and the second through hole may be respectively used as a transmitting port and a receiving port of the distance measuring device, so that the distance measuring device can respectively transmit the distance measuring radiation and receive the reflection line of the distance measuring radiation through the transmitting port and the receiving port.
As an optional implementation manner, the attendance machine further includes a light supplement device, the light supplement device is electrically connected to the central controller, and the light supplement device is configured to receive a light supplement signal output by the central controller and is turned on or turned off according to the light supplement signal.
In this optional embodiment, the light supplement device can supplement light for the image acquisition device, and thus the face recognition rate under a dark light condition can be improved.
As an optional implementation manner, the light supplement device is disposed at the upper left of the image acquisition device.
In this optional embodiment, the light supplement device is disposed at the upper left of the image capture device, and light can be supplemented to the image capture device by the light supplement device.
As an optional implementation manner, the attendance machine further includes a speaker device, the speaker device is electrically connected to the central controller, and the speaker device is configured to receive the prompt signal output by the central controller and play a prompt sound according to the prompt signal.
In this alternative embodiment, the speaker means can facilitate the playing of prompts to the user.
The second aspect of the application discloses an attendance detection method based on face recognition and body temperature measurement, wherein the attendance detection method is applied to a central controller and comprises the following steps:
when a user aims at the calibration coordinates on the display device, receiving real-time video picture information sent by the image acquisition device;
analyzing the real-time video picture according to a machine vision algorithm and a human face detection algorithm to detect whether a human face exists in the real-time video picture;
when the real-time video picture is detected to have the face, acquiring key point pixel coordinates of the face in the real-time video picture according to a face key point algorithm, wherein the key point pixel coordinates at least comprise left canthus pixel coordinates and right canthus pixel coordinates;
judging whether the human face is in a face position;
when the face is judged to be in the face position, calculating the pixel coordinate of the forehead center point of the face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate;
calculating whether the pixel difference between the pixel coordinate of the forehead center point of the face and the calibration coordinate of the display device is smaller than a preset threshold value or not, if so, sending a temperature detection instruction to a temperature detection device so that the temperature detection device detects the forehead temperature of the face;
and finishing the recognition of the face according to a face recognition algorithm and a face library, generating an attendance record, and recording the forehead temperature of the face.
The attendance detection method based on face recognition and body temperature measurement in the second aspect of the application can detect whether a face exists in a real-time video picture, if so, the pixel coordinates of the key points of the face in the real-time video picture are obtained, then when the face is in the face position, whether the pixel difference between the pixel coordinates of the forehead center point of the face and the calibration coordinates of the display device is smaller than a preset threshold value or not is calculated, if so, the temperature detected by the temperature detection device can be recorded, and the face is recognized and an attendance record is generated according to the face recognition algorithm and the face library. Compared with the prior art, the attendance detection method based on face recognition and body temperature measurement can complete attendance recording and body temperature recording at the same time, and further reduces the cost of manpower and material resources. On the other hand, the attendance detection method based on face recognition and body temperature measurement can reduce the number of the hand-held personnel of the temperature detection device, and further can reduce the virus and bacteria propagation risk generated by close contact between an operator and a user. On the other hand, the attendance detection method based on face recognition and body temperature measurement performs face recognition and generates attendance record and temperature record when the effective forehead temperature is detected, so that photo attack can be avoided. In the prior art, the human face attendance machine does not have a device for detecting body temperature, but needs to be combined with a handheld body temperature detector or a body temperature measuring door for use, wherein the human face attendance machine and the handheld body temperature detector are combined for use in a mode that a specially-assigned person needs to detect the body temperature of a user in a handheld manner, so that the human cost is increased, and meanwhile, the risk of virus and bacterial infection is brought; the human face attendance machine and the body temperature measuring door are combined for use, and need to be separately deployed and managed, so that the labor cost and the material cost are increased, and the data integration is not convenient.
As an optional implementation, the calculating the pixel coordinate of the forehead center point of the human face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate includes:
and calculating the pixel coordinate of the forehead center point of the face according to an isosceles right triangle relation formed by the left eye corner pixel coordinate, the right eye corner pixel coordinate and the pixel coordinate of the forehead center point of the face.
In this optional embodiment, the pixel coordinate of the forehead center point of the human face can be calculated according to an isosceles right triangle relationship formed by the left eye corner pixel coordinate, the right eye corner pixel coordinate, and the pixel coordinate of the forehead center point of the human face.
As an optional implementation manner, the calibration coordinate is an average value of imaging coordinates of a falling point of the temperature detection device in a video frame when a distance between the human face and the display device is within a preset range.
As an optional implementation manner, before the analyzing the real-time video picture according to a machine vision algorithm and a face detection algorithm to detect whether a face exists in the real-time video picture, the attendance detection method further includes:
and receiving a starting signal sent by the distance measuring device when the distance measuring device detects that the user exists in the preset range in real time and executing starting.
In this alternative embodiment, the central controller can be activated when receiving the activation signal, thereby saving power.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an attendance machine based on face recognition and body temperature measurement according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an attendance detection method based on face recognition and body temperature measurement according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another attendance detection method based on face recognition and body temperature measurement according to an embodiment of the present application;
wherein the reference numerals are: the device comprises a shell 1, a temperature detection device 2, an image acquisition device 3, a display device 4, a transmitting opening 5 and a receiving opening 6.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the present invention product is usually put into use, it is only for convenience of describing the present application and simplifying the description, but it is not intended to 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 application.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
It should be noted that the attendance machine and the attendance detection method based on face recognition and body temperature measurement according to the present application can be applied not only to the scene of attendance detection for employees, but also to the scene of visitor registration, and therefore, the application of the present application to different application scenes falls within the scope of rights and interests claimed by the present application on the premise of not departing from the inventive idea of the present application.
Example one
Referring to fig. 1, fig. 1 is a schematic structural diagram of an attendance machine based on face recognition and body temperature measurement according to an embodiment of the present application. As shown in fig. 1, the attendance machine based on face recognition and body temperature measurement comprises a housing 1, and an image acquisition device 3, a display device 4, a temperature detection device 2 and a central controller which are installed in the housing 1, wherein the image acquisition device 3 is electrically connected with the central controller, the image acquisition device 3 is used for acquiring a real-time video picture and inputting the real-time video picture to the central controller, on the other hand, the display device 4 is electrically connected with the central controller, and the display device 4 is used for displaying the real-time video picture and calibration coordinates which are input by the central controller; temperature-detecting device 2 and central controller electric connection, temperature-detecting device 2 is used for detecting the forehead temperature of people's face and inputs the forehead temperature of people's face to central controller.
In the embodiment of the present application, the image capturing device 3 is preferably a camera, so that the camera can detect the surrounding environment in real time and form a real-time video picture.
In the embodiment of the present application, preferably, the central controller may be a single chip microcomputer.
In the embodiment of the present application, the display device 4 may preferably be a liquid crystal display screen.
In this application embodiment, through the temperature of temperature-detecting device 2 detectable user forehead department, can gather user's people's face through image acquisition device 3, and then can carry out face identification, generate attendance record to the user through central controller to record user's body temperature, so, just can carry out attendance record and body temperature record to the user simultaneously, and then reduced manpower, material resources cost. On the other hand, because the attendance machine of this application has reduced temperature-detecting device 2's handheld personnel quantity or has avoided needing personnel to hand temperature-detecting device, and then can reduce the produced virus of closely contacting between operating personnel and the user, bacterium spread the risk. On the other hand, the attendance detection method carries out face recognition and generates attendance record and temperature record when the effective forehead temperature is detected, so that photo attack can be avoided. In the prior art, the human face attendance machine does not have a device for detecting body temperature, but needs to be combined with a handheld body temperature detector or a body temperature measuring door for use, wherein the human face attendance machine and the handheld body temperature detector are combined for use in a mode that a specially-assigned person needs to detect the body temperature of a user in a handheld manner, so that the human cost is increased, and meanwhile, the risk of virus and bacterial infection is brought; the human face attendance machine and the body temperature measuring door are combined for use and need to be separately deployed and managed, so that the labor cost and the material cost are increased, and data integration is not convenient.
As an alternative embodiment, the image capturing device 3, the display device 4, and the temperature detecting device 2 are disposed at one end of the housing 1 facing the user.
In this alternative embodiment, the image acquisition device 3, the display device 4, and the temperature detection device 2 may be disposed at one end of the housing 1 facing the user.
As an alternative embodiment, the display device 4 is arranged directly below the image acquisition device 3.
In this alternative embodiment, the display device 4 may be disposed directly below the image pickup device 3.
As an alternative embodiment, the temperature detection device 2, the image capture device 3, and the display device 4 are arranged in a vertically aligned manner.
In this alternative embodiment, the temperature detection device 2, the image capture device 3, and the display device 4 may be arranged in a vertically aligned manner.
As an alternative embodiment, the temperature detection device 2 is an infrared temperature measurement sensor.
In this alternative embodiment, an infrared temperature sensor may be used as the temperature detection device 2.
As an optional implementation mode, the attendance machine further comprises a distance measuring device, the distance measuring device is installed inside the shell 1 and electrically connected with the central controller, and the distance measuring device is used for sending a starting signal to the central controller when detecting that a human face exists in a preset range.
In this optional embodiment, the distance measuring device may be configured to detect whether a human face exists within a preset range, and send a start signal to the central controller if the human face exists within the preset range. Therefore, when the distance measuring device detects that the human face does not exist in the preset range, the central controller is not started, power consumption of the central controller is further reduced, and electric energy can be saved.
Illustratively, when the distance measuring device detects that the user is within 20cm of the attendance machine, the distance measuring device generates an activation signal and sends the activation signal to the central controller, thereby waking up the central controller from a sleep state.
As an alternative embodiment, the housing 1 includes a first through hole and a second through hole, the first through hole is the transmitting opening 5 of the distance measuring device, and the second through hole is the receiving opening 5 of the distance measuring device.
In this alternative embodiment, the first through hole and the second through hole may be used as the transmitting port 5 and the receiving port 5 of the distance measuring device, respectively, so that the distance measuring device can transmit the distance measuring radiation and receive the reflected radiation of the distance measuring radiation through the receiving port 5 and the receiving port 5, respectively.
As an optional implementation manner, the attendance machine further includes a light supplement device, the light supplement device is electrically connected to the central controller, and the light supplement device is used for receiving a light supplement signal output by the central controller and is turned on or turned off according to the light supplement signal.
Exemplarily, the central controller can judge whether the current time interval is in the evening according to the system time, and if so, the attendance machine is determined to work under the condition of darker light, and at the moment, the central controller sends a starting signal to the light supplementing device, so that the light supplementing device starts to work.
In this optional embodiment, the light supplement device can supplement light for the image acquisition device 3, and thus the face recognition rate under a dark light condition can be improved.
In this optional embodiment, the light supplement device may be a light supplement lamp.
As an alternative embodiment, the light supplement device is disposed at the upper left of the image capture device 3.
In this optional embodiment, the light device is disposed at the upper left of the image capturing device 3, and the light supplement device can supplement light to the image capturing device 3.
As an optional implementation manner, the attendance machine further comprises a speaker device, the speaker device is electrically connected with the central controller, and the speaker device is used for receiving the prompt signal output by the central controller and externally playing a prompt sound according to the prompt signal.
In this alternative embodiment, the speaker means can facilitate the playing of prompts to the user.
Illustratively, when face recognition is completed, the speaker plays a prompt to the user that the card punch was successful.
Example two
Referring to fig. 2, fig. 2 is a view illustrating an attendance detection method based on face recognition and body temperature measurement according to an embodiment of the present application, where the attendance detection method based on face recognition and body temperature measurement is applied to a central controller. As shown in fig. 2, the attendance detection method based on face recognition and body temperature measurement includes:
s101, receiving real-time video picture information sent by an image acquisition device when a user aims at a calibration coordinate on a display device;
s102, analyzing a real-time video image according to a machine vision algorithm and a human face detection algorithm to detect whether a human face exists in the real-time video image;
s103, when the real-time video picture is detected to have a human face, obtaining key point pixel coordinates of the human face in the real-time video picture according to a human face key point algorithm, wherein the key point pixel coordinates at least comprise left canthus pixel coordinates and right canthus pixel coordinates;
s104, judging whether the face is in the face position, and calculating the pixel coordinate of the forehead center point of the face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate when the face is judged to be in the face position;
s105, calculating whether the pixel difference between the pixel coordinate of the forehead center point of the face and the calibration coordinate of the display device is smaller than a preset threshold value or not, and if so, sending a temperature detection instruction to the temperature detection device to enable the temperature detection device to detect the forehead temperature of the face;
and S106, finishing the face recognition according to a face recognition algorithm and a face library, generating an attendance record, and recording the forehead temperature of the face.
The attendance detection method based on face recognition and body temperature measurement can detect whether a face exists in a real-time video picture, if so, the pixel coordinates of the key points of the face in the real-time video picture are obtained, further, when the face is in the face position, whether the pixel difference between the pixel coordinates of the forehead center point of the face and the calibration coordinates of the display device is smaller than a preset threshold value or not is calculated, if so, the temperature detected by the temperature detection device and the face temperature are detected, the face recognition is completed according to a face recognition algorithm and a face library, and an attendance record is generated. Compared with the prior art, the attendance detection method based on face recognition and body temperature measurement can complete attendance recording and body temperature recording at the same time, and further reduces the cost of manpower and material resources. On the other hand, the attendance detection method based on face recognition and body temperature measurement can reduce the number of hand-held personnel of the temperature detection device or avoid the hand-held temperature detection device of personnel, and further can reduce the virus and bacteria propagation risk generated by close contact between an operator and a user. On the other hand, the attendance detection method based on face recognition and body temperature measurement performs face recognition and generates attendance record and temperature record when the effective forehead temperature is detected, so that photo attack can be avoided. In the prior art, the human face attendance machine does not have a device for detecting body temperature, but needs to be combined with a handheld body temperature detector or a body temperature measuring door for use, wherein the human face attendance machine and the handheld body temperature detector are combined for use in a mode that a specially-assigned person needs to detect the body temperature of a user in a handheld manner, so that the human cost is increased, and meanwhile, the risk of virus and bacterial infection is brought; the human face attendance machine and the body temperature measuring door are combined for use, and need to be separately deployed and managed, so that the labor cost and the material cost are increased, and the data integration is not convenient.
As an optional implementation manner, the specific way of calculating the pixel coordinate of the forehead center point of the human face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate is as follows:
and calculating the pixel coordinate of the forehead center point of the face according to an isosceles right triangle relation formed by the left eye corner pixel coordinate, the right eye corner pixel coordinate and the pixel coordinate of the forehead center point of the face.
In this optional embodiment, the pixel coordinate of the forehead center point of the human face can be calculated according to an isosceles right triangle relationship formed by the left eye corner pixel coordinate, the right eye corner pixel coordinate, and the pixel coordinate of the forehead center point of the human face.
As an alternative embodiment, the calibration coordinates are the average value of imaging coordinates of a falling point of the temperature detection device in the video frame when the distance between the human face and the display device is within a preset range.
In this alternative embodiment, the predetermined range may be 30cm to 50 cm.
As an alternative embodiment, an obvious mark is additionally displayed at the calibration coordinate of the display device, so that the user is guided to quickly align the forehead position with the calibration coordinate through the mark, and the success rate and speed of face recognition, attendance and body temperature measurement are improved.
Exemplarily, a cross wire is added at the calibration coordinate of the display device, so that a user can quickly align the forehead position to the calibration coordinate according to the picture of the display device, thereby improving the success rate and speed of face recognition, attendance and body temperature measurement.
EXAMPLE III
Referring to fig. 3, fig. 3 is a view illustrating an attendance detection method based on face recognition and body temperature measurement according to an embodiment of the present application, where the attendance detection method based on face recognition and body temperature measurement is applied to a central controller, and as shown in fig. 3, the attendance detection method based on face recognition and body temperature measurement includes:
s201, receiving a starting signal sent by a distance measuring device when the distance measuring device detects that a user exists in a preset range in real time and executing starting;
s202, receiving real-time video picture information sent by an image acquisition device when a user aims at a calibration coordinate on a display device;
s203, analyzing the real-time video image according to a machine vision algorithm and a human face detection algorithm to detect whether a human face exists in the real-time video image;
s204, when the real-time video picture is detected to have a human face, acquiring key point pixel coordinates of the human face in the real-time video picture according to a human face key point algorithm, wherein the key point pixel coordinates at least comprise left canthus pixel coordinates and right canthus pixel coordinates;
s205, judging whether the face is in the face position, and when the face is judged to be in the face position, calculating a pixel coordinate of a forehead center point of the face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate;
s206, calculating whether the pixel difference between the pixel coordinate of the forehead center point of the face and the calibration coordinate of the display device is smaller than a preset threshold value or not, and if so, sending a temperature detection instruction to the temperature detection device to enable the temperature detection device to detect the forehead temperature of the face;
and S207, recognizing the face according to a face recognition algorithm and a face library, generating an attendance record, and recording the forehead temperature of the face.
The attendance detection method based on face recognition and body temperature measurement in the embodiment of the application realizes the technical effect of the first embodiment of the application, and can also enable the central controller to be started when receiving the starting signal, thereby saving electric energy.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. An attendance machine based on face recognition and body temperature measurement is characterized by comprising a shell, an image acquisition device, a display device, a temperature detection device and a central controller, wherein the image acquisition device, the display device, the temperature detection device and the central controller are arranged in the shell;
the image acquisition device is electrically connected with the central controller and is used for acquiring a real-time video picture and inputting the real-time video picture to the central controller;
the display device is electrically connected with the central controller and is used for displaying the real-time video picture and the calibration coordinate input by the central controller;
the temperature detection device is electrically connected with the central controller and is used for detecting the forehead temperature of the face and inputting the forehead temperature of the face to the central controller.
2. The attendance machine based on face recognition and body temperature measurement as claimed in claim 1, wherein the image acquisition device, the display device and the temperature detection device are all disposed at an end of the housing facing a user.
3. The attendance machine based on face recognition and body temperature measurement of claim 1, wherein the display device is disposed directly below the image acquisition device.
4. The attendance machine based on face recognition and body temperature measurement as claimed in claim 1, wherein the temperature detection device, the image acquisition device and the display device are arranged in a vertically aligned manner.
5. The attendance machine based on face recognition and body temperature measurement as claimed in any one of claims 1 to 4, wherein the temperature detection means is an infrared temperature measurement sensor.
6. The attendance machine based on face recognition and body temperature measurement of claim 1, further comprising a distance measuring device, wherein the distance measuring device is installed inside the housing, the distance measuring device is electrically connected with the central controller, and the distance measuring device is configured to send an activation signal to the central controller when the face is detected to be present within a preset range.
7. The attendance machine based on face recognition and body temperature measurement of claim 6, wherein the housing comprises a first through hole and a second through hole, the first through hole being a transmitting port of the distance measuring device, the second through hole being a receiving port of the distance measuring device.
8. The attendance machine based on face recognition and body temperature measurement of claim 1, further comprising a light supplement device, wherein the light supplement device is electrically connected with the central controller, and the light supplement device is configured to receive a light supplement signal output by the central controller and to be turned on or turned off according to the light supplement signal.
9. The attendance machine based on face recognition and body temperature measurement of claim 8, wherein the light supplementing device is arranged at the upper left of the image acquisition device.
10. The attendance machine based on face recognition and body temperature measurement of claim 1, further comprising a speaker device, wherein the speaker device is electrically connected with the central controller, and the speaker device is used for receiving the prompt signal output by the central controller and playing out a prompt sound according to the prompt signal.
11. An attendance detection method based on face recognition and body temperature measurement is characterized in that the attendance detection method is applied to a central controller and comprises the following steps:
when a user aims at the calibration coordinates on the display device, receiving real-time video picture information sent by the image acquisition device;
analyzing the real-time video picture according to a machine vision algorithm and a human face detection algorithm to detect whether a human face exists in the real-time video picture;
when the real-time video picture is detected to have the face, acquiring key point pixel coordinates of the face in the real-time video picture according to a face key point algorithm, wherein the key point pixel coordinates at least comprise left canthus pixel coordinates and right canthus pixel coordinates;
judging whether the human face is in a face position;
when the face is judged to be in the face position, calculating the pixel coordinate of the forehead center point of the face according to the left eye corner pixel coordinate and the right eye corner pixel coordinate;
calculating whether the pixel difference between the pixel coordinate of the forehead center point of the face and the calibration coordinate of the display device is smaller than a preset threshold value or not, if so, sending a temperature detection instruction to a temperature detection device so that the temperature detection device detects the forehead temperature of the face;
and finishing the recognition of the face according to a face recognition algorithm and a face library, generating an attendance record, and recording the forehead temperature of the face.
12. The attendance detection method based on face recognition and body temperature measurement of claim 11, wherein the calculating of the pixel coordinates of the forehead center point of the face from the left-eye corner pixel coordinates and the right-eye corner pixel coordinates comprises:
and calculating the pixel coordinate of the forehead center point of the face according to an isosceles right triangle relation formed by the left eye corner pixel coordinate, the right eye corner pixel coordinate and the pixel coordinate of the forehead center point of the face.
13. The attendance detection method based on face recognition and body temperature measurement as claimed in claim 11, wherein the calibration coordinates are an average value of imaging coordinates of a falling point of the temperature detection device in a video picture when the distance between the face and the display device is within a preset range.
14. The attendance detection method based on face recognition and body temperature measurement as claimed in claim 11, wherein before the analyzing the real-time video picture according to a machine vision algorithm and a face detection algorithm to detect whether a face is present in the real-time video picture, the attendance detection method further comprises:
and receiving a starting signal sent by the distance measuring device when the distance measuring device detects that the user exists in the preset range in real time and executing starting.
CN202010353442.XA 2020-04-29 2020-04-29 Attendance machine based on face recognition and body temperature measurement and attendance detection method Pending CN111429599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010353442.XA CN111429599A (en) 2020-04-29 2020-04-29 Attendance machine based on face recognition and body temperature measurement and attendance detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010353442.XA CN111429599A (en) 2020-04-29 2020-04-29 Attendance machine based on face recognition and body temperature measurement and attendance detection method

Publications (1)

Publication Number Publication Date
CN111429599A true CN111429599A (en) 2020-07-17

Family

ID=71554844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010353442.XA Pending CN111429599A (en) 2020-04-29 2020-04-29 Attendance machine based on face recognition and body temperature measurement and attendance detection method

Country Status (1)

Country Link
CN (1) CN111429599A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932702A (en) * 2020-08-13 2020-11-13 惠州市格讯信息产业有限公司 Multifunctional morning check instrument detection method, system and equipment
CN112381694A (en) * 2020-12-09 2021-02-19 兰和科技(深圳)有限公司 Campus public health comprehensive intelligent control system and method based on Internet
CN112800965A (en) * 2021-01-27 2021-05-14 成都佳发安泰教育科技股份有限公司 Distributed body temperature detection registration method and system
CN113034770A (en) * 2021-03-12 2021-06-25 福建库克智能科技有限公司 Face recognition machine capable of accurately measuring body temperature and recognition method
CN114038077A (en) * 2021-10-29 2022-02-11 金陵科技学院 Temperature measurement system is signed in with special use of epidemic situation prevention and control in classroom

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932702A (en) * 2020-08-13 2020-11-13 惠州市格讯信息产业有限公司 Multifunctional morning check instrument detection method, system and equipment
CN112381694A (en) * 2020-12-09 2021-02-19 兰和科技(深圳)有限公司 Campus public health comprehensive intelligent control system and method based on Internet
CN112381694B (en) * 2020-12-09 2021-06-22 兰和科技(深圳)有限公司 Campus public health comprehensive intelligent control system and method based on Internet
CN112800965A (en) * 2021-01-27 2021-05-14 成都佳发安泰教育科技股份有限公司 Distributed body temperature detection registration method and system
CN112800965B (en) * 2021-01-27 2023-11-24 成都佳发安泰教育科技股份有限公司 Distributed body temperature detection registration method and system
CN113034770A (en) * 2021-03-12 2021-06-25 福建库克智能科技有限公司 Face recognition machine capable of accurately measuring body temperature and recognition method
CN114038077A (en) * 2021-10-29 2022-02-11 金陵科技学院 Temperature measurement system is signed in with special use of epidemic situation prevention and control in classroom

Similar Documents

Publication Publication Date Title
CN111429599A (en) Attendance machine based on face recognition and body temperature measurement and attendance detection method
CN109381165B (en) Skin detection method and mobile terminal
CN108012026B (en) Eyesight protection method and mobile terminal
CN108354526B (en) Security method and device for sweeping robot
CN108446638B (en) Identity authentication method and device, storage medium and electronic equipment
CN105844209B (en) visitor identification based on infrared radiation detection
CN108229420B (en) Face recognition method and mobile terminal
CN109068116B (en) Image processing method and device based on supplementary lighting, mobile terminal and storage medium
CN110062171B (en) Shooting method and terminal
CN109525837B (en) Image generation method and mobile terminal
CN110807405A (en) Detection method of candid camera device and electronic equipment
CN110874905A (en) Monitoring method and device
CN110536479A (en) Object transmission method and electronic equipment
CN112084813A (en) Abnormal target detection method and device and storage medium
CN108280405A (en) A kind of method and apparatus of vehicle obstacle-avoidance
CN108629280A (en) Face identification method and mobile terminal
US20140036056A1 (en) Monitoring system and monitoring method thereof
CN212341918U (en) Attendance machine based on face identification and body temperature measurement
CN112632510A (en) Information protection method and storage medium
CN112784323A (en) Information protection device and electronic equipment
CN112733673A (en) Content display method and device, electronic equipment and readable storage medium
CN111711796A (en) Intelligent human shape detection system
CN109104522B (en) Face recognition method and mobile terminal
CN108734001B (en) User identity authentication method and mobile terminal
CN112991439A (en) Method, apparatus, electronic device, and medium for positioning target object

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