CN113469024B - Face attendance checking method and device, electronic equipment and computer readable storage medium - Google Patents

Face attendance checking method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113469024B
CN113469024B CN202110731155.2A CN202110731155A CN113469024B CN 113469024 B CN113469024 B CN 113469024B CN 202110731155 A CN202110731155 A CN 202110731155A CN 113469024 B CN113469024 B CN 113469024B
Authority
CN
China
Prior art keywords
attendance
face
subtask
face attendance
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110731155.2A
Other languages
Chinese (zh)
Other versions
CN113469024A (en
Inventor
周俊竹
刘晖
唐春芝
陈高岭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202110731155.2A priority Critical patent/CN113469024B/en
Publication of CN113469024A publication Critical patent/CN113469024A/en
Priority to PCT/CN2021/127412 priority patent/WO2023273066A1/en
Application granted granted Critical
Publication of CN113469024B publication Critical patent/CN113469024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a face attendance checking method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: acquiring a first face attendance task, wherein the first face attendance task comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask; and releasing a first hardware resource under the condition that the first face attendance sub-task is executed, wherein the first hardware resource is a hardware resource used for executing the first face attendance sub-task.

Description

Face attendance checking method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for checking attendance on a human face, an electronic device, and a computer-readable storage medium.
Background
The human face attendance checking means that attendance checking is realized through a human face recognition technology. Specifically, the face attendance device compares the face of the acquired image with the face image of the attendance object, determines whether the acquired image contains the attendance object, and determines whether the attendance object normally goes out. In the prior art, the hardware resource utilization rate of the face attendance device is low when the face attendance task is executed.
Disclosure of Invention
The application provides a face attendance checking method and device, electronic equipment and a computer readable storage medium.
In a first aspect, a face attendance method is provided, and the method includes:
acquiring a first face attendance task, wherein the first face attendance task comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask;
and releasing a first hardware resource under the condition that the first face attendance sub-task is executed, wherein the first hardware resource is a hardware resource used for executing the first face attendance sub-task.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the executing of the first face attendance sub-task comprises: determining that the first to-be-processed video stream includes the one or more first attendance objects.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the executing of the first face attendance sub-task comprises: determining that the duration of the first attendance object not appearing in the first to-be-processed video stream exceeds a first duration threshold.
With reference to any embodiment of the present application, the first face attendance sub-task includes determining whether the first to-be-processed video stream includes n first attendance objects, where n is an integer greater than 1;
the executing of the first face attendance sub-task comprises: determining, when it is determined that the first to-be-processed video stream includes m first attendance objects, that a duration of absence of a person in the first to-be-processed video stream exceeds a second duration threshold, the absence of the person being the first attendance object other than the m first attendance objects, the m being smaller than the n, and the first duration threshold being greater than the second duration threshold.
In combination with any embodiment of the present application, the method further comprises: and displaying the execution progress of the first face attendance subtask.
With reference to any embodiment of the present application, an attendance location of the first face attendance task includes a first area and a second area, and the first area is different from the second area; the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream, the at least one second face attendance subtask includes determining whether one or more second attendance objects are included in a second to-be-processed video stream, the one or more first attendance objects being different from the one or more second attendance objects;
before releasing the first hardware resource when the first face attendance subtask is executed, the method further includes:
and acquiring the first video stream to be processed and the second video stream to be processed, wherein the first video stream to be processed is acquired by a first imaging device, the second video stream to be processed is acquired by a second imaging device, the shooting scene of the first imaging device comprises the first area, and the shooting scene of the second imaging device comprises the second area.
In combination with any embodiment of the present application, the face attendance method is applied to a face attendance device, and the at least one second face attendance subtask includes a third face attendance subtask and a fourth face attendance subtask different from the third face attendance subtask;
during the process that the face attendance device executes the first face attendance subtask and the third face attendance subtask, and before the first hardware resource is released, the fourth face attendance subtask is in an unexecuted state;
after the releasing the first hardware resource, the method further comprises:
and calling the first hardware resource to execute the fourth face attendance sub-task.
In combination with any one of the embodiments of the present application, the hardware resources of the face attendance device are less than the sum of second hardware resources and third hardware resources, the second hardware resources are hardware resources required for executing the first face attendance subtask and the third face attendance subtask, and the third hardware resources are hardware resources required for executing the fourth face attendance subtask.
With reference to any embodiment of the present application, the releasing the first hardware resource after the first face attendance task is executed includes:
and releasing the first hardware resource under the conditions that a resource efficiency doubling opening instruction is detected and the first face attendance sub task is executed.
In combination with any embodiment of the present application, the method further comprises:
displaying a first attendance result of the first face attendance subtask;
under the condition that a re-attendance instruction aiming at the attendance result is detected, re-executing the first face attendance sub-task to obtain a second attendance result of the first face attendance sub-task;
and combining the first attendance result and the second attendance result to obtain a third attendance result of the first face attendance subtask.
In a second aspect, a face attendance device is provided, the device comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first face attendance task which comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask;
and the release unit is used for releasing a first hardware resource under the condition that the first face attendance subtask is executed, wherein the first hardware resource is a hardware resource used for executing the first face attendance subtask.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the release unit to release the first hardware resource if it is determined that the first to-be-processed video stream includes the one or more first attendance objects.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the release unit is configured to release the first hardware resource when it is determined that the duration of the first attendance object in the first to-be-processed video stream does not exceed a first duration threshold.
With reference to any embodiment of the present application, the first face attendance sub-task includes determining whether the first to-be-processed video stream includes n first attendance objects, where n is an integer greater than 1;
the release unit is configured to release the first hardware resource when it is determined that the first to-be-processed video stream includes m first attendance objects and when it is determined that a duration of a missing person, which is the first attendance object except the m first attendance objects, does not occur in the first to-be-processed video stream exceeds a second duration threshold, where m is smaller than n, and the first duration threshold is greater than the second duration threshold.
In combination with any one of the embodiments of the present application, the face attendance device further includes: and the display unit is used for displaying the execution progress of the first face attendance sub-task.
With reference to any embodiment of the present application, an attendance location of the first face attendance task includes a first area and a second area, and the first area is different from the second area; the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream, the at least one second face attendance subtask includes determining whether one or more second attendance objects are included in a second to-be-processed video stream, the one or more first attendance objects being different from the one or more second attendance objects;
the acquiring unit is further configured to acquire the first to-be-processed video stream and the second to-be-processed video stream before releasing a first hardware resource when the first face attendance sub task is executed, where the first to-be-processed video stream is acquired by a first imaging device, the second to-be-processed video stream is acquired by a second imaging device, a shooting scene of the first imaging device includes the first area, and a shooting scene of the second imaging device includes the second area.
In combination with any embodiment of the present application, the at least one second face attendance sub-task includes a third face attendance sub-task and a fourth face attendance sub-task different from the third face attendance sub-task;
during the process that the face attendance device executes the first face attendance subtask and the third face attendance subtask, and before the first hardware resource is released, the fourth face attendance subtask is in an unexecuted state;
the face attendance device further comprises:
and the calling unit is used for calling the first hardware resource to execute the fourth face attendance sub-task after the first hardware resource is released.
In combination with any embodiment of the present application, the hardware resources of the face attendance apparatus are less than the sum of the second hardware resources and the third hardware resources, the second hardware resources are hardware resources required for executing the first face attendance subtask and the third face attendance subtask, and the third hardware resources are hardware resources required for executing the fourth face attendance subtask.
In combination with any embodiment of the present application, the releasing unit is configured to:
and releasing the first hardware resource under the conditions that a resource efficiency doubling opening instruction is detected and the first face attendance sub task is executed.
In combination with any embodiment of the present application, the display unit is further configured to:
displaying a first attendance result of the first face attendance subtask;
the face attendance device further comprises: the processing unit is used for re-executing the first face attendance sub task under the condition that a re-attendance instruction aiming at the attendance result is detected, so as to obtain a second attendance result of the first face attendance sub task;
and the merging unit is used for merging the first attendance result and the second attendance result to obtain a third attendance result of the first face attendance sub task.
In a third aspect, an electronic device is provided, which includes: a processor and a memory for storing computer program code comprising computer instructions, the electronic device performing the method of the first aspect and any one of its possible implementations as described above, if the processor executes the computer instructions.
In a fourth aspect, another electronic device is provided, including: a processor, transmitting means, input means, output means, and a memory for storing computer program code comprising computer instructions, which, when executed by the processor, cause the electronic device to perform the method of the first aspect and any one of its possible implementations.
In a fifth aspect, there is provided a computer-readable storage medium having stored therein a computer program comprising program instructions which, if executed by a processor, cause the processor to perform the method of the first aspect and any one of its possible implementations.
A sixth aspect provides a computer program product comprising a computer program or instructions which, when run on a computer, causes the computer to perform the method of the first aspect and any of its possible implementations.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flow diagram of a face attendance checking method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a face attendance checking method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a face attendance checking device provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of a face attendance device provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing an association relationship of associated objects, meaning that three relationships may exist, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" may indicate that the objects associated with each other are in an "or" relationship, meaning any combination of the items, including single item(s) or multiple items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural. The character "/" may also represent a division in a mathematical operation, e.g., a/b-a divided by b; 6/3 ═ 2. At least one of the following "or similar expressions.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The human face attendance checking means that attendance checking is realized through a human face recognition technology. Specifically, the face attendance device compares the face of the acquired image with the face image of the attendance object, determines whether the acquired image contains the attendance object, and determines whether the attendance object normally goes out.
Because the attendance places of different attendance objects in the same face attendance task may be different, the same face attendance task may include two or more face attendance sub-tasks.
For example (example 1), the face attendance task is to determine whether the lodging personnel in the dormitory building a returns to the corresponding room before bedtime. Assuming that the lodging personnel comprise Zhang three and Li four, the A dormitory building comprises a room B and a room C, wherein Zhang three live in the room B, and Li four live in the room C. At this time, the face attendance task includes a face attendance subtask a and a face attendance subtask B, where the face attendance subtask a is whether Zhang III returned to the room B before bedtime, and the face attendance subtask B is whether Li IV returned to the room C before bedtime.
Under the condition that the face attendance task comprises two or more face attendance subtasks, different hardware resources are called to execute different face attendance subtasks in the process of executing the face attendance task by the face attendance device.
For example (example 2), in example 1, the face attendance device calls the hardware resource c to execute the face attendance sub-task a, and calls the hardware resource d to execute the face attendance sub-task b.
In the prior art, the face attendance device does not release the hardware resources for executing a face attendance subtask when the face attendance subtask is completed, but releases the hardware resources for executing the face attendance task when all the face attendance subtasks are completed, that is, when the face attendance task is completed.
For example, in example 2, if the face attendance device determines that three sheets have returned to the room B before bedtime, that is, the face attendance subtask a is completed, and when the face attendance subtask a is completed, the face attendance subtask B is not completed. At this time, the face attendance device does not release the hardware resource c, but releases the hardware resource c and the hardware resource d together when the face attendance subtask b is completed.
Therefore, part of hardware resources in the face attendance device are in an idle state, and the utilization rate of the hardware resources of the face attendance device is low. Based on this, the embodiment of the application provides a face attendance method to improve the hardware resource utilization rate of a face attendance device executing the face attendance method.
The execution subject of the embodiment of the application is a face attendance device, wherein the face attendance device can be any electronic equipment capable of executing the technical scheme disclosed by the embodiment of the application method. Optionally, the face attendance device may be one of the following: cell-phone, computer, panel computer, wearable smart machine.
It should be understood that the method embodiments of the present application may also be implemented by means of a processor executing computer program code. The embodiments of the present application will be described below with reference to the drawings. Referring to fig. 1, fig. 1 is a schematic flow chart of a human face attendance checking method according to an embodiment of the present application.
101. The method comprises the steps of obtaining a first face attendance task, wherein the first face attendance task comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask.
In this step, both the first face attendance subtask and the at least one second face attendance subtask belong to the first face attendance task, wherein the first face attendance subtask is different from the at least one second face attendance subtask.
For example, the attendance object of the first face attendance subtask is different from the attendance object of the at least one second face attendance subtask; for another example, the attendance time of the first face attendance subtask is different from the attendance time of the at least one second face attendance subtask; for another example, the attendance place of the first face attendance subtask is different from the attendance place of the at least one second face attendance subtask; for another example, the attendance object of the first face attendance subtask is different from the attendance object of the at least one second face attendance subtask, and the attendance time of the first face attendance subtask is different from the attendance time of the at least one second face attendance subtask; for another example, the attendance object of the first face attendance subtask is different from the attendance object of the at least one second face attendance subtask, the attendance time of the first face attendance subtask is different from the attendance time of the at least one second face attendance subtask, and the attendance place of the first face attendance subtask is different from the attendance place of the at least one second face attendance subtask.
In an implementation manner of obtaining the first face attendance task, the face attendance device receives the face attendance task input by the user through the input component to obtain the first face attendance task. The above-mentioned input assembly includes: keyboard, mouse, touch screen, touch pad, audio input device, etc.
In another implementation manner of obtaining the first face attendance task, the face attendance device receives the face attendance task sent by the terminal to obtain the first face attendance task. The terminal may be any one of the following: cell-phone, computer, panel computer, server.
102. And releasing a first hardware resource under the condition that the first face attendance sub-task is executed, wherein the first hardware resource is a hardware resource for executing the first face attendance sub-task.
In this step, the first face attendance subtask may be executed to determine that all attendance objects of the first face attendance subtask are normally attendance. For example, attendance objects for a first face attendance subtask include: zhang three and Li four. And the face attendance device can determine that the first face attendance sub-task is executed under the condition that the Zhang III and the Li IV are both normally on duty.
The first face attendance subtask may be executed after the first face attendance subtask is executed. For example, the execution deadline of the first face attendance subtask is 17 o' clock at 12/4/2021. Then at 17 o' clock at 12/4/2021, the face attendance device determines that the first face attendance subtask has been performed.
The first face attendance subtask may be executed for a period of time up to the execution of the first face attendance subtask. For example, the execution deadline of the first face attendance subtask is 60 minutes. If the face attendance device starts to execute the first face attendance subtask at 17 o 'clock of 12 o' clock of 4 m/2021, the face attendance device determines that the first face attendance subtask is executed completely at 18 o 'clock of 12 o' clock of 4 m/2021.
In this step, the first face attendance sub-task has been executed, and hardware resources used for executing the first face attendance sub-task do not need to be used for executing the first face attendance sub-task. Therefore, the face attendance device releases the first hardware resource for executing the first face attendance sub-task under the condition that the face attendance device determines that the first face attendance sub-task is executed, and therefore the utilization rate of the hardware resource of the face attendance device is improved.
In this embodiment, the face attendance device releases the hardware resources for executing the face attendance subtask when it is determined that the face attendance subtask in the first face attendance subtask satisfies the release condition of the face attendance subtask, and the hardware resource utilization rate of the face attendance device can be improved.
As an alternative embodiment, the first face attendance subtask includes determining whether the first to-be-processed video stream includes one or more first attendance objects.
In this embodiment, the attendance object of the first face attendance subtask is a first attendance object, wherein the number of the first attendance objects is one or more than one.
In such an embodiment, the first to-be-processed video stream may be acquired before the face attendance device performs the first face attendance subtask.
The first to-be-processed video stream can also be a video stream acquired by the face attendance device in real time through the imaging equipment in the process of executing the first face attendance subtask by the face attendance device.
For example, the first face attendance subtask is to determine whether a first attendance object appears in a monitoring range of the monitoring camera, and the first to-be-processed video stream is a video stream acquired by the monitoring camera in the process of executing the first face attendance subtask.
And the face attendance device executes the first face attendance sub-task under the condition that the first to-be-processed video stream is determined to contain one or more first attendance objects. That is, the face attendance device executes the first face attendance subtask under the condition that all attendance objects in the first face attendance subtask are determined to be in the first to-be-processed video stream.
As an optional implementation, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream.
In this embodiment, the attendance object of the first face attendance subtask is a first attendance object, wherein the number of the first attendance objects is one or more than one.
In such an embodiment, the first to-be-processed video stream may be acquired before the face attendance device performs the first face attendance subtask.
The first to-be-processed video stream may also be a video stream acquired by the face attendance device in real time through the imaging device in the process of executing the first face attendance subtask.
For example, the first face attendance subtask determines whether the first attendance object is present in the monitoring range of the monitoring camera, and the first to-be-processed video stream is a video stream acquired by the monitoring camera in the process of executing the first face attendance subtask.
If the first attendance object does not appear in the first to-be-processed video stream for a long time, it is indicated that the execution efficiency of the first face attendance subtask is low, that is, the utilization rate of hardware resources for executing the first face attendance subtask is low. At this time, the first face attendance subtask is ended in advance, that is, the first face attendance subtask is executed, and the hardware resources for executing the first face attendance subtask are released, so that the utilization rate of the hardware resources of the face attendance device can be improved.
In this embodiment, the face attendance device determines whether the first face attendance subtask should be ended in advance, that is, whether the first face attendance subtask is executed, based on the first time threshold. Specifically, if the duration of the first attendance object in the first to-be-processed video stream does not exceed the first duration threshold, it is indicated that the face recognition device should end the first face attendance subtask in advance, that is, it is determined that the first face attendance subtask is executed, and then the first hardware resource is released.
It should be understood that, in this embodiment, the absence of the first attendance object in the first to-be-processed video stream means that any one of the one or more first attendance objects is absent from the first to-be-processed video stream. For example, the attendance objects of the first face attendance sub-task include: zhang III and Li IV, namely Zhang III and Li IV are first attendance objects. The first attendance object is not present in the first to-be-processed video stream, no third attendance is present in the first to-be-processed video stream, and no fourth attendance is present in the first to-be-processed video stream.
As an alternative embodiment, the first face attendance subtask includes determining whether one or more first attendance objects are included in the first to-be-processed video stream.
In this embodiment, the attendance object of the first face attendance subtask is a first attendance object, wherein the number of the first attendance objects is one or more than one.
In such an embodiment, the first to-be-processed video stream may be acquired before the face attendance device performs the first face attendance subtask.
The first to-be-processed video stream may also be a video stream acquired by the face attendance device in real time through the imaging device in the process of executing the first face attendance subtask.
For example, the first face attendance subtask determines whether the first attendance object is present in the monitoring range of the monitoring camera, and the first to-be-processed video stream is a video stream acquired by the monitoring camera in the process of executing the first face attendance subtask.
And the face attendance device executes the first face attendance sub-task under the condition that the first to-be-processed video stream contains one or more first attendance objects. That is, the face attendance device executes the first face attendance subtask under the condition that all attendance objects in the first face attendance subtask are determined to be in the first to-be-processed video stream.
In this embodiment, the number of the first attendance objects is n, and n is an integer greater than 1, that is, the number of the first attendance objects is greater than 1.
When the face attendance device determines that the first to-be-processed video stream contains m first attendance checking persons, and determines that the duration time of the absent persons in the first to-be-processed video stream exceeds a second duration threshold, the face attendance device ends the first face attendance sub-task in advance, namely the face attendance sub-task is executed. The number of the first attendance objects is m, m is smaller than n, and the number of the first attendance objects is m. In this embodiment, the first duration threshold is greater than the second duration threshold.
The following examples can be seen by those short of this embodiment: for example (example 3), it is assumed that the attendance objects of the first face attendance subtask include zhang san, lie si, and wang wu, where m is 2. If the face attendance device determines that the first to-be-processed video stream comprises Zhang III and Li IV, and the missing person is Wang V. For another example (example 4), it is assumed that the attendance objects of the first face attendance subtask include zhang, lie four, wang five, and saturday, and m is 2. If the face attendance device determines that the first to-be-processed video stream comprises Zhang III and Liqu, and the people who do not arrive are Wang Wu and Saturday.
The absence of people in the first to-be-processed video stream can be seen in the following example: for example, in example 3, no missing person finger appears in the first to-be-processed video stream, and wang five does not appear in the first to-be-processed video stream; in example 4, the absence of a live person in the first to-be-processed video stream means that wang five does not occur in the first to-be-processed video stream and saturday does not occur in the first to-be-processed video stream.
If no person is present in the first to-be-processed video stream for a long time, it is indicated that the execution efficiency of the first face attendance sub-task is low, that is, the utilization rate of hardware resources for executing the first face attendance sub-task is low. At this time, the first face attendance subtask is ended in advance, and the hardware resources for executing the first face attendance subtask are released, so that the hardware resource utilization rate of the face attendance device can be improved.
As an optional implementation, the method further includes: and displaying the execution progress of the first face attendance subtask.
In one possible implementation manner, the execution progress of the first face attendance sub-task includes: checking attendance, queuing, waiting for judgment and not starting. The execution progress of the first face attendance subtask is an attendance middle finger, and the face attendance device executes the first face attendance subtask.
The execution progress of the first face attendance subtask is a middle queue finger, the first face attendance subtask is started, but no hardware resource in an idle state exists in the face attendance device for executing the first face attendance subtask.
The execution progress of the first face attendance subtask is a finger to be researched and judged, the face attendance device releases hardware resources for executing the first face attendance subtask, and the execution result of the first face attendance subtask is not processed. For example, after the face attendance device executes the first face attendance subtask, it is determined that the attendance result is: zhang three normally goes out and Li four does not go out. The human face attendance device displays the attendance result through the display, and displays an information confirmation frame aiming at the attendance result on the display interface, wherein the information confirmation frame comprises the following options: confirming the attendance result and checking the details of the attendance result. And under the condition that the options in the information confirmation box are not selected, the execution progress of the first face attendance subtask is to be judged.
The execution progress of the first face attendance subtask indicates that the first face attendance subtask is not started, and the first face attendance subtask is not started, so that the first face attendance subtask cannot be executed even if hardware resources in an idle state exist in the face attendance device.
In the embodiment, the human face attendance device can enable a user to timely acquire the execution condition of the human face attendance subtask by displaying the execution progress of the human face attendance subtask, and further adjust the execution plan of the human face attendance task.
For example, the execution progress of the first face attendance subtask is to be judged, the execution progress of the second face attendance subtask is in attendance, and the execution progress of the third face attendance subtask is in queue.
If the attendance result of the first face attendance subtask is that 90% of the attendance objects are in the attendance state of no attendance, and 10 seconds are left after the second face attendance subtask is executed. Considering that 90% of attendance objects are not attendance and somewhat abnormal, the second face attendance sub-task is about to be executed, that is, the hardware resources for executing the second face attendance sub-task are about to be released, and the hardware resources for executing the second face attendance sub-task can be used for executing the third face attendance sub-task after being released. The user can input an instruction to the face attendance device so that the face attendance device executes the first face attendance subtask again, and therefore the accuracy of the attendance result of the first face attendance subtask is improved under the condition that the execution of the third face attendance subtask is not delayed.
As an optional implementation manner, the attendance checking place of the first face attendance checking task includes a first area and a second area, the first area is different from the second area, the shooting scene of the first to-be-processed video stream includes the first area, and the shooting scene of the second to-be-processed video stream includes the second area.
In this embodiment, the attendance location of the first face attendance sub-task is different from the attendance location of the at least one second face attendance sub-task, that is, the attendance location of the attendance object of the first face attendance sub-task is the first area, and the attendance location of the attendance object of the at least one second face attendance sub-task is the second area.
Different face attendance subtasks are set for different attendance objects due to different attendance places of different attendance objects, so that the hardware resource utilization rate and the attendance efficiency of the face attendance device can be improved, and a user can conveniently check attendance results.
For example, the first face attendance task is to determine whether the lodging personnel in the dormitory building a return to the corresponding room before bedtime. The dormitory building A comprises a room B and a room C, wherein the accommodation personnel in the room B comprises Zhang III, and the accommodation personnel in the room C comprises Li IV.
If the first face attendance subtask is set for the room B, a second face attendance subtask is set for the room C. The first face attendance subtask is to determine whether page three returns to room B before bedtime by processing the video stream collected in room B. The second face attendance subtask is to determine whether the fourth plum returns to the room C before bedtime by processing the video stream collected by the room C.
Under the condition that the face attendance device determines that Zhang III returns to the room B before bedtime, hardware resources used for executing a first face attendance subtask can be released, and the part of hardware resources can be used for executing other face attendance subtasks, so that the attendance efficiency and the hardware resource utilization rate of the face attendance device can be improved.
Furthermore, after the face attendance device executes the first face attendance task, the attendance result of each face attendance subtask can be respectively displayed. Therefore, the user can know the attendance result of the dormitory building A and the attendance result of the room B and the attendance result of the room C by checking the attendance result.
As an alternative embodiment, the first face attendance subtask includes determining whether the first to-be-processed video stream includes one or more first attendance objects. The at least one second face attendance subtask includes determining whether one or more second attendance objects are included in the second pending video stream. The one or more first attendance objects are different from the one or more second attendance objects, namely the attendance object of the first face attendance subtask is different from the attendance object of the at least one second face attendance subtask.
For example, the one or more first attendance objects include zhang, and the one or more second attendance objects include lie, at which point the attendance object of the first face attendance subtask is different from the attendance object of the second face attendance subtask. For another example, the one or more first attendance objects include zhang san and lie san, and the one or more second attendance objects include zhang san and wangwen, where the attendance object of the first face attendance subtask is different from the attendance object of the second face attendance subtask. For another example, the one or more first attendance objects include zhang san, the one or more second attendance objects include lie xi and wang wu, and at this time, the attendance object of the first face attendance sub-task is different from the attendance object of the second face attendance sub-task
Before the face attendance checking device executes the step 102, the following steps are also executed:
1. the method comprises the steps of obtaining a first video stream to be processed and a second video stream to be processed, wherein the first video stream to be processed is obtained through collection by a first imaging device, the second video stream to be processed is obtained through collection by a second imaging device, a shooting scene of the first imaging device comprises a first area, and a shooting scene of the second imaging device comprises a second area.
In this step, the first to-be-processed video stream is a real-time video stream of the first area, and the second to-be-processed video stream is a real-time video stream of the second area. By combining the steps with the technical scheme, the human face attendance device can realize the non-sensitive attendance of one or more first attendance objects and the non-sensitive attendance of one or more second attendance objects.
Specifically, when the first attendance object appears in the first area, attendance is performed without matching with equipment, the first imaging equipment automatically acquires the face image of the first attendance object and sends the face image of the first attendance object to the face attendance device, so that the face attendance device determines the attendance state of the first attendance object, and further the non-sensory attendance is realized. And similarly, the non-inductive attendance of the second attendance object can be realized.
Optionally, the first imaging device and the second imaging device are both monitoring cameras.
As an alternative embodiment, the at least one second face attendance sub-task includes a third face attendance sub-task and a fourth face attendance sub-task different from the third face attendance sub-task.
In the process that the face attendance device executes the first face attendance subtask and the third face attendance subtask, and before the first hardware resource is released, the fourth face attendance subtask is in an unexecuted state.
In this embodiment, in the process of executing the first face attendance sub-task and the third face attendance sub-task, the fourth face attendance sub-task is in a queue-waiting state, that is, the fourth face attendance sub-task is in an unexecuted state.
In this embodiment, after releasing the first hardware resource, the face attendance device further performs the following steps:
2. and calling the first hardware resource to execute the fourth face attendance sub-task.
In step 2, the face attendance device calls the first hardware resource to execute the fourth face attendance sub-task after releasing the first hardware resource, so that the hardware resource utilization rate of the face attendance device can be improved, and the execution efficiency of the first face attendance task can be improved.
As an optional implementation manner, the face attendance method described above is applied to a face attendance device, and hardware resources of the face attendance device are less than a sum of a second hardware resource and a third hardware resource, where the second hardware resource is a hardware resource required for executing a first face attendance subtask and a third face attendance subtask, and the third hardware resource is a hardware resource required for executing a fourth face attendance subtask.
That is, in this embodiment, the hardware resources of the face attendance device are insufficient to concurrently execute the first face attendance sub-task, the third face attendance sub-task, and the fourth face attendance sub-task, but the hardware resources of the face attendance device may concurrently execute the first face attendance sub-task and the third face attendance sub-task. Therefore, in the process of executing the first face attendance subtask and the third face attendance subtask, the fourth face attendance subtask is in a queue waiting state.
It should be understood that the first, third, and fourth face attendance subtasks in this embodiment are only examples, and it should not be understood that the face attendance device can only execute two face attendance subtasks in parallel. In practical application, the face attendance subtasks can be executed as many as possible under the permission of hardware resources, and the face attendance subtasks which are not enough in hardware resources to support execution are all in a queue waiting state. Therefore, by combining the technical scheme, under the condition that the hardware resources occupied by the executing face attendance are released, the released hardware resources can be used for executing the face attendance subtasks in the queuing waiting state, and the hardware resource utilization rate of the face attendance device and the execution efficiency of the face attendance tasks are improved.
For example, assume that the unit of the hardware resources is a path, the first hardware resources are 20 paths of hardware resources, the second hardware resources are 30 paths of hardware resources, the third hardware resources are 20 paths, and the hardware resources of the face attendance device are 30 paths of hardware resources. At this time, the face attendance device may concurrently execute the first face attendance sub-task and the third face attendance sub-task, but may not concurrently execute the first face attendance sub-task, the third face attendance sub-task and the fourth face attendance sub-task.
After the face attendance device executes the first face attendance subtask, the 20 hardware resources occupied by the first face attendance subtask are released, and the 20 hardware resources are used for executing the fourth face attendance subtask.
For another example, as shown in fig. 2, the face attendance apparatus has 60 hardware resources in total, the first hardware resource is 25 hardware resources, 5 hardware resources are required for executing the third face attendance sub task, 30 hardware resources are required for executing the fourth face attendance sub task, 30 hardware resources are required for executing the fifth face attendance sub task, and 30 hardware resources are required for executing the sixth face attendance sub task. The fifth face attendance subtask and the sixth face attendance subtask both belong to at least one second face attendance subtask, and the third face attendance subtask, the fourth face attendance subtask, the fifth face attendance subtask and the sixth face attendance subtask are four different face attendance subtasks.
In the process of executing the first face attendance subtask, the third face attendance subtask and the fourth face attendance subtask, the fifth face attendance subtask and the sixth face attendance subtask are in a queue state. And under the condition that the face attendance device executes the first face attendance subtask, releasing 25 paths of hardware resources for executing the first face attendance subtask, and using the 25 paths of hardware resources for executing a fifth face attendance subtask.
It should be understood that, in practical applications, one path of hardware resources in the face attendance subtask is generally hardware resources required for processing a video stream acquired by one monitoring camera, and the face attendance subtask generally requires processing a video stream acquired by one or more monitoring cameras. Therefore, although 30 hardware resources are required to execute the fifth face attendance sub-task, and 25 hardware resources released after the first face attendance sub-task is executed, the face attendance device can use the 25 hardware resources for processing video streams collected by 25 monitoring cameras.
As an optional implementation manner, the face attendance device releases the first hardware resource when detecting that the resource efficiency doubling instruction is started and the first face attendance task is executed.
In the implementation manner, the resource efficiency opening instruction is used for instructing the face attendance device to use the technical scheme provided by the embodiment of the application when executing the face recognition task.
Specifically, if the face attendance device detects that the resource efficiency doubling instruction is opened, and the executed first face attendance task comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask, the face attendance device releases the first hardware resource under the condition that the first face attendance subtask is executed. In one possible implementation manner, a user can input a resource efficiency doubling instruction to the face attendance device through the input component.
As an optional implementation manner, the face attendance device further performs the following steps:
3. and displaying a first attendance result of the first face attendance subtask.
In this embodiment, the first attendance result includes an arrived attendance object and a missed attendance object in the first face attendance subtask. For example, the attendance objects of the first face attendance subtask include zhang san, lie si, and wang wu. The first attendance result comprises that Zhang three and Li four have arrived and Wang five have not.
4. And under the condition that a re-attendance instruction aiming at the attendance result is detected, re-executing the first face attendance sub-task to obtain a second attendance result of the first face attendance sub-task.
If the user feels that the first attendance result may have errors (such as missing the attendance record of a certain attendance object) after seeing the first attendance result, a re-attendance instruction can be input into the face attendance device.
And under the condition that the face attendance device detects a re-attendance instruction aiming at the first attendance result, re-executing the first face attendance sub-task to obtain a second attendance result of the first face attendance sub-task.
In a possible implementation manner, if the first attendance result is obtained by processing the first to-be-processed video stream by the face attendance device, the face attendance device re-executing the first face attendance subtask includes: and the face attendance checking device processes the first to-be-processed video stream again.
For example, the first to-be-processed video stream includes image a, image b, and image c. The human face attendance device re-executes the first human face attendance subtask, namely, re-determining whether the image a contains the attendance object of the first human face attendance subtask, determining whether the image b contains the attendance object of the first human face attendance subtask, and determining whether the image c contains the attendance object of the first human face attendance subtask.
5. And combining the first attendance result and the second attendance result to obtain a third attendance result of the first face attendance subtask.
In one possible implementation manner, the human face attendance device merges the first attendance result and the second attendance result, and the human face attendance device merges the already-obtained attendance object in the first attendance result and the second attendance result.
For example, attendance objects for the first face attendance subtask include zhang san, lie four, wang wu, and saturday. The first attendance result includes Zhang three and Lisiji arrival, Wang five and Saturday arrival. The second attendance result comprises Zhang three, Wang Wu and Li four and Saturday. And combining the first attendance result and the second attendance result to obtain a third attendance result which comprises Zhang III, Li IV and Wang Wu all arrived and Saturday does not arrive.
In another possible implementation manner, the face attendance device merges the first attendance result and the second attendance result, and determines that the attendance state of the attendance object in the third attendance result is already in the case that the attendance state of the attendance object in the first attendance result and the attendance state of the attendance object in the second attendance result are both already in the face attendance device.
For example, the attendance objects of the first face attendance subtask include zhang san, lie si, wang wu, and saturday. The first attendance result includes Zhang three and Lisiji arrival, Wang five and Saturday arrival. The second attendance result comprises Zhang three, Wang Wu and Li four and Saturday. And combining the first attendance result and the second attendance result to obtain a third attendance result which comprises Zhang III and Li IV, Wang Wu and Saturday.
Based on the technical scheme provided by the embodiment of the application, the embodiment of the application also provides a possible application scenario.
The class-walking teaching mode refers to a teaching mode that the corresponding students, the class-opening time and the class-opening place of the course are not fixed. But the students should not be fixed, which brings great difficulty to the attendance of the course. With the popularization and the promotion of the shift-based teaching, how to check attendance on the shift-based teaching is of great significance.
Before attendance checking, imaging equipment can be deployed at each class opening place respectively. The video stream of the place of class is collected through the imaging equipment, and the technical scheme provided by the application is used while the face attendance is carried out on the basis of the video stream collected by the imaging equipment, so that the hardware resource utilization rate of the face attendance device and the execution efficiency of the face attendance task can be improved.
Specifically, the manager establishes a communication connection between the server (i.e., the server is used as a face attendance device) and the monitoring cameras of all the places (such as classrooms) where the class is taken. And the manager inputs an instruction for creating the human face attendance task to the server so that the server displays an interface for creating the human face attendance task through the display.
In the interface, one or more of the following regions are included: the system comprises a face attendance task name input area, a face attendance sub-task name input area contained in a face attendance task, a monitoring camera selection area, a face attendance sub-task execution time input area, a face similarity threshold selection area, a face attendance task remarking area and a resource optimization selection area.
The human face attendance task name input area is used for inputting the name of the human face attendance task. Optionally, the human face attendance task name input area is a text input box.
The face attendance sub-task name input area is used for inputting the name of the face attendance sub-task. Optionally, the human face attendance sub-task name input area is a text input box.
The human face attendance task remarking area is used for inputting remarking information of the human face attendance task. Optionally, the human face attendance task remarking area is a character input box.
The monitoring camera selection area is used for selecting the monitoring camera related to the face attendance subtask, namely, the monitoring camera can acquire whether the attendance object of the face attendance subtask is included in the video stream in real time or not by executing the face attendance subtask. Optionally, the selection area is a pull-down selection area, and the administrator clicks a pull-down selection button in the pull-down selection area through a mouse, so that the server can display all selectable monitoring cameras through the interface.
The execution time input area of the face attendance subtask is used for inputting the execution time of the face attendance subtask. Optionally, the area is a text input box.
And the execution time length input area of the face attendance subtask is used for inputting the execution time length of the face attendance subtask. Optionally, the area is a text input box.
The face similarity threshold selection area is used for inputting a minimum threshold of face similarity. For example, if the face similarity threshold is 90%, then in the video stream captured by the monitoring camera, the image with the face similarity exceeding 90% or equal to 90% with the face image of the attendance object is the image containing the attendance object. Optionally, the area is a text input area.
The resource optimization selection area is used for selecting whether to execute the face attendance task by adopting the technical scheme provided by the embodiment of the application. Optionally, the resource optimization selection area includes two options of yes and no. If the user selects yes, the server executes a face attendance task by adopting the technical scheme provided by the embodiment of the application; if the user selects no, the server executes the face attendance task without adopting the technical scheme provided by the embodiment of the application.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
The method of the embodiments of the present application is set forth above in detail and the apparatus of the embodiments of the present application is provided below.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a face attendance device according to an embodiment of the present application, where the face attendance device 1 includes an obtaining unit 11 and a releasing unit 12. Optionally, the face attendance device 1 further comprises: display unit 13, calling unit 14, processing unit 15, and merging unit 16. Wherein:
the system comprises an acquisition unit 11, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first face attendance task which comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask;
the obtaining unit 12 is configured to release a first hardware resource when the first face attendance sub-task is executed, where the first hardware resource is a hardware resource used for executing the first face attendance sub-task.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the obtaining unit 12 is configured to release the first hardware resource if it is determined that the first to-be-processed video stream includes the one or more first attendance objects.
In combination with any embodiment of the present application, the first face attendance sub-task includes determining whether one or more first attendance objects are included in the first to-be-processed video stream;
the obtaining unit 12 is configured to release the first hardware resource when it is determined that the duration of the first attendance object in the first to-be-processed video stream does not exceed a first duration threshold.
With reference to any embodiment of the present application, the first face attendance sub-task includes determining whether the first to-be-processed video stream includes n first attendance objects, where n is an integer greater than 1;
the obtaining unit 12 is configured to release the first hardware resource when it is determined that the first to-be-processed video stream includes m first attendance objects and when it is determined that a duration of a missing person, which is the first attendance object except the m first attendance objects, in the first to-be-processed video stream exceeds a second duration threshold, the m is smaller than the n, and the first duration threshold is larger than the second duration threshold.
In combination with any embodiment of the present application, the face attendance device 1 further includes: and the display unit 13 is used for displaying the execution progress of the first face attendance sub-task.
With reference to any embodiment of the present application, an attendance location of the first face attendance task includes a first area and a second area, and the first area is different from the second area; the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream, the at least one second face attendance subtask includes determining whether one or more second attendance objects are included in a second to-be-processed video stream, the one or more first attendance objects being different from the one or more second attendance objects;
the obtaining unit 11 is further configured to obtain the first to-be-processed video stream and the second to-be-processed video stream before releasing a first hardware resource when the first face attendance sub task is completed, where the first to-be-processed video stream is obtained by being acquired by a first imaging device, the second to-be-processed video stream is obtained by being acquired by a second imaging device, a shooting scene of the first imaging device includes the first area, and a shooting scene of the second imaging device includes the second area.
In combination with any embodiment of the present application, the at least one second face attendance sub-task includes a third face attendance sub-task and a fourth face attendance sub-task different from the third face attendance sub-task;
during the process that the face attendance device 1 executes the first face attendance subtask and the third face attendance subtask, and before the first hardware resource is released, the fourth face attendance subtask is in an unexecuted state;
the face attendance device 1 further comprises:
and the calling unit 14 is configured to, after the first hardware resource is released, call the first hardware resource to execute the fourth face attendance sub-task.
In combination with any embodiment of the present application, the hardware resources of the face attendance device 1 are less than the sum of second hardware resources and third hardware resources, the second hardware resources are hardware resources required for executing the first face attendance subtask and the third face attendance subtask, and the third hardware resources are hardware resources required for executing the fourth face attendance subtask.
With reference to any embodiment of the present application, the obtaining unit 12 is configured to:
and releasing the first hardware resource under the conditions that a resource efficiency doubling opening instruction is detected and the first face attendance sub task is executed.
In combination with any embodiment of the present application, the display unit 13 is further configured to:
displaying a first attendance result of the first face attendance subtask;
the face attendance device 1 further comprises: the processing unit 15 is configured to, when a re-attendance instruction for the attendance result is detected, re-execute the first face attendance sub-task to obtain a second attendance result of the first face attendance sub-task;
and the merging unit 16 is configured to merge the first attendance result and the second attendance result to obtain a third attendance result of the first face attendance sub-task.
In this embodiment, the face attendance device releases the hardware resources for executing the face attendance subtask when it is determined that the face attendance subtask in the first face attendance subtask satisfies the release condition of the face attendance subtask, and the hardware resource utilization rate of the face attendance device can be improved.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present application may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Fig. 4 is a schematic diagram of a hardware structure of a face attendance checking device provided in the embodiment of the present application. The human face attendance device 2 comprises a processor 21, a memory 22, an input device 23 and an output device 24. The processor 21, the memory 22, the input device 23 and the output device 24 are coupled by a connector, which includes various interfaces, transmission lines or buses, etc., and the embodiment of the present application is not limited thereto. It should be appreciated that in various embodiments of the present application, coupled refers to being interconnected in a particular manner, including being directly connected or indirectly connected through other devices, such as through various interfaces, transmission lines, buses, and the like.
The processor 21 may be one or more Graphics Processing Units (GPUs), and in the case that the processor 21 is one GPU, the GPU may be a single-core GPU or a multi-core GPU. Alternatively, the processor 21 may be a processor group composed of a plurality of GPUs, and the plurality of processors are coupled to each other through one or more buses. Alternatively, the processor may be other types of processors, and the like, and the embodiments of the present application are not limited.
Memory 22 may be used to store computer program instructions, as well as various types of computer program code for executing the program code of aspects of the present application. Alternatively, the memory includes, but is not limited to, Random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM), which is used for associated instructions and data.
The input means 23 are for inputting data and/or signals and the output means 24 are for outputting data and/or signals. The input device 23 and the output device 24 may be separate devices or may be an integral device.
It is understood that, in the embodiment of the present application, the memory 22 may be used to store not only the related instructions, but also the related data, for example, the memory 22 may be used to store the first face attendance task acquired through the input device 23, and the embodiment of the present application is not limited to the data specifically stored in the memory.
It is to be understood that fig. 4 only shows a simplified design of a face attendance device. In practical applications, the face attendance device may further include other necessary components, including but not limited to any number of input/output devices, processors, memories, etc., and all the face attendance devices that can implement the embodiments of the present application are within the protection scope of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It is also clear to those skilled in the art that the descriptions of the various embodiments of the present application have different emphasis, and for convenience and brevity of description, the same or similar parts may not be repeated in different embodiments, so that the parts that are not described or not described in detail in a certain embodiment may refer to the descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media that can store program codes, such as a read-only memory (ROM) or a Random Access Memory (RAM), a magnetic disk, or an optical disk.

Claims (12)

1. A face attendance method is characterized by comprising the following steps:
acquiring a first face attendance task, wherein the first face attendance task comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask;
the attendance checking place of the first face attendance checking task comprises a first area and a second area, and the first area is different from the second area; the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream, the at least one second face attendance subtask includes determining whether one or more second attendance objects are included in a second to-be-processed video stream, the one or more first attendance objects being different from the one or more second attendance objects;
acquiring the first video stream to be processed and the second video stream to be processed, wherein the first video stream to be processed is acquired by a first imaging device, the second video stream to be processed is acquired by a second imaging device, a shooting scene of the first imaging device comprises the first area, and a shooting scene of the second imaging device comprises the second area;
and releasing a first hardware resource under the condition that the first face attendance sub-task is executed, wherein the first hardware resource is a hardware resource used for executing the first face attendance sub-task.
2. The method of claim 1, wherein the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream;
the first face attendance subtask is executed completely, and the method comprises the following steps: determining that the first to-be-processed video stream includes the one or more first attendance objects.
3. The method of claim 1, wherein the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream;
the executing of the first face attendance sub-task comprises: determining that the duration of the first attendance object not appearing in the first to-be-processed video stream exceeds a first duration threshold.
4. The method of claim 1, wherein the first face attendance subtask includes determining whether n first attendance objects are included in the first to-be-processed video stream, where n is an integer greater than 1;
the executing of the first face attendance sub-task comprises: determining, if it is determined that the first to-be-processed video stream includes m first attendance objects, that a duration of absence of a person in the first to-be-processed video stream, which is the first attendance object other than the m first attendance objects, exceeds a second duration threshold, the m being smaller than the n.
5. The method according to any one of claims 1 to 4, further comprising: and displaying the execution progress of the first face attendance subtask.
6. The method according to any one of claims 1 to 4, wherein the face attendance method is applied to a face attendance device, and the at least one second face attendance subtask comprises a third face attendance subtask and a fourth face attendance subtask that is different from the third face attendance subtask;
during the process that the face attendance device executes the first face attendance subtask and the third face attendance subtask, and before the first hardware resource is released, the fourth face attendance subtask is in an unexecuted state;
after the releasing the first hardware resource, the method further comprises:
and calling the first hardware resource to execute the fourth face attendance sub-task.
7. The method of claim 6, wherein hardware resources of the face attendance device are less than a sum of second hardware resources and third hardware resources, the second hardware resources being hardware resources required to perform the first face attendance subtask and the third face attendance subtask, and the third hardware resources being hardware resources required to perform the fourth face attendance subtask.
8. The method of any of claims 1 to 4, wherein the freeing the first hardware resource upon completion of the execution of the first face attendance sub-task comprises:
and releasing the first hardware resource under the conditions that a resource efficiency doubling opening instruction is detected and the first face attendance sub task is executed.
9. The method according to any one of claims 1 to 4, further comprising:
displaying a first attendance result of the first face attendance subtask;
under the condition that a re-attendance instruction aiming at the attendance checking result is detected, re-executing the first face attendance sub-task to obtain a second attendance checking result of the first face attendance sub-task;
and combining the first attendance result and the second attendance result to obtain a third attendance result of the first face attendance subtask.
10. A face attendance device, the device comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first face attendance task which comprises a first face attendance subtask and at least one second face attendance subtask different from the first face attendance subtask;
the attendance checking place of the first face attendance checking task comprises a first area and a second area, and the first area is different from the second area; the first face attendance subtask includes determining whether one or more first attendance objects are included in a first to-be-processed video stream, the at least one second face attendance subtask includes determining whether one or more second attendance objects are included in a second to-be-processed video stream, the one or more first attendance objects being different from the one or more second attendance objects;
the acquiring unit is further configured to acquire the first video stream to be processed and the second video stream to be processed, where the first video stream to be processed is acquired by a first imaging device, the second video stream to be processed is acquired by a second imaging device, a shooting scene of the first imaging device includes the first area, and a shooting scene of the second imaging device includes the second area;
and the release unit is used for releasing a first hardware resource under the condition that the first face attendance subtask is executed, wherein the first hardware resource is a hardware resource used for executing the first face attendance subtask.
11. An electronic device, comprising: a processor and a memory for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1 to 9.
12. A computer-readable storage medium, in which a computer program is stored, which computer program comprises program instructions which, if executed by a processor, cause the processor to carry out the method of any one of claims 1 to 9.
CN202110731155.2A 2021-06-29 2021-06-29 Face attendance checking method and device, electronic equipment and computer readable storage medium Active CN113469024B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110731155.2A CN113469024B (en) 2021-06-29 2021-06-29 Face attendance checking method and device, electronic equipment and computer readable storage medium
PCT/CN2021/127412 WO2023273066A1 (en) 2021-06-29 2021-10-29 Facial attendance-checking method and apparatus, and electronic device, storage medium and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110731155.2A CN113469024B (en) 2021-06-29 2021-06-29 Face attendance checking method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113469024A CN113469024A (en) 2021-10-01
CN113469024B true CN113469024B (en) 2022-07-08

Family

ID=77874117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110731155.2A Active CN113469024B (en) 2021-06-29 2021-06-29 Face attendance checking method and device, electronic equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113469024B (en)
WO (1) WO2023273066A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113469024B (en) * 2021-06-29 2022-07-08 深圳市商汤科技有限公司 Face attendance checking method and device, electronic equipment and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666862A (en) * 2020-06-01 2020-09-15 北京软通智慧城市科技有限公司 Attendance statistical method, device, system and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102865877B (en) * 2012-10-08 2014-12-17 无锡普智联科高新技术有限公司 Solution for multiple mobile robot path conflict based on dense storage regions
US10887834B2 (en) * 2016-05-12 2021-01-05 Samsung Electronics Co., Ltd. Method and device for saving power for terminal
US20180300557A1 (en) * 2017-04-18 2018-10-18 Amazon Technologies, Inc. Object analysis in live video content
CN107544847A (en) * 2017-08-16 2018-01-05 惠州Tcl移动通信有限公司 Terminal discharges method, storage medium and the terminal that background process takes resource automatically
CN108932760A (en) * 2018-06-14 2018-12-04 深圳市商汤科技有限公司 Work attendance method and terminal based on recognition of face
CN109740501A (en) * 2018-12-28 2019-05-10 广东亿迅科技有限公司 A kind of Work attendance method and device of recognition of face
US10789796B1 (en) * 2019-06-24 2020-09-29 Sufian Munir Inc Priority-based, facial recognition-assisted attendance determination and validation system
CN110458973A (en) * 2019-07-26 2019-11-15 广州杰赛科技股份有限公司 Real-time Work attendance method, device and storage medium based on recognition of face
CN110599615A (en) * 2019-08-15 2019-12-20 武汉市怀信广志信息科技有限公司 Online attendance checking method and attendance checking terminal
CN111083561B (en) * 2019-12-31 2023-02-17 深圳市商汤科技有限公司 Video processing method, device, equipment and storage medium
CN111681330B (en) * 2020-04-16 2021-10-22 福建星网物联信息系统有限公司 Noninductive attendance checking method and equipment
CN111739181A (en) * 2020-05-19 2020-10-02 深圳市商汤科技有限公司 Attendance checking method and device, electronic equipment and storage medium
CN113469024B (en) * 2021-06-29 2022-07-08 深圳市商汤科技有限公司 Face attendance checking method and device, electronic equipment and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666862A (en) * 2020-06-01 2020-09-15 北京软通智慧城市科技有限公司 Attendance statistical method, device, system and storage medium

Also Published As

Publication number Publication date
CN113469024A (en) 2021-10-01
WO2023273066A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
US9559993B2 (en) Virtual agent proxy in a real-time chat service
US20140123030A1 (en) Virtual meetings
CN110765288B (en) Image information synchronization method, device and system and storage medium
CN108924381B (en) Image processing method, image processing apparatus, and computer readable medium
US20170177423A1 (en) Management system for notifications using contextual metadata
CN101719852A (en) Method and device for monitoring performance of middle piece
CN113469024B (en) Face attendance checking method and device, electronic equipment and computer readable storage medium
JP5653105B2 (en) Video processing system, video processing method and program
CN111428900A (en) Conference room management method and device, electronic equipment and storage medium
US9602669B1 (en) Call center anxiety feedback processor (CAFP) for biomarker based case assignment
CN112580907A (en) Task distribution method, device and equipment
CN113627412A (en) Target area detection method, target area detection device, electronic equipment and medium
CN112966256A (en) Equipment management method based on building information model and related device
CN110515749B (en) Method, device, server and storage medium for queue scheduling of information transmission
WO2023005662A1 (en) Image processing method and apparatus, electronic device, program product and computer-readable storage medium
CN110764911A (en) Resource scheduling method, device and control system based on order
CN113391896B (en) Task processing method and device, storage medium and electronic equipment
CN113483760A (en) Night patrol monitoring method and device, electronic equipment and computer readable storage medium
CN113986097A (en) Task scheduling method and device and electronic equipment
CN112995400B (en) Call data processing method and related product
CN114386951A (en) Process approval method and device, electronic equipment and storage medium
CN111143740A (en) Information processing method and device and electronic equipment
CN116755559A (en) Equipment interaction method, device, electronic equipment and computer program product
US11743432B1 (en) Interaction management system for multiple kiosk devices and multiple virtual receptionist devices
CN109167668B (en) Message notification method, message notification device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40051361

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant