Attendance system and method, storage medium and electronic device

By integrating information collection, temperature judgment and mask judgment components into the attendance system, attendance registration can be carried out without taking off the mask, which solves the problems of slow clock-in speed and infectious disease risk in the existing system, and improves attendance efficiency and Security.

CN112488647BActive Publication Date: 2024-09-06BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011345580.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-09-06
Estimated Expiration
2040-11-25

AI Technical Summary

Technical Problem

The existing attendance system requires employees to take off their masks for facial recognition and body temperature measurement when clocking in, resulting in slow clocking in and the risk of the spread of respiratory infectious diseases.

Method used

Design an attendance system, including an information collection component, a temperature judgment component and a mask judgment component. By collecting the user's head image and temperature information, it can judge whether the user is wearing the mask correctly and whether the body temperature is within the preset range. If the conditions are met, proceed Check attendance and avoid taking off masks and taking temperature alone.

Benefits of technology

It improves the speed of clocking in, reduces the risk of spreading respiratory infectious diseases, and protects the health and safety of employees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112488647B
    Figure CN112488647B
Patent Text Reader

Abstract

The present disclosure relates to the field of computers, and specifically to an attendance system, an attendance method, a non-transient readable storage medium of a computer, and an electronic device. The system includes: an information acquisition component for collecting a user's head image and the user's head temperature information; a temperature judgment component for obtaining the user's head temperature information and judging whether the head temperature information meets a preset condition; a mask judgment component for obtaining the target area features of the head image and judging whether the user wears a mask correctly according to the target area features; an attendance registration component for identifying the user according to the target area features of the head image when the head temperature information meets the preset conditions and the user wears the mask correctly, and selecting whether to register the user for attendance according to the recognition result. Through the technical solution of the embodiment of the present disclosure, attendance registration can be completed when the user's head temperature information meets the preset conditions and the mask is worn correctly.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In today's society, there are many ways to record attendance, such as fingerprint attendance, card attendance, face recognition attendance, paper attendance, etc. Since face recognition attendance is more convenient and does not cause the phenomenon of proxy swiping, it has become the way many companies conduct attendance.

[0003] With people's increasing concern about health and the spread of respiratory infectious diseases, wearing masks and measuring body temperature have become important ways to prevent infectious diseases. With the existing attendance equipment, employees need to take off their masks to clock in, and temperature measurement personnel need to be reorganized to measure body temperature.

[0004] However, the method of taking off the mask to clock in for facial recognition is slow because the mask needs to be taken off and the body temperature needs to be measured, and there is a risk of spreading respiratory infectious diseases.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide an attendance system, an attendance method, a computer non-transitory readable storage medium and an electronic device. Attendance registration can only be completed when the user's head temperature information meets preset conditions and the mask is worn correctly.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of the present disclosure, there is provided an attendance system, comprising: an information collection component, for collecting a head image of a user and head temperature information of the user; a temperature judgment component, for obtaining the head temperature information of the user and judging whether the head temperature meets a preset condition; a mask judgment component, for obtaining target area features of the head image and judging whether the user is wearing a mask correctly according to the target area features; an attendance registration component, for performing user identification according to the target area features of the head image when the head temperature information meets the preset condition and the user is wearing a mask correctly, and selecting whether to perform attendance registration for the user according to the identification result.

[0009] Optionally, based on the above-mentioned solution, the information collection component includes: a video collection unit, used to obtain the video picture information stream corresponding to the user, and capture the head image of the user in the video picture information stream.

[0010] Optionally, based on the above-mentioned solution, the information acquisition component is a temperature measurement and imaging component.

[0011] Optionally, based on the above scheme, the preset condition includes a preset interval, and judging whether the head temperature information meets the preset condition includes: obtaining the preset interval; when the value of the head temperature information is within the preset interval, determining that the head temperature information meets the preset condition.

[0012] Optionally, based on the aforementioned scheme, the mask judgment component includes: a feature extraction unit, used to obtain the head image of the user, and obtain the target area features of the user according to a face recognition algorithm; a feature determination unit, used to compare the target area features with multiple facial features in a feature database, and when the similarity between the target area features and the facial features is greater than a preset threshold, the facial features are determined as the facial features of the user; a feature comparison unit, used to compare the facial features of the corresponding user after association with the target area features, and when the height of the target area features meets the preset height condition, it is determined that the user is wearing the mask correctly.

[0013] Optionally, based on the aforementioned scheme, when the height of the target area feature meets a preset height condition, determining that the user is wearing the mask correctly includes: obtaining the first area feature height and the second area feature height of the target area feature; when the first area feature height is the same as the second area feature height and is less than a preset height condition, determining that the user is wearing the mask correctly.

[0014] Optionally, based on the above-mentioned scheme, the attendance registration component includes: a condition judgment unit, used to judge whether the head temperature information meets the preset conditions and whether the user wears the mask correctly; a user search unit, used to search for the corresponding user in the attendance list according to the facial features; an attendance recording unit, used to record the user's attendance registration time and the user's head temperature information; an attendance prompt unit, used to prompt the user that the attendance registration is successful.

[0015] Optionally, based on the aforementioned scheme, the system also includes an error reminder component, which includes: a temperature reminder unit, used to prompt the user that the head temperature information does not meet the preset conditions and the attendance registration fails; a mask reminder unit, used to prompt the user that the mask is not worn correctly and the attendance registration fails.

[0016] Optionally, based on the aforementioned scheme, the attendance reminder unit, temperature reminder unit, and mask reminder unit include: obtaining the text content to be prompted, and outputting the text content in the form of voice broadcast.

[0017] Optionally, based on the aforementioned scheme, the system includes a picture deduplication component, including: an information acquisition unit; used to acquire multiple head images of the same user and preset standards; a picture selection unit, used to select one of the multiple head images of the same user according to preset standards and determine it as the head image.

[0018] According to a second aspect of the present disclosure, a method for attendance is provided, including: collecting a head image of a user and head temperature information of the user; obtaining the head temperature information of the user, and judging whether the head temperature meets a preset condition; obtaining a target area feature of the head image, and judging whether the user wears a mask correctly according to the target area feature; when the head temperature information meets the preset condition and the user wears a mask correctly, performing user identification according to the target area feature of the head image, and selecting whether to perform attendance registration for the user according to the identification result.

[0019] According to a third aspect of the present disclosure, a computer non-transitory readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the attendance method as described in the second aspect of the above embodiment is implemented.

[0020] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:

[0021] Processor; and

[0022] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the attendance method as described in the second aspect of the above embodiment.

[0023] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0024] An attendance system provided in an embodiment of the present disclosure includes: an information collection component that can collect head images and head temperature information; a temperature judgment component that can judge whether the head temperature information meets the preset conditions; a mask judgment component that can judge whether the user wears the mask correctly; and an attendance registration component that completes the attendance registration when the user's head temperature information meets the preset conditions and the mask is worn correctly. The scheme of the present disclosure, on the one hand, can measure the body temperature of employees when conducting attendance, and there is no need to organize temperature measurement personnel to measure the body temperature separately, thereby improving the speed of clocking in; on the other hand, when conducting attendance, it is not necessary to take off the mask to complete the attendance clocking in, which can improve the speed of clocking in; on the other hand, since it is not necessary to take off the mask to complete the attendance clocking in, the spread of respiratory infectious diseases can be avoided, thereby protecting the life and health of employees.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0027] Figure 1 A schematic diagram showing an exemplary system architecture of an attendance system to which the embodiments of the present disclosure can be applied;

[0028] Figure 2 A schematic diagram schematically shows the composition of an attendance system in an exemplary embodiment of the present disclosure;

[0029] Figure 3 A schematic diagram schematically illustrates a screen collected by an information collection component in an exemplary embodiment of the present disclosure;

[0030] Figure 4 A schematic diagram schematically illustrates the composition of a picture deduplication component in an exemplary embodiment of the present disclosure;

[0031] Figure 5 A flowchart schematically illustrates a method of determining whether a value of a user's head temperature information is within a preset interval in an exemplary embodiment of the present disclosure;

[0032] Figure 6 A schematic diagram schematically illustrates a method of obtaining regional features of a user in an exemplary embodiment of the present disclosure;

[0033] Figure 7 The composition diagram of the mask judgment component in the exemplary embodiment of the present disclosure is schematically shown;

[0034] Figure 8 A schematic diagram schematically showing target area features and face features in an exemplary embodiment of the present disclosure;

[0035] Fig. 9 A schematic diagram schematically illustrates a method for determining that a user is wearing a mask correctly in an exemplary embodiment of the present disclosure;

[0036] Fig.10 Schematically showing a flow chart of determining that a user is wearing a mask correctly according to the first characteristic area height and the second characteristic area height in an exemplary embodiment of the present disclosure;

[0037] Fig.11A schematic diagram schematically shows how to determine that a user is wearing a mask correctly according to the first characteristic area height and the second characteristic area height in an exemplary embodiment of the present disclosure;

[0038] Fig.12 A schematic diagram schematically shows how to determine that a user is not wearing a mask correctly based on the height of the first characteristic area and the height of the second characteristic area in an exemplary embodiment of the present disclosure;

[0039] Fig.13 A schematic diagram schematically illustrates the composition of the attendance registration component in an exemplary embodiment of the present disclosure;

[0040] Fig.14 A schematic diagram schematically illustrates the composition of an error reminder component in an exemplary embodiment of the present disclosure;

[0041] Fig.15 A flowchart schematically illustrates an attendance method in an exemplary embodiment of the present disclosure;

[0042] Fig.16 The structure diagram of a computer system suitable for implementing the electronic device of the exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0043] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.

[0044] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processor devices and / or microcontroller devices.

[0045] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation. In addition, all the terms "first" and "second" below are only for the purpose of distinction and should not be used as limitations of the present disclosure.

[0046] Figure 1 A schematic diagram showing an exemplary system architecture of an attendance system to which embodiments of the present disclosure can be applied.

[0047] like Figure 1 As shown, the system architecture 1000 may include one or more of terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or optical fiber cables.

[0048] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 1005 may be a server cluster composed of multiple servers.

[0049] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 through network 1004 to receive or send messages, etc. Terminal devices 1001, 1002, 1003 can be various electronic devices with display screens and camera modules, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc. In addition, server 1005 can be a server that provides various services.

[0050] In one embodiment, the attendance system of the present disclosure can be set in the server 1005, and the server 1005 can obtain the head image and the user's head temperature information sent by the terminal devices 1001, 1002, and 1003, and process the head image and the user's head temperature information according to the attendance system of the present disclosure to achieve the purpose of judging whether the head temperature information meets the preset conditions and judging whether the user wears a mask correctly, and performing attendance registration. In addition, the attendance system can also be set in the terminal devices 1001, 1002, 1003 and other devices, and the present disclosure does not make special restrictions on this.

[0051] The attendance system disclosed in the present invention can be applied to various attendance registration scenarios that require temperature measurement and mask detection. For example, in an office building scenario, the attendance system of this solution can be used to collect the temperature information and head image of employees, and when the temperature meets the preset conditions and the mask is worn correctly, the attendance registration is performed; for another example, in a school scenario, the attendance system of this solution can be used to collect the temperature information and head image of students, and when the temperature meets the preset conditions and the mask is worn correctly, the attendance registration is performed; for another example, in a construction site scenario, the attendance system of this solution can be used to collect the temperature information and head image of workers, and when the temperature meets the preset conditions and the mask is worn correctly, the attendance registration is performed.

[0052] According to the attendance system provided in this exemplary embodiment, the user's head image and the user's head temperature information can be collected, and it can be determined whether the head temperature information meets the preset conditions and whether the user wears the mask correctly. When the head temperature information meets the preset conditions and the user wears the mask correctly, the user is identified according to the target area features of the head image, and whether to register the user for attendance is selected according to the identification result. Figure 2 As shown, the attendance system 200 may include the following components:

[0053] The information collection component 210 is used to collect the user's head image and the user's head temperature information;

[0054] The temperature determination component 220 is used to obtain the user's head temperature information and determine whether the head temperature information meets a preset condition;

[0055] The mask determination component 230 is used to obtain the target area features of the head image and determine whether the user is wearing the mask correctly according to the target area features;

[0056] The attendance registration component 240 is used to identify the user according to the target area features of the head image when the head temperature information meets the preset conditions and the user wears the mask correctly, and select whether to register the user according to the identification result.

[0057] In the attendance system provided in this example implementation, on the one hand, the body temperature of employees can be measured when conducting attendance, and there is no need to organize temperature measurement personnel separately to measure the body temperature, thereby improving the speed of clocking in; on the other hand, when conducting attendance, there is no need to remove the mask to complete the attendance clocking in, which can improve the speed of clocking in; on another hand, since there is no need to remove the mask to complete the attendance clocking in, the spread of respiratory infectious diseases can be avoided, thereby protecting the lives and health of employees.

[0058] The following will be combined Figure 2 The components of the attendance system 200 in this exemplary embodiment are described in more detail.

[0059] The information collection component 210 is used to collect the user's head image and the user's head temperature information;

[0060] In an exemplary embodiment of the present disclosure, the user's component can be collected through the information collection component, wherein the information collection component can be provided with a camera, a camera or other camera module to collect the user's head image. For example, a camera is a video input device, which is widely used in attendance registration scenarios. The camera generally has basic functions such as video recording / transmission and static image capture. After the image is collected by the lens, the photosensitive component circuit and control component in the camera process the image and convert it into a digital signal that can be recognized by the computer, and then the image is input into the computer through a parallel port or USB connection, and then the image is restored by the software. Specifically, the distance between the user and the camera module when starting to collect the user's head image can be set. For example, when the camera module detects that the distance between the user in the camera field of view and the camera module is 1 meter, the user's head image starts to be collected. The present disclosure does not specifically limit the method of collecting the user's head image, as long as the user's head image can be obtained.

[0061] It should be noted that when collecting the user's head image, the user's head image can be collected directly; or the user's upper body image or full body image can be collected, and the head image is obtained from these images. The present disclosure does not impose any special restrictions on the source and collection method of the head image.

[0062] Furthermore, the user's head image may include a processed image or an unprocessed image. Processing the head image may adjust the saturation, curve, color value, contrast, sharpening, etc. of the image, so that the user's head image can be clear, and the problem of unclear photos caused by the light when collecting the user's head image, the user's movement, etc. can be avoided. In addition, the user's head image can also be cut out to remove the background and other content that are not related to the user's head, so as to facilitate other components to process the user's head image.

[0063] In an exemplary embodiment of the present disclosure, a head temperature information collection device may also be provided in the information collection component. For example, a non-contact thermometer may be provided in the information collection component, and when the user approaches the non-contact thermometer, the user's body temperature may be measured quickly and accurately. Generally speaking, the forehead is the most ideal position to obtain human body temperature, and therefore, the head temperature information collection device may be provided at the height of the forehead, so that the head temperature information collection device may obtain the body temperature at the forehead position of the user, thereby obtaining the user's head temperature information. The present disclosure does not specifically limit the method of collecting the user's head temperature information, as long as the temperature information of the user's head can be obtained.

[0064] In an exemplary embodiment of the present disclosure, the camera module and the head temperature information acquisition device can be separately provided, or the camera module and the head temperature information acquisition device can be provided in the same device. For example, the camera module and the head temperature information acquisition device can be provided at the same location, respectively; or a device integrating a temperature acquisition device and a camera module can be used to acquire a user's head image and the user's head temperature information.

[0065] Furthermore, the camera module is used to collect the user's head image, and the head temperature information collection device is used to collect the user's head temperature information. The obtained head image and head temperature information can be sent to one device for processing or to multiple devices for processing. The user's head image and the user's head temperature information collected by the information collection unit can be displayed separately or on the same picture, such as Figure 3 As shown, the picture 300 collected by the information collection component may include the user's head temperature information 310 and the user's head image 320.

[0066] In an exemplary embodiment of the present disclosure, the information acquisition component includes a video acquisition unit.

[0067] The video acquisition unit is used to obtain the video picture information stream corresponding to the user and capture the user's head image in the video picture information stream.

[0068] In an exemplary embodiment of the present disclosure, the information acquisition component may include a video acquisition unit, which may include a video device such as a camera, a webcam or other camera module, and the video acquisition unit may acquire a video image information stream, which may be processed as a stable and continuous stream through a network, and the video image information stream may display multimedia data before the entire file is transmitted. Therefore, the streaming media format may transmit a material (animation, audio and video, etc.) in segments, and the user does not have to wait for the entire content to be transmitted, and can watch the instant continuous content, and can even pause, fast forward, and fast rewind at any time.

[0069] In an exemplary embodiment of the present disclosure, since the video acquisition unit obtains the video picture information stream corresponding to the user, the video data in the video picture information stream can be intercepted in real time. Specifically, the user's head image can be intercepted when it is detected that the user's head image is in the middle of the camera field of view, or when it is detected that the current light is good, the user's head image can be intercepted, or when it is detected that there is only one user in the camera field of view, the user's head image can be intercepted.

[0070] In an exemplary embodiment of the present disclosure, the attendance system further includes a picture deduplication component, which can obtain multiple head images of the same user and preset standards, and select one of the multiple head images of the same user as the head image according to the preset standards. Figure 4 As shown, the picture deduplication component 400 includes:

[0071] Information acquisition unit 410; used to acquire multiple head images of the same user and preset standards;

[0072] In an exemplary embodiment of the present disclosure, when the information collection unit collects a head image of a user, multiple head images of the same user may be collected, and one of the multiple head images needs to be selected so that other components can process it. At this time, a preset standard may be obtained, and the preset standard may be stored in a terminal device or in a server. When needed, the preset standard may be obtained in the terminal device or the server.

[0073] For example, the preset standard can be used to determine whether the user's head image is clear. The preset standard can be the peak signal-to-noise ratio of the image. The peak signal-to-noise ratio can be used to evaluate the image quality. The unit of the peak signal-to-noise ratio is dB. The larger the value of the peak signal-to-noise ratio, the less image distortion. For example, the preset standard can be set to the value of the peak signal-to-noise ratio, or the head image of the user with the largest peak signal-to-noise ratio can be selected from multiple users as the preset standard. The preset standard can also be set to a structural similarity index, etc.

[0074] The image selection unit 420 is used to select one of the multiple head images of the same user as the head image according to a preset standard.

[0075] In an exemplary embodiment of the present disclosure, after obtaining multiple head images of the same user obtained in the above-mentioned unit and the preset standard, a head image to be processed can be selected from the multiple head images of the same user according to the preset standard. For example, when the preset standard is that the value of the peak signal-to-noise ratio is greater than 200, the peak signal-to-noise ratio of the multiple head images of the same user can be calculated, and when the peak signal-to-noise ratio of one of the head images of the user is greater than 200, the head image can be determined as the head image of the user for processing by other components or units.

[0076] Through the above-mentioned information acquisition unit 410 and image selection unit 420, one of the multiple head images of the same user can be selected according to a preset standard to be determined as the head image of the user, so as to facilitate processing by other components or units.

[0077] In an exemplary embodiment of the present disclosure, the information acquisition component is a temperature measurement camera component, which can be used to collect the user's head image while measuring the temperature. Specifically, an infrared temperature measurement camera can be used to collect the user's head image and head temperature information. Commonly used temperature measurement cameras will emit infrared radiation energy for objects above absolute zero, and the temperature is proportional to the infrared wavelength. The light reflected by the human body passes through the photoelectric sensor of the camera and is converted into a raw image, and each pixel contains RGB primary color components. This information is processed by the CPU and transmitted to the display for outputting temperature information.

[0078] The temperature determination component 220 is used to obtain the user's head temperature information and determine whether the head temperature information meets a preset condition;

[0079] In an exemplary embodiment of the present disclosure, after obtaining the user's head temperature information obtained in the above-mentioned component, it can be determined whether the user's head temperature information meets the preset condition. Specifically, the preset condition can be stored in the terminal device or in the server, and the preset condition can be obtained in the terminal device or the server when needed. The preset condition may include a specific value. When the user's head temperature information is lower than this value, it is determined that the user's head temperature information meets the preset condition. For example, the preset condition can be set to 37.5°C. When the obtained user's head temperature information is 37°C, it is determined that the user's head temperature information meets the preset condition, that is, the user's head temperature information is normal.

[0080] In an exemplary embodiment of the present disclosure, the preset condition of the temperature information of the user's head may include a preset interval. When the value of the temperature information of the user's head obtained in the above step falls within the preset interval, it is determined that the temperature information of the user's head meets the preset condition. Figure 5 As shown, judging whether the value of the user's head temperature information is within a preset range includes the following steps S510 to S520:

[0081] Step S510: obtaining a preset interval;

[0082] In an exemplary embodiment of the present disclosure, the preset condition may include a preset interval, and the preset interval may be stored in a terminal device or in a server. When needed, the preset interval may be obtained in the terminal device or the server. Specifically, a person's body temperature is usually constantly changing, and body temperature may be affected by a variety of factors. For example, it fluctuates due to factors such as gender, age, day and night, exercise, and mood changes, but the body temperature changes caused by such factors have a relatively stable range, so this stable range can be used as a preset interval.

[0083] For example, the preset interval can be set to 36.5°C-37.5°C. It should be noted that when setting the range of the preset interval, it can be adjusted according to the specific body temperature test situation. When the user's head temperature information is detected to be too low, such as 34°C, it is necessary to promptly troubleshoot the part of the information collection component that collects the user's head temperature information to avoid the spread of respiratory infectious diseases caused by equipment failure.

[0084] Step S520: When the value of the head temperature information is within a preset interval, it is determined that the head temperature information meets a preset condition.

[0085] In an exemplary embodiment of the present disclosure, after obtaining the value and preset interval of the user's head temperature information, it can be detected whether the value of the user's head temperature information falls within the preset interval. When the value of the user's head temperature information falls within the preset interval, it is determined that the user's head temperature information meets the preset condition. For example, the collected user's head temperature information is 37°C, and the preset interval obtained at this time is 36.5°C-37.5°C, and 37°C is between 36.5°C-37.5°C. Therefore, at this time, the user's head temperature information meets the preset condition, that is, the user's body temperature is normal.

[0086] Through the above steps S510 to S520, when the value of the acquired temperature information of the user's head falls within the preset range, it can be determined whether the temperature information of the user's head is within the preset range to ensure that the user's body temperature is normal.

[0087] The mask determination component 230 is used to obtain the target area features of the head image and determine whether the user is wearing the mask correctly according to the target area features;

[0088] In an exemplary embodiment of the present disclosure, after obtaining the head image of the user obtained in the above-mentioned components or units, the target area features of the user's head image can be obtained, and whether the user is wearing a mask correctly can be determined based on the target area features. The target area features may include features of the user's face other than the mask, such as eye features, eyebrow features, contour features, ear features, etc.

[0089] Specifically, when obtaining the target area features, image recognition technology can be used to obtain the target area features. When performing image recognition, the position and size of the face can be accurately calibrated in the image. The face image contains a wealth of pattern features, such as histogram features, color features, template features, structural features, and Haar features.

[0090] For example, Figure 6As shown, the user's head image 600 includes the user's eyebrow image 610, the user's eye image 620, and the mask 630, and the target area features of the user's head image are obtained to obtain eyebrow features 6110 and eye features 6210.

[0091] In an exemplary embodiment of the present disclosure, after acquiring the above-mentioned target area features, it is possible to determine whether the user is wearing a mask based on the target area features. Specifically, it is possible to detect whether the target area features include mouth features and nose features. When the mouth features and nose features are detected, it is determined that the user is not wearing a mask; or when the nose features are detected but the mouth features are not detected, it is determined that the user is not wearing the mask correctly; when only the eyebrow features and the mouth features are detected, it is determined that the user is wearing the mask correctly.

[0092] In an exemplary embodiment of the present disclosure, the mask judgment component includes a feature extraction unit, a feature determination unit, and a feature comparison unit, which can compare the target area feature with multiple facial features in the feature database. When the similarity between the target area feature and the facial feature is greater than a preset threshold, the facial feature is determined to be the user's facial feature. The target area feature is compared with the user's facial feature. When the height of the target area meets the preset height condition, it is determined that the user is wearing the mask correctly. Figure 7 As shown, the mask judgment component 700 includes:

[0093] The feature extraction unit 710 is used to obtain the head image of the user and obtain the target area features of the user according to the face recognition algorithm;

[0094] In an example embodiment of the present disclosure, after obtaining the user's head image, the target area features of the user can be obtained. Specifically, a face recognition algorithm can be used to obtain the target area features of the user, for example, a recognition algorithm based on facial feature points, a recognition algorithm based on the entire face image, a recognition algorithm based on a template, an algorithm using a neural network for recognition, and a core algorithm is used to calculate and analyze the position, shape and angle of the facial features. Face recognition technology is a single training sample face recognition method based on local feature areas. It should be noted that in the embodiments of the present disclosure, only the feature acquisition part is required.

[0095] For example, when performing face recognition, a local area can be defined, and then the local area features of the face can be obtained. The face image vector can be mapped to a face feature vector based on the transformation matrix obtained after sample training, and then the local features can be selected as the target area features in the present disclosure.

[0096] The face determination unit 720 is used to compare the target area feature with at least one face feature in the feature database, and when the similarity between the target area feature and the face feature corresponding to the user in the at least one face feature is greater than a preset threshold, associate the target area feature of the user with the face feature corresponding to the user;

[0097] In an exemplary embodiment of the present disclosure, facial images of users may be collected in advance, and the feature acquisition method in the above method may be used to acquire features of facial images of multiple users to obtain at least one facial feature, and then the at least one facial feature may be stored in a feature database. It should be noted that the feature database may be set in a storage device of a terminal device, such as a ROM, or may be set in a server. When it is necessary to search for feature data of a user in the feature database, the target area feature may search for the corresponding facial feature in the feature database at the above location.

[0098] After obtaining the target area feature and the feature database, the target area feature can be compared with at least one face feature in the feature database.

[0099] The overlap of each feature point of the facial feature determines the similarity between the target area feature and the facial feature. At the same time, a preset threshold value of the similarity between the target area feature and the facial feature can also be obtained. The preset threshold value can be stored in the terminal device or in the server. When it is needed, the preset standard can be obtained in the terminal device or the server. When the similarity between the target area feature and a facial feature in the feature database is greater than the preset threshold value, the facial feature is determined as the facial feature of the user, and the target area feature of the user is associated with the corresponding facial feature of the user. The facial feature corresponding to the user is used for processing by other units or components. For example, the facial features in the feature database can be numbered, and after determining the facial feature corresponding to the target area feature of the user, the target area feature of the user can be associated with the number; or the corresponding facial feature of the user can be marked in the face database, so that the target area feature of the user is associated with the corresponding facial feature of the user. The present disclosure does not specifically limit the way in which the target area feature of the user is associated with the corresponding facial feature of the user.

[0100] Furthermore, when there are two or more target area features whose similarity with facial features in the feature database is greater than a preset threshold, the one with higher similarity between the target area features and the facial features is selected, and the target area features of the user are associated with the corresponding facial features of the user with higher similarity.

[0101] For example, Figure 8As shown, the target region feature 8110 obtained after feature acquisition of the collected user's head image 810 is compared with the facial feature 8210 corresponding to a certain facial image 820 in the database. The preset threshold of the similarity between the target region feature 8110 and the facial feature 8210 is set to 60% in advance, and the target region feature 8110 is compared with multiple facial features 8210 in the feature database. When the similarity between the target region feature 8110 and a certain facial feature 8210 is 65%, the target region feature 8110 of the user is associated with the facial feature 8210 corresponding to the user.

[0102] The feature comparison unit 730 is used to compare the associated facial features of the corresponding user with the target area features, and when the height of the target area features meets a preset height condition, determine that the user is wearing the mask correctly.

[0103] In an exemplary embodiment of the present disclosure, after obtaining the corresponding facial features of the user obtained in the above-mentioned unit, the preset height corresponding to the facial features corresponding to the user can be obtained in the terminal device or server. Since each user has a different face shape, the facial features corresponding to each user can correspond to different preset heights. Specifically, when making a comparison, the height of the target area feature can be compared with the preset height corresponding to the facial features corresponding to the user. The height of the target area feature is the vertical distance between the highest feature point and the lowest feature point in the target area feature. Specifically, when the height of the target area feature is less than the preset height, it can be determined that the user is wearing the mask correctly.

[0104] For example, Fig. 9 As shown, the preset height 9220 corresponding to the facial feature 9210 corresponding to the user's head image 920 can be set to 8 cm, and the height 9120 of the target area feature 9110 obtained from the collected user's head image 910 is 7 cm. At this time, the height of the target area feature 9110 is smaller than the preset height 9220 corresponding to the facial feature corresponding to the user, thereby determining that the user is wearing the mask correctly.

[0105] Through the above-mentioned feature extraction unit 710, face determination unit 720, and feature comparison unit 730, the height of the target area feature can be compared with the preset height corresponding to the facial feature corresponding to the user. When the height of the target area feature meets the preset height condition corresponding to the facial feature corresponding to the user, it is determined that the user is wearing the mask correctly.

[0106] In an exemplary embodiment of the present disclosure, the first characteristic region height and the second characteristic region height of the target region can be obtained, and when the first characteristic region height and the second characteristic region height are the same and both are less than a preset height, it is determined that the user is wearing the mask correctly. Fig.10As shown, determining that the user is wearing the mask correctly according to the first characteristic area height and the second area characteristic height includes the following steps S1010-S1020:

[0107] Step S1010: obtaining a first region feature height and a second region feature height of a target region feature;

[0108] In an exemplary embodiment of the present disclosure, a first region feature height and a second region feature height of a target region feature may be obtained. Specifically, the first region feature height may be the height of one side of the target region feature, and the second region feature height may be the height of the other side of the target region feature. For example, the first region feature height may be the height of the target region feature corresponding to the left side of the user's head image, and the second region feature height may be the height of the target region feature corresponding to the right side of the user's head image.

[0109] Step S1020: When the characteristic height of the first area is the same as the characteristic height of the second area and is less than a preset height, it is determined that the user is wearing the mask correctly.

[0110] In an example embodiment of the present disclosure, after obtaining the first area feature height and the second area feature height, the first area feature height and the second area feature height can be compared with the preset heights corresponding to the facial features corresponding to the user respectively. When the first area feature height and the second area feature height are both smaller than the preset heights corresponding to the facial features corresponding to the user, this indicates that the user is wearing the mask correctly.

[0111] For example, Fig.11 As shown, the feature of the user's head image 1110 is acquired to obtain the target area feature 11100, which has a first area feature height 11110 and a second area feature height 11120. The feature of the user's face image 1120 is acquired to obtain the face feature 11200. The preset height 11210 can be set to 8 cm. At this time, the first area feature height 11110 and the second area feature height 11120 are both 7 cm, and both are less than 8 cm. At this time, it is determined that the user is wearing the mask correctly.

[0112] When the heights of the first target area feature and the second target area feature corresponding to the user's head image are inconsistent, it is determined that the user fails to wear the mask correctly. Fig.12As shown, the feature of the user's head image 1210 is acquired to obtain the target area feature 12100, which has a first area feature height 12110 and a second area feature height 12120. The feature of the user's face image 1220 is acquired to obtain the face feature 12200. The preset height 12210 corresponding to the user's face feature can be set to 8 cm. At this time, the first area feature height 12120 is 10 cm, and the second area feature height 12120 is 7 cm. At this time, the heights of the first target area feature and the second target area feature are inconsistent, and it is determined that the user has failed to wear the mask correctly.

[0113] Through the above steps S1010 to S1020, when the feature height of the first area and the feature height of the second area are the same and smaller than the preset height corresponding to the facial feature corresponding to the user, it is determined that the user is wearing the mask correctly.

[0114] The attendance registration component 240 is used to identify the user according to the target area features of the head image when the head temperature information meets the preset conditions and the user wears the mask correctly, and select whether to register the user according to the identification result.

[0115] In an exemplary embodiment of the present disclosure, when the head temperature information of the user meets the preset conditions and the user wears the mask correctly, the user is identified according to the target area features of the head image, and whether to register the user for attendance is selected according to the identification result. Specifically, the attendance registration component can obtain the first indication information that the head temperature information meets the preset conditions, and the second indication information that the user wears the mask correctly. When the attendance registration component obtains the first indication information and the second indication information at the same time, the user can be identified according to the target area features of the head image. Specifically, the target area features can be compared with the facial features in the feature database, and the facial features with higher feature similarity can be determined as the facial features of the user. The user's facial image is identified according to the user's facial features, and the user's facial image is the identification result. Then, according to the user's facial image, the corresponding user is searched in the attendance system and attendance is registered, the attendance time is recorded, and it is updated on the attendance system.

[0116] Furthermore, the user's head image and head temperature information can be uploaded to the attendance system. The user's head image and head temperature information can be uploaded separately. The user's head image is uploaded to the attendance system, and the head temperature information is uploaded to the system in a list; Figure 3 As shown, the head image and the head temperature information can also be set in the same image, and these images can be uploaded to the attendance system.

[0117] In an exemplary embodiment of the present disclosure, it is possible to determine whether the user's head temperature information meets the preset conditions, determine whether the user is wearing a mask correctly, and then perform attendance registration and give a prompt. Fig.13 As shown, the attendance registration component 1300 includes:

[0118] A condition judgment unit 1310 is used to judge whether the head temperature information meets a preset condition and whether the user wears the mask correctly;

[0119] In an exemplary embodiment of the present disclosure, the result of the temperature judgment component can be obtained, the result of the temperature judgment component includes whether the user's head temperature information meets the preset conditions, and the result of the mask judgment component can also be obtained, the result of the mask judgment component includes whether the user wears the mask correctly, and the time of the user's attendance registration is obtained. The condition judgment unit can obtain the result of the temperature judgment component and the result of the mask judgment component, and judge whether the head temperature information meets the preset conditions and whether the user wears the mask correctly according to the above results, and judge whether the user meets the conditions for attendance registration.

[0120] A user search unit 1320, used to search for a corresponding user in the attendance list according to facial features;

[0121] In an exemplary embodiment of the present disclosure, an attendance list can be set up in advance in the attendance system. The corresponding items in the attendance list may include name, age, attendance registration time, head image, head temperature information, etc. The corresponding user is searched according to the facial features obtained in the above components, and each user has the above attendance list items in the attendance list.

[0122] Attendance recording unit 1330, used to record the user's attendance registration time and the user's head temperature information;

[0123] The attendance prompting unit 1340 is used to prompt the user that the attendance registration is successful.

[0124] In an exemplary embodiment of the present disclosure, the attendance system includes an electronic device with a display. After the attendance recording unit registers the relevant information of the user on the attendance sheet, it indicates that the user has successfully registered for attendance. At this time, words such as "Attendance registration successful" can be displayed on the display of the electronic device to prompt the user that the attendance registration has been successful.

[0125] Through the above-mentioned attendance registration component 1300, the results of the temperature judgment component, the results of the mask judgment component and the attendance sheet can be obtained, and the relevant information can be recorded on the attendance sheet and the user can be prompted that the attendance registration is successful.

[0126] In an exemplary embodiment of the present disclosure, when the temperature judgment component judges that the temperature does not meet the preset conditions or the mask judgment component judges that the user fails to wear the mask correctly, the error reminder component can remind the user of the error. Fig.14 As shown, the error reminder component 1400 includes:

[0127] The temperature reminder unit 1410 is used to remind the user that the head temperature information does not meet the preset conditions and the attendance registration fails;

[0128] The mask reminder unit 1420 is used to remind the user that the mask is not worn correctly and the attendance registration has failed.

[0129] In an exemplary embodiment of the present disclosure, when the head temperature information of the user does not meet the preset conditions, the user can be prompted that the head temperature is high. Specifically, the words "high body temperature, attendance failed" can be displayed on the equipment of the attendance system. When the user does not wear a mask correctly, the user can be prompted that the mask is not worn correctly. Specifically, the words "no mask / not wearing a mask correctly, attendance failed" can be displayed on the equipment of the attendance system.

[0130] Through the above-mentioned error reminder component 1400, the user can be reminded that the current head temperature information is high or the mask is not worn correctly and the attendance has failed, and corresponding processing can be performed in time to avoid the spread of respiratory infectious diseases.

[0131] In an exemplary embodiment of the present disclosure, the above-mentioned attendance reminder unit, temperature reminder unit, and mask reminder unit can all be outputted by voice broadcast. Specifically, a voice device can be set in the attendance system, and the voice device can obtain the text content to be output and output the text content by voice broadcast.

[0132] An embodiment of the present disclosure provides an attendance system, which includes: an information collection component that can collect head images and head temperature information; a temperature judgment component that can judge whether the head temperature information meets the preset conditions; a mask judgment component that can judge whether the user wears the mask correctly; and an attendance registration component that completes the attendance registration when the user's head temperature information meets the preset conditions and the mask is worn correctly. The scheme of the present disclosure, on the one hand, can measure the body temperature of employees when conducting attendance, and there is no need to organize temperature measurement personnel to measure the body temperature separately, thereby improving the speed of clocking in; on the other hand, when conducting attendance, it is not necessary to take off the mask to complete the attendance clocking in, which can improve the speed of clocking in; on the other hand, since the attendance clocking in can be completed without taking off the mask, the spread of respiratory infectious diseases can be avoided, thereby protecting the life and health of employees.

[0133] In addition, in an exemplary embodiment of the present disclosure, an attendance method is also provided. Fig.15 As shown, the above-mentioned attendance method includes: step S1510: collecting the user's head image and the user's head temperature information; step S1520: obtaining the user's head temperature information, and judging whether the head temperature information meets the preset conditions; step S1530: obtaining the target area features of the head image, and judging whether the user wears the mask correctly according to the target area features; step S1540: when the head temperature information meets the preset conditions and the user wears the mask correctly, identifying the user according to the target area features of the head image, and selecting whether to register the user for attendance according to the identification result.

[0134] In an exemplary embodiment of the present disclosure, based on the above-mentioned solution, the method further includes: acquiring a video picture information stream corresponding to the user, and intercepting a head image of the user in the video picture information stream.

[0135] In an exemplary embodiment of the present disclosure, based on the above-mentioned solution, the information acquisition component is a temperature measurement and imaging component.

[0136] In an exemplary embodiment of the present disclosure, based on the above-mentioned scheme, the preset condition includes a preset interval, and judging whether the head temperature information meets the preset condition includes: obtaining the preset interval; when the value of the head temperature information is within the preset interval, determining that the head temperature information meets the preset condition.

[0137] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, a user's head image is obtained, and the user's target area features are obtained according to a face recognition algorithm; the target area features are compared with multiple face features in a feature database, and when the similarity between the target area features and the face features is greater than a preset threshold, the face features are determined as the user's face features; the user's face features are compared with the target area features, and when the height of the target area features meets the preset height condition, it is determined that the user is wearing a mask correctly.

[0138] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, when the height of the target area feature meets the preset height condition, it is determined that the user is wearing the mask correctly, including: obtaining the first area feature height and the second area feature height of the target area feature; when the first area feature height is the same as the second area feature height and is less than the preset height, it is determined that the user is wearing the mask correctly.

[0139] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the head temperature information is obtained to determine whether it meets the preset conditions and whether the user wears the mask correctly; the corresponding user is searched in the attendance list according to the facial features; the user's attendance registration time and the user's head temperature information are recorded; and the user is prompted that the attendance registration is successful.

[0140] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the user is prompted that the head temperature information does not meet the preset conditions and the attendance registration fails; the user is prompted that the mask is not worn correctly and the attendance registration fails.

[0141] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the attendance reminder unit, the temperature reminder unit, and the mask reminder unit include: obtaining the text content to be prompted, and outputting the text content in the form of voice broadcast.

[0142] In an exemplary embodiment of the present disclosure, based on the above-mentioned scheme, multiple head images of the same user and preset standards are obtained; and one of the multiple head images of the same user is selected as the head image according to the preset standards.

[0143] Since the steps of the attendance method of the exemplary embodiment of the present disclosure correspond to the functional modules of the above-mentioned attendance system, for details not disclosed in the embodiment of the method of the present disclosure, please refer to the embodiment of the attendance system of the present disclosure.

[0144] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0145] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above attendance system is also provided.

[0146] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0147] Refer to the following Fig.16 16 is a diagram to describe an electronic device 1600 according to such an embodiment of the present disclosure. Fig.16 The electronic device 1600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0148] like Fig.16As shown, the electronic device 1600 is in the form of a general computing device. The components of the electronic device 1600 may include, but are not limited to: the at least one processing unit 1610, the at least one storage unit 1620, a bus 1630 connecting different system components (including the storage unit 1620 and the processing unit 1610), and a display unit 1640.

[0149] The attendance system of the present disclosure may be set in the storage unit, and the system may be executed by the processing unit 1610, so that the processing unit 1610 executes the functions of the apparatus according to various exemplary embodiments of the present disclosure described in the above “Exemplary apparatus” section of this specification. For example, the processing unit 1610 may execute the following: Figure 2 The functions of the attendance system 200 shown in the figure are as follows: an information collection component 210 is used to collect the user's head image and the user's head temperature information; a temperature judgment component 220 is used to obtain the user's head temperature information and judge whether the head temperature information meets the preset conditions; a mask judgment component 230 is used to obtain the target area features of the head image and judge whether the user is wearing a mask correctly based on the target area features; an attendance registration component 240 is used to identify the user based on the target area features of the head image when the head temperature information meets the preset conditions and the user is wearing a mask correctly, and to select whether to register the user for attendance based on the recognition result.

[0150] The storage unit 1620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1621 and / or a cache memory unit 1622 , and may further include a read-only memory unit (ROM) 1623 .

[0151] The storage unit 1620 may also include a program / utility 1624 having a set (at least one) of program modules 1625, such program modules 1625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0152] Bus 1630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0153] The electronic device 1600 may also communicate with one or more external devices 1670 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1600, and / or communicate with any device that enables the electronic device 1600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1650. Furthermore, the electronic device 1600 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1660. As shown, the network adapter 1660 communicates with other modules of the electronic device 1600 via a bus 1630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0154] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0155] In an exemplary embodiment of the present disclosure, a non-transitory computer readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0156] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0157] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0158] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0159] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0160] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0161] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An attendance system, It is characterized in that include: An information collection component, used to collect a user's head image and the user's head temperature information; A temperature determination component, used to obtain the head temperature information of the user and determine whether the head temperature information meets a preset condition; A mask judging component, used for obtaining target area features of the head image, and judging whether the user is wearing a mask correctly according to the target area features; An attendance registration component, used to identify the user according to the target area features of the head image when the head temperature information meets the preset conditions and the user wears the mask correctly, and select whether to register the user for attendance according to the identification result; The mask judgment component includes: a feature extraction unit, which is used to obtain the head image of the user and obtain the target area features of the user according to the face recognition algorithm; A face determination unit, configured to compare the target area feature with at least one face feature in a feature database, and when a similarity between the target area feature and a face feature corresponding to the user in the at least one face feature is greater than a preset threshold, associate the target area feature of the user with the face feature corresponding to the user; A feature comparison unit is used to compare the facial features of the corresponding user after association with the target area features, and obtain the first area feature height and the second area feature height of the target area features; when the first area feature height is the same as the second area feature height and is less than a preset height condition, it is determined that the user is wearing the mask correctly; wherein the first area feature height is the height of one side of the target area feature, and the second area feature height is the height of the other side of the target area feature.

2. The system according to claim 1, It is characterized in that The information collection component includes: The video acquisition unit is used to obtain the video picture information stream corresponding to the user and intercept the head image of the user in the video picture information stream.

3. The system according to claim 1, It is characterized in that The information collection component is a temperature measurement and imaging component.

4. The system according to claim 1, It is characterized in that The preset condition includes a preset interval, and judging whether the head temperature information meets the preset condition includes: Obtaining the preset interval; When the value of the head temperature information is within the preset interval, it is determined that the head temperature information meets a preset condition.

5. The system according to claim 1, It is characterized in that The attendance registration component includes: A condition judgment unit, used to judge whether the head temperature information meets a preset condition and whether the user wears the mask correctly; A user search unit, used to search for a corresponding user in the attendance list according to the facial features; An attendance recording unit, used to record the attendance registration time of the user and the head temperature information of the user; The attendance prompting unit is used to prompt the user that the attendance registration is successful.

6. The system according to claim 2, It is characterized in that The system includes a picture deduplication component, including: Information acquisition unit; used to acquire multiple head images and preset standards of the same user; The image selection unit is used to select one of the multiple head images of the same user according to a preset standard and determine it as the head image.

7. A method for checking attendance. It is characterized in that include: Collecting the user's head image and the user's head temperature information; Acquiring the head temperature information of the user, and determining whether the head temperature information meets a preset condition; Acquire the head image of the user, and acquire the target area feature of the user according to the face recognition algorithm; compare the target area feature with at least one face feature in the feature database, and when the similarity between the target area feature and the face feature corresponding to the user in the at least one face feature is greater than a preset threshold, associate the target area feature of the user with the face feature corresponding to the user; Compare the associated facial features of the corresponding user with the target area features to obtain the first area feature height and the second area feature height of the target area feature; when the first area feature height is the same as the second area feature height and is less than a preset height condition, determine that the user is wearing the mask correctly; wherein the first area feature height is the height of one side of the target area feature, and the second area feature height is the height of the other side of the target area feature; When the head temperature information meets the preset conditions and the user wears the mask correctly, user identification is performed based on the target area features of the head image, and whether to register the user for attendance is selected based on the identification result.

8. An electronic device, It is characterized in that include: processor; as well as A memory for storing one or more programs, which, when executed by the one or more processors, causes the one or more processors to implement the method as claimed in claim 7.