Intelligent integral type active face recognition attendance management system

Through the intelligent integral active face recognition attendance management system, using deep learning algorithms and dual-channel video streams, it solves the problems of long recognition time and management loopholes in traditional systems, achieves fast and accurate attendance records and effective working hours calculation, and improves attendance. System authenticity and efficiency.

CN118629100APending Publication Date: 2024-09-10ZHONGBEI UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410787386.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The traditional face recognition attendance system requires the cooperation of personnel for calibration, takes a long time to identify, cannot accurately count employees' actual work or study time, has management loopholes, and cannot calculate effective working hours.

Method used

Adopting an intelligent integral active face recognition attendance management system, using three deep learning algorithms to perform real-time face recognition through dual video streams, automatically recording employee entry and exit times, calculating effective working hours, and using lightweight face recognition models and points Formula working hours calculation system to achieve fast and accurate attendance records.

Benefits of technology

It improves the authenticity and efficiency of attendance, provides more accurate and comprehensive attendance data, solves the problems of employees escaping midway and management loopholes, increases the recognition speed by 10 times, makes the experience more comfortable, and supports remote management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629100A
    Figure CN118629100A
Patent Text Reader

Abstract

The invention belongs to the technical field of mode recognition, and particularly relates to an intelligent integral type active face recognition attendance management system. In order to solve the problems that an existing attendance system needs to be actively matched with 1V1 recognition, the supervision performance is weak, effective working hours cannot be calculated and the like, the attendance system comprises a main control unit, a double-channel video acquisition unit, a face recognition unit, an attendance and effective working hour calculation unit, a data storage unit and an image display unit, wherein the double-channel video acquisition unit adopts two IMX219 cameras to acquire all records of employees entering and exiting a workplace; the face recognition unit comprises a face detection module, a face alignment module and a face recognition module which all use lightest models and have higher speed and higher precision; the attendance checking and effective man-hour calculating unit comprises an attendance checking card punching module and an effective man-hour calculating module, and the effective time and the total accumulated man-hour of each employee on duty are obtained through calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of pattern recognition, and in particular relates to an intelligent integral active face recognition attendance management system. Background Art

[0002] With the development of face recognition technology, attendance systems on the market have gradually adopted this technology for attendance management. Traditional face recognition attendance systems are mostly cooperative 1V1 recognition modes, and their operation requires personnel to face the camera equipment in turn for calibration. This mode undoubtedly increases the recognition time, and there is often a phenomenon of multiple people queuing up to wait for recognition and clocking in during get off work. In addition, these systems are usually limited to processing check-ins and check-outs at get off work or at the beginning and end of classes. For in-and-out activities or outings in the middle, their detection and management capabilities are relatively limited. Therefore, such equipment cannot truly reflect the actual working or learning time of employees or students, and there are certain management loopholes.

[0003] In order to overcome the above problems and limitations, the present invention proposes an intelligent integral active face recognition attendance management system. The system uses three deep learning algorithms to realize active recognition that can be completed without the cooperation of employees or students. At the same time, it notifies dual-channel video streams to simultaneously record attendance, and can accurately count the time of each employee's entry and exit, and use this as a benchmark to further calculate the effective working hours. The application of this system will greatly improve the authenticity and efficiency of attendance, and provide management with more accurate and comprehensive attendance data. It effectively solves the loophole that employees only punch in and out of get off work, and cannot be supervised in the middle of the job. Summary of the invention

[0004] In order to solve the shortcomings of active cooperation with 1V1 recognition and the weak supervision performance of the attendance system, the inability to calculate effective working hours, and the problem that workers are prone to escape midway in the above background, the present invention provides an intelligent integral active face recognition attendance management system.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] The present invention provides an intelligent integral active face recognition attendance management system, comprising a main control unit, a dual-channel video acquisition unit, a face recognition unit, an attendance and effective working hours calculation unit, a data storage unit and an image display unit;

[0007] The main control unit is used to obtain the video stream of the dual-channel video acquisition unit, and perform deep learning analysis and process image data;

[0008] The dual-channel video acquisition unit is used to collect real-time video streams of employees entering and leaving the workplace and transmit them to the face recognition unit;

[0009] The face recognition unit includes a face detection module, a face alignment module and a face recognition module. The face detection module receives the collected real-time video stream, processes it to obtain a face detection result, and transmits the face detection result to the face alignment module. The face alignment module performs face alignment on the face detection result and transmits the face alignment result to the face recognition module. The face recognition module obtains a face feature vector and compares and identifies it with the face feature vector in the face database to obtain a face recognition result.

[0010] The attendance and effective working time calculation unit includes an attendance punching module and an effective working time calculation module. The attendance punching module records the punching of employees entering and leaving the workplace based on the face recognition result, and transmits the punching records of employees entering and leaving the workplace to the effective working time calculation module. The effective working time calculation module calculates the effective working hours of the current post according to the difference between the employee's entry and exit punching records, and accumulates the effective working hours of all employees on the job to obtain the total working hours;

[0011] The data storage unit is used to store punch-in records, effective working hours and system files;

[0012] The image display unit is used to display the face recognition result and the punch-in result, and is connected to the main control unit via an HDMI cable.

[0013] Furthermore, the dual-channel video acquisition unit uses two IMX219 cameras, one of which is responsible for recording the facial information of employees entering the workplace, and the other is responsible for recording the facial information of employees leaving the workplace and transmitting it to the face recognition unit; the main control unit is the Jetson nano b014G version, which is connected to the two IMX219 cameras.

[0014] Furthermore, the face detection module detects faces and face frame coordinates from the video stream using an efficient face detector, and the efficient face detector is an SSD architecture implemented by ResNet-10;

[0015] The face alignment module uses the Dlib 68-face landmark detector algorithm to extract 68 key points of the face, and restores the face to a standard posture through linear operations provided by opencv, that is, to obtain an aligned face, and transmits the aligned face to the face recognition module;

[0016] The face recognition module uses VarKFaceNet, a special face recognition model based on convolutional neural network, to extract facial features of aligned faces, obtain 128-dimensional facial feature vectors, and compare and identify them with facial feature vectors in a pre-established face database. When the threshold of the cosine distance between the two facial feature vectors exceeds 0.7, the recognition is judged to be successful.

[0017] Furthermore, the attendance punching module queries whether the face recognition result belongs to the employee recorded in the SQLite database, and if the query is successful, inserts the employee's attendance record into the SQLite database;

[0018] The effective working hours calculation module queries the employee's entry clock-in record and the corresponding exit clock-in record in the SQLite database, calculates the difference to obtain the effective working hours on the job, and accumulates all the employee's effective working hours to obtain the total working hours.

[0019] Furthermore, the attendance punching module is configured to perform a punching record determination operation only once within 6 seconds.

[0020] Furthermore, the data storage unit adopts a 128GSSD solid-state memory stick with an M2.0 interface, and the storage contents include system files, database SQLite files, and face database files.

[0021] Furthermore, the image display unit adopts a 5-inch LCD touch screen.

[0022] Compared with the prior art, the present invention has the following advantages:

[0023] (1) The present invention uses a more reasonable lightweight face recognition solution, and adopts the most lightweight model from face detection, face alignment, and face recognition. It has faster speed and higher accuracy, and is more suitable for deployment on embedded devices. The face recognition clocking speed of the present invention is 0.05S, which is 10 times faster than that of ordinary face recognition attendance machines on the market.

[0024] (2) The present invention innovatively proposes an integral working time calculation system, which obtains all records of employees entering and leaving the workplace through dual-channel video, and performs statistical calculations on them to obtain the effective time of each employee on the job and the total accumulated working hours.

[0025] (3) The present invention has a more comfortable experience than other attendance machines in actual tests. It can automatically identify through the camera without the need for cumbersome operations such as cooperation. At the same time, it can also have a small program for remote management and viewing, which further improves the efficiency of attendance. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic block diagram of the intelligent integral active face recognition attendance management system of the present invention;

[0027] Figure 2 This is a schematic diagram of the workflow of the intelligent integral active face recognition attendance management system of the present invention;

[0028] Figure 3 This is a physical picture of the intelligent integral active face recognition attendance management system of the present invention;

[0029] Figure 4 The variable convolution kernel module of the model VarKFaceNet;

[0030] Figure 5 It is the single-branch structure of the model VarKFaceNet. DETAILED DESCRIPTION

[0031] In order to further illustrate the technical solution of the present invention, the present invention is further described below through embodiments.

[0032] Example 1

[0033] like Figure 1 , 3 As shown, an intelligent integral active face recognition attendance management system of this embodiment includes a main control unit, a dual-channel video acquisition unit, a face recognition unit, an attendance and effective working hours calculation unit, a data storage unit and an image display unit;

[0034] The main control unit is used to obtain the video stream of the dual-channel video acquisition unit, and perform deep learning analysis and process image data. This embodiment uses the Jetsonnano b014G version to connect the two IMX219 cameras of the dual-channel video acquisition unit.

[0035] Dual-channel video acquisition unit: used to collect real-time video streams of employees entering and leaving the workplace and transmit them to the face recognition unit. Specifically, two IMX219 cameras are used, one of which is responsible for recording the facial information of employees entering the workplace, and the other is responsible for recording the facial information of employees leaving the workplace and transmitting it to the face recognition unit.

[0036] Face recognition unit: including face detection module, face alignment module and face recognition module;

[0037] The face detection module receives the collected real-time video stream, processes it to obtain the face detection result, and transmits the face detection result to the face alignment module. In this embodiment, an efficient face detector is used to detect the face and face frame coordinates from the video stream (video frame). The efficient face detector is an SSD architecture implemented by ResNet-10.

[0038] The face alignment module performs face alignment on the face detection result and transmits the face alignment result to the face recognition module. In this embodiment, the Dlib 68-face landmark detector algorithm is used to extract 68 key points of the face, and the face is restored to the standard posture through the linear operation provided by opencv, that is, the aligned face is obtained, and the aligned face is transmitted to the face recognition module;

[0039] The face recognition module obtains a face feature vector, and compares and identifies it with the face feature vector in the face database to obtain a face recognition result. This embodiment uses a special face recognition model VarKFaceNet based on a convolutional neural network to extract face features of the aligned faces, obtain a 128-dimensional face feature vector, and compares and identifies it with the face feature vector in the face database established in advance. When the threshold of the cosine distance between the two face feature vectors exceeds 0.7, the recognition is judged to be successful.

[0040] Attendance and effective working hours calculation unit: including attendance punching module and effective working hours calculation module. The attendance punching module records the punching of employees entering and leaving the workplace based on the face recognition result, and transmits the punching records of employees entering and leaving the workplace to the effective working hours calculation module. The effective working hours calculation module calculates the effective working hours of the current post according to the difference between the employee's entry and exit punching records, and accumulates the effective working hours of all employees on the job to obtain the total working hours;

[0041] The attendance punching module of this embodiment queries whether the face recognition result belongs to the employee recorded in the database SQLite. If the query is successful, the attendance record of the employee is inserted into the database SQLite; the effective working hours calculation module queries the employee's entry punching record and the corresponding exit punching record in the database SQLite, and calculates the difference to obtain the effective working hours on the job, and accumulates all the employee's effective working hours to obtain the total working hours.

[0042] To avoid multiple clocking ins within a short period of time, the attendance clocking module is set to only perform one clocking record operation within 6 seconds.

[0043] Data storage unit: used to store punch-in records, effective working hours and system files, database SQLite files, and face database files. This embodiment uses a 128GSSD solid-state memory stick with an M2.0 interface.

[0044] Image display unit: used to display the results of face recognition and punch-in results, connected to the main control unit via an HDMI cable. This embodiment uses a 5-inch LCD touch screen.

[0045] like Figure 2 As shown, the workflow of this system is as follows:

[0046] (1) When an employee enters the workplace and passes by camera 1, camera 1 transmits video stream 1 to the face detection module.

[0047] (2) The face detection module uses an efficient face detector to detect faces and face frame coordinates from the video stream.

[0048] (3) The face alignment module uses the Dlib 68-face landmark detector algorithm to extract 68 key points of the face, and restores the face to the standard posture through the linear operation provided by OpenCV, that is, to obtain the aligned face. This measure is to better recognize the face and improve the robustness of the face in different postures.

[0049] (4) The face recognition module uses a dedicated face recognition algorithm VarKFaceNet based on a convolutional neural network to extract facial features from the aligned faces, obtain a 128-dimensional facial feature vector, and compare and identify the facial feature vectors in the face database established in advance. When the threshold of the cosine distance between the two facial feature vectors exceeds 0.7, the recognition is considered successful. After successful recognition, the current time is recorded as the time A when the employee entered the workplace, and the record is inserted into the SQLite database.

[0050] (5) Similarly, when an employee leaves the workplace and passes by camera 2, the camera sends the image to the face recognition unit, which recognizes and clocks in to form the employee's departure time B. If no face is detected or recognized, the above process is repeated.

[0051] (6) The recognition results and punch-in results will be displayed in real time through the image display unit. The display screen uses a 5-inch touch screen, which is convenient for smaller volume integration and installation.

[0052] (7) After obtaining a set of entry time records A and exit time records B of an employee, the effective interval time a can be calculated, where the value of a is the time of B minus the time of A; each entry record will form a separate record, and when the next exit record is generated, it will be added to the exit field of the record. If there is no corresponding exit record, the effective time of this record will be recorded as 0.

[0053] (8) Total working hours are the accumulation of each valid working hour. For the convenience of storage, the total working hours are stored in the database table in seconds and converted into hours, minutes and seconds when they need to be displayed.

[0054] (9) After obtaining the attendance data and total working hours calculation results, data transmission is sent to the cloud server through the MQTT protocol. The cloud service then distributes the results to the WeChat applet.

[0055] In summary, the intelligent integral active face recognition attendance management system provided in this embodiment:

[0056] First, high-precision and high-speed face recognition technology, with a recognition accuracy of more than 99.7% and a single recognition speed of 37ms, mainly due to:

[0057] 1) Face detection: An efficient face detector based on the SSD architecture implemented by ResNet-10 is used to crop the input video stream into 300×300 video frames to detect faces and face frame coordinates.

[0058] 2) Face alignment: In order to further improve the robustness of face recognition in different postures, the Dlib68-facelandmark detector algorithm is used.

[0059] 3) Face recognition: A dedicated face recognition model VarKFaceNet based on convolutional neural network is used. This lightweight model first proposes a new variable convolution kernel module, such as Figure 4 As shown in the figure, when the network width increases, the convolution kernel size is dynamically adjusted. The size of the convolution kernel is set according to two criteria: Formula 1 and Formula 2. The former can have stronger feature extraction capabilities, while the latter has fewer parameters. This method of dynamically adjusting the convolution kernel enriches the receptive field of the model. Due to the introduction of large kernel convolution, the feature extraction capability is further enhanced.

[0060] k={k|k 2 <c out ,k is odd}(k=3,5,7,...) (1)

[0061] k={k(k+2) 2 <c out ,kisodd}(k=3,5,7,...) (2)

[0062] Secondly, the trained multi-branch structure is transformed into a single-branch structure through reparameterization technology, such as Figure 5 As shown in Figure 2, this method effectively improves the reasoning speed.

[0063] Finally, the model further enhances the communication between channels through channel confusion technology, which enhances the expressiveness of the model. The smallest model of DGFace is only 2.8MB, accepts an input of 112×112 images, and outputs a 128-dimensional face feature vector.

[0064] Second, the integral working hours are used to calculate the actual effective time each employee is on the job. The specific calculation method is as follows:

[0065] (1) Two AI cameras IMX219 are used to collect video streams of employees entering and leaving the workplace. The video streams are sent to the face recognition unit for comparison and recognition to obtain the attendance records of employees entering and leaving the work area.

[0066] (2) By querying the database, the time records of the personnel's departure and entry are obtained, and the difference is calculated to obtain the personnel's effective working hours for a single time. If there are only entry and departure records in the database, the effective working hours for this time period are recorded as 0. Furthermore, the total working hours are calculated by accumulating the effective working hours of each time.

[0067] The third is to deploy the system on the embedded platform Jetson nano, abandon the traditional cloud-centric AI solution, provide a general architecture for edge perception computing, and produce a physical object. The detailed technical parameters of the physical object are shown in Table 1 below:

[0068] Table 1 Technical parameters of intelligent integral active face recognition system

[0069]

[0070] The above shows and describes the main features and advantages of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the present invention.

[0071] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. An intelligent integral active face recognition attendance management system, characterized in that: It includes a main control unit, a dual-channel video acquisition unit, a face recognition unit, an attendance and effective working hours calculation unit, a data storage unit and an image display unit; The main control unit is used to obtain the video stream of the dual-channel video acquisition unit, and perform deep learning analysis and process image data; The dual-channel video acquisition unit is used to collect real-time video streams of employees entering and leaving the workplace and transmit them to the face recognition unit; The face recognition unit includes a face detection module, a face alignment module and a face recognition module. The face detection module receives the collected real-time video stream, processes it to obtain a face detection result, and transmits the face detection result to the face alignment module. The face alignment module performs face alignment on the face detection result and transmits the face alignment result to the face recognition module. The face recognition module obtains a face feature vector and compares and identifies it with the face feature vector in the face database to obtain a face recognition result. The attendance and effective working time calculation unit includes an attendance punching module and an effective working time calculation module. The attendance punching module records the punching of employees entering and leaving the workplace based on the face recognition result, and transmits the punching records of employees entering and leaving the workplace to the effective working time calculation module. The effective working time calculation module calculates the effective working hours of the current post according to the difference between the employee's entry and exit punching records, and accumulates the effective working hours of all employees on the job to obtain the total working hours; The data storage unit is used to store punch-in records, effective working hours and system files; The image display unit is used to display the face recognition result and the punch-in result, and is connected to the main control unit via an HDMI cable.

2. According to claim 1, the intelligent integral active face recognition attendance management system is characterized in that: The dual-channel video acquisition unit uses two IMX219 cameras, one of which is responsible for recording the facial information of employees entering the workplace, and the other is responsible for recording the facial information of employees leaving the workplace and transmitting it to the face recognition unit; the main control unit is the Jetson nano b014G version, which is connected to the two IMX219 cameras.

3. According to claim 2, the intelligent integral active face recognition attendance management system is characterized in that: The face detection module detects faces and face frame coordinates from a video stream using an efficient face detector, wherein the efficient face detector is an SSD architecture implemented by ResNet-10; The face alignment module uses the Dlib 68-face landmark detector algorithm to extract 68 key points of the face, and restores the face to a standard posture through linear operations provided by opencv, that is, to obtain an aligned face, and transmits the aligned face to the face recognition module; The face recognition module uses VarKFaceNet, a special face recognition algorithm based on convolutional neural network, to extract facial features of aligned faces, obtain a 128-dimensional facial feature vector, and compare and identify the facial feature vectors in a pre-established face database. When the threshold of the cosine distance between the two facial feature vectors exceeds 0.7, the recognition is judged to be successful.

4. According to claim 3, the intelligent integral active face recognition attendance management system is characterized in that: The attendance punching module queries whether the face recognition result belongs to the employee recorded in the SQLite database. If the query is successful, the attendance record of the employee is inserted into the SQLite database; The effective working hours calculation module queries the employee's entry clock-in record and the corresponding exit clock-in record in the SQLite database, calculates the difference to obtain the effective working hours on the job, and accumulates all the employee's effective working hours to obtain the total working hours.

5. The intelligent integral active face recognition attendance management system according to claim 4 is characterized in that: The attendance punching module is set to perform a punching record determination operation only once within 6 seconds.

6. The intelligent integral active face recognition attendance management system according to claim 5, characterized in that: The data storage unit adopts a 128GSSD solid-state memory stick with an M2.0 interface, and stores system files, database SQLite files, and face database files.

7. The intelligent integral active face recognition attendance management system according to claim 6, characterized in that: The image display unit adopts a 5-inch LCD touch screen.

Citation Information

Patent Citations

  • Method and device for determining face detection model and electronic equipment

    CN112115789A

  • Workshop personnel management and control system and method based on face recognition technology

    CN113362020A

  • Company attendance data management system based on face recognition

    CN116824719A

  • Attendance checking data management method, device and equipment and storage medium

    CN117635086A