A class inspection method, storage medium and computer device

By creating a teacher face database and course list, and using video data to compare teachers' face information, the problem of insufficient automatic management of teachers' tardiness and private adjustment of classes in the existing technology is solved, and effective management and early warning of the automated class patrol system are realized. , improving the efficiency and accuracy of class inspections.

CN114580878BActive Publication Date: 2024-09-06BEIJING BIYUN SHUCHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210182271.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-09-06
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

The existing automated class inspection system lacks automated management and early warning of teachers' lateness and private adjustment of classes, resulting in a heavy workload of manual monitoring and prone to omissions.

Method used

By creating a teacher face database, course list and substitute list, the teacher face information extracted from the video data is compared with the database to determine whether the teacher attends classes on time, and early warning information is generated based on the comparison results.

Benefits of technology

It realizes automated management and early warning of whether teachers are late or adjusts classes privately, improves the efficiency and accuracy of the class inspection process, and reduces the error rate of manual monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114580878B
    Figure CN114580878B
Patent Text Reader

Abstract

The present invention relates to a class inspection method, a storage medium and a computer device, comprising: creating a teacher face database, a course list and a substitute class list; receiving video data, extracting teacher face information at a first preset time point in a first time period; comparing the teacher face information extracted at the first preset time point with the teacher face database to obtain a first teacher name ID; searching for a corresponding course ID according to a course location and video data acquisition time information, and obtaining a second teacher name ID according to the course ID; if the first teacher name ID and the second teacher name ID are consistent, marking the teacher as being on time for class; if they are inconsistent, obtaining a third teacher name ID in the substitute class list according to the course ID; if the third teacher name ID is successfully obtained and the first teacher name ID is consistent with the third teacher name ID, marking the substitute teacher as being on time for class; if they are inconsistent, generating a first warning message; if obtaining the teacher name ID in the substitute class list according to the course ID fails, generating a second warning message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a class inspection method, a storage medium and a computer device. Background Art

[0002] At present, automated class inspection mainly monitors classrooms through monitoring systems, which requires manual monitoring of the screen in the computer room. The monitoring screen is displayed through multiple display screens or a single display screen in a carousel. This method still requires manual monitoring of the screen to detect abnormalities. When there are many classrooms to monitor, the manual workload is large and problems are prone to omissions, especially for whether teachers are late for class or change classes without permission. There is a lack of automated management and early warning. Summary of the invention

[0003] The purpose of the present invention is to provide a class inspection method, storage medium and computer equipment to address the defects of the prior art, so as to realize automatic management and early warning of whether teachers are late or change classes without permission during the class inspection process.

[0004] To achieve the above object, the present invention provides a first aspect of a class inspection method, the method comprising:

[0005] Create a teacher face database, course list and substitute teacher list. The teacher face database fields include the teacher name ID; the course list includes the course ID, course time, course location and teacher name ID; the substitute teacher list includes the course ID and teacher name ID;

[0006] Receive video data sent by the class inspection terminal, and extract teacher face information at a first preset time point in a first time period of each class, where the first time period starts from the start time of each class;

[0007] The teacher's face information extracted at the first preset time point in the first time period is compared with the teacher's face database to obtain the first teacher's name ID in the video data, and the class inspection terminal is associated with the course location;

[0008] According to the course location and video data collection time information associated with the class inspection terminal, the course ID of the corresponding course list is searched, and the second teacher name ID in the course list is obtained according to the course ID;

[0009] Determine whether the first teacher name ID and the second teacher name ID are consistent;

[0010] If the first teacher's name ID and the second teacher's name ID are the same, mark the teacher as being on time for the class;

[0011] If the first teacher name ID and the second teacher name ID are inconsistent, obtain the third teacher name ID in the substitute class list according to the course ID;

[0012] If the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is consistent with the third teacher's name ID, the substitute teacher is marked as being on time for the class;

[0013] If the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is inconsistent with the third teacher's name ID, a first warning message is generated;

[0014] If the teacher name ID in the substitute class list cannot be obtained according to the course ID, a second warning message is generated.

[0015] In combination with the first aspect, in a second possible implementation manner, the method further includes:

[0016] Determine whether the teacher's face information is successfully extracted at the first preset time point in the first time period;

[0017] If the teacher's facial information fails to be extracted at the first preset time point in the first time period, the teacher is marked as late;

[0018] If the teacher's facial information is extracted successfully at the first preset time point in the first time period, the teacher's facial information extracted at the first preset time point in the first time period is compared with the teacher's facial database to obtain the first teacher's name ID in the video data, and the class inspection terminal is associated with the course location.

[0019] In combination with the second possible implementation manner of the first aspect, in a third possible implementation manner, determining whether the extraction of the teacher's facial information at the first preset time point in the first time period is successful includes:

[0020] There are multiple first preset time points in the first time period, and the extraction of teacher facial information at multiple first preset time points all fail, marking the failure of extracting teacher facial information at the first preset time point in the first time period.

[0021] In combination with the second possible implementation manner of the first aspect, in a fourth possible implementation manner, the method further includes:

[0022] If the teacher's facial information is successfully extracted at the first preset time point in the first time period, the teacher's facial information is extracted at multiple second preset time points in the second time period of each class, and the second time period is within the same class as the first time period;

[0023] Count the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class;

[0024] If the total number of failures is not less than the preset number threshold, the teacher or substitute teacher is marked as leaving the post according to the name ID of the first teacher;

[0025] If the total number of failures is less than the preset number threshold, the teacher or substitute teacher's attendance is marked as normal based on the first teacher's name ID.

[0026] In combination with the second possible implementation manner of the first aspect, in a fifth possible implementation manner, the method further includes:

[0027] If the teacher's facial information cannot be extracted at the first preset time point in the first time period, the teacher's facial information is extracted at multiple second preset time points in the second time period of each class, and the second time period is within the same class as the first time period;

[0028] Count the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class;

[0029] If the total number of failures is not less than the preset number threshold, the teacher's attendance is marked as failed;

[0030] If the total number of failures is less than a preset number threshold, the teacher face information successfully extracted at multiple second preset time points in the second time period of each class is compared with the teacher face database to obtain the fourth teacher name ID in the video data;

[0031] If the fourth teacher's name ID is the same as the second teacher's name ID, mark the teacher as present;

[0032] If the fourth teacher's name ID is the same as the third teacher's name ID, the substitute teacher is marked as present.

[0033] In combination with the first aspect, in a sixth possible implementation manner, the length of the first time period is set to be no greater than 10 minutes.

[0034] In combination with the fourth possible implementation manner of the first aspect, in a seventh possible implementation manner, the start time of the second time period is the end time of the first time period, and the end time of the second time period is the end time of each class.

[0035] In combination with the sixth possible implementation manner of the first aspect, in an eighth possible implementation manner, the first preset time points are evenly set within the first time period, and the number is no less than 5.

[0036] A second aspect of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the method described in the first aspect.

[0037] A third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method described in the first aspect.

[0038] The embodiments of the present invention provide a class inspection method, storage medium and computer device, which compare the teacher name ID obtained from the teacher's facial information extracted from the video data with the teacher name ID in the course list or the teacher name ID in the substitute teacher list, thereby realizing automatic management and early warning of whether the teacher or substitute teacher attends the class on time or changes the class without permission during the class inspection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 One of the flow charts of the class inspection method provided by an embodiment of the present invention;

[0040] Figure 2 The second flowchart of the class inspection method provided by the embodiment of the present invention;

[0041] Figure 3 One of the partial flow charts of the class inspection method provided by an embodiment of the present invention;

[0042] Figure 4 This is a second partial flow chart of the class inspection method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.

[0044] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Figure 1 One of the flow charts of the class inspection method provided by the embodiment of the present invention is as follows: Figure 1 As shown, the class inspection method includes the following steps:

[0046] Step 101, create a teacher face database, a course list and a substitute teacher list. The teacher face database field includes the teacher name ID; the course list includes the course ID, course time, course location and teacher name ID; the substitute teacher list includes the course ID and the substitute teacher's name ID.

[0047] Specifically, the teacher face database is used for teacher face recognition. The face features in the video data are extracted and compared with the original face information in the database to obtain the teacher name ID in the face database that has the same face features as the video data. The course ID of the course list is a unique code. The same subject taught by the same teacher at different times corresponds to different course IDs. The course ID can be encoded in one or more digits to distinguish different campuses, different grades, different classes, and different dates. For example, the course ID is 00102010304. Starting from the high digit, 001 is the campus code, 02 is the second grade, 01 is the first class, 03 is Wednesday, and 04 is the fourth class. The course time is the start and end time of each class, such as 9:00-9:40, using a 24-hour system. Each unique course ID is associated with a teacher's name ID. The course location can be the name of the branch school plus the class name. The optional course list also includes the course name. The substitute teacher list contains the teacher name ID and course ID of the substitute teacher who has been approved in advance. Creating a substitute teacher list can avoid situations where teachers privately change classes or take up cultural and sports classes.

[0048] Step 102, receiving the video data sent by the class inspection terminal, extracting the teacher's face information at the first preset time point of the first time period of each class, and the first time period starts from the start time of each class.

[0049] Specifically, the class inspection terminal is a device with a video acquisition function, such as a surveillance camera. The surveillance camera can be installed at the upper end of the back wall of the classroom, and the lens is aimed at the teaching area, including the podium and blackboard area. The first time period is set according to the teacher's lateness standard. If the teacher's lateness standard for class is more than 5 minutes, the length of the first time period is set to 5 minutes. Preferably, the length of the first time period is set to no more than 10 minutes. Multiple first preset time points can be set to avoid the situation where the facial data cannot be obtained at the extraction point because the teacher is facing away from the podium. Preferably, the first preset time points are evenly set in the first time period, and the number is not less than 5, and the starting time point and the ending time point of the first time period are both the first preset time points. In one possible implementation, for the class from 9:00 to 9:40, the first time period is set to 5 minutes, and the first time period starts from the start time of each class. Then, 6 preset time points are evenly set in the time period from 9:00 to 9:05, that is, the teacher's facial information in the video data is extracted at the 6 preset times of 9:00, 9:01, 9:02, 9:03, 9:04, and 9:05 respectively.

[0050] Step 103, the teacher's face information extracted at the first preset time point in the first time period is compared with the teacher's face database to obtain the first teacher's name ID in the video data, and the class inspection terminal is associated with the course location.

[0051] Specifically, the teacher's facial information is extracted at multiple first preset time points, and the end point of the first time period is one of the first preset time points, which can ensure that the teacher's facial information is extracted at least once before the teacher is judged to be late, so as to ensure the accuracy of the judgment. The teacher's facial information extracted at multiple first preset time points is compared with the teacher's facial database to obtain the first teacher's name ID in the video data. Preferably, the extracted teacher's facial information is empty or has incomplete features and is deleted and does not participate in the comparison. The video data sent by the class inspection terminal includes the course location and video data collection time of the video data collection.

[0052] Step 104: search for the course ID of the corresponding course list according to the course location and video data acquisition time information associated with the course inspection terminal, and obtain the second teacher name ID in the course list according to the course ID.

[0053] Specifically, the class inspection terminal is set in the classroom, and each class inspection terminal is uniquely associated with a course location. The video data collected by the class inspection terminal also includes the time of collection. According to the classroom and time, it can be uniquely determined which class the video data transmitted by the class inspection terminal is for. According to the course ID, the second teacher name ID in the course list is searched. The first teacher name ID and the second teacher name ID corresponding to the face information of the same teacher are consistent. Here, the first and second are used to distinguish the teacher name ID corresponding to the teacher face information extracted from the video data and the original associated teacher name ID in the course list for comparison and description.

[0054] Step 105, determining whether the first teacher's name ID is consistent with the second teacher's name ID.

[0055] Step 106: If the first teacher's name ID and the second teacher's name ID are consistent, mark the teacher as being on time for class.

[0056] Step 107: If the first teacher's name ID and the second teacher's name ID are inconsistent, obtain the third teacher's name ID in the substitute class list according to the course ID.

[0057] Specifically, if the first teacher name ID and the second teacher name ID are inconsistent, it means that the teacher who was supposed to teach the class did not arrive on time. According to the course ID obtained in step 104, check whether there is a teacher substitute in the substitute list that has been approved. If so, obtain the third teacher name ID in the substitute list. The first teacher name ID, the second teacher name ID, and the third teacher name ID corresponding to the facial information of the same teacher are consistent. The first, second, and third are used to distinguish the teacher name ID corresponding to the teacher facial information extracted from the video data and the original associated teacher name ID in the course list and the teacher name ID in the substitute list for comparison and description.

[0058] Step 108, if the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is consistent with the third teacher's name ID, mark the substitute teacher as being on time for class.

[0059] Step 109: If the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is inconsistent with the third teacher's name ID, a first warning message is generated.

[0060] Specifically, when the third teacher's name ID is obtained successfully, it means that the class with the course ID has a substitute teacher's substitute information that has been reviewed and approved in the substitute list, and the monitored object is the substitute teacher. If the first teacher's name ID is inconsistent with the third teacher's name ID, it means that the substitute teacher has not entered the class on time, and a first warning message is generated. The first warning message may include but is not limited to the course ID, course address, first teacher ID, third teacher ID and late mark.

[0061] Step 110: If the acquisition of the teacher's name ID in the substitute class list according to the course ID fails, a second warning message is generated.

[0062] Specifically, when the teacher name ID in the substitute class list fails to be obtained according to the course ID, it means that there is no teacher substitute class information in the substitute class list that has been approved, and the teacher has privately substituted the class, and a second warning message is generated. The second warning message may include, but is not limited to, the course ID, the course address, the first teacher ID, the second teacher ID, and the first teacher ID abnormality mark. The first teacher ID abnormality indicates that the teacher in the video data is neither the original teacher who should have taught the class, nor a substitute teacher who has been approved. According to the second warning message, the private substitution of classes can be discovered in time, and it can be discovered and handled in time.

[0063] In a preferred embodiment, Figure 2 As shown, after step 102, the following steps are also included:

[0064] Step 201, determining whether the teacher's facial information is extracted successfully at the first preset time point in the first time period.

[0065] Step 202: If the extraction of the teacher's facial information at the first preset time point in the first time period fails, the teacher is marked as late.

[0066] Specifically, there are multiple first preset time points in the first time period, and the extraction of teacher face information at multiple first preset time points fails, marking the failure of extracting teacher face information at the first preset time point in the first time period. When it is determined that the extraction of teacher face information fails, it means that the teacher did not enter the class in the first time period and was late.

[0067] If the teacher's facial information is successfully extracted at the first preset time point in the first time period, step 103 is executed.

[0068] In an alternative approach, Figure 3 One of the partial flow charts of the class inspection method provided by the embodiment of the present invention, the steps before step 110 are the same as Figure 2 The steps before step 110 are similar. Figure 3 Not shown, after step 110, as Figure 3 As shown, it also includes:

[0069] Step 301, if the teacher's facial information is extracted successfully at the first preset time point of the first time period, the teacher's facial information is extracted at multiple second preset time points of the second time period of each class, and the second time period and the first time period are within the same class time.

[0070] Specifically, the successful extraction of teacher face information at the first preset time point in the first time period indicates that the teacher arrives on time and is not late, and the extraction of teacher face information at multiple second preset time points in the second time period is used to monitor whether the teacher leaves the class after arriving on time. The start and end time of the second time period is set to not exceed the start and end time of each class, and is not included in the first time period of each class.

[0071] In an optional solution, the start time of the second time period is the end time of the first time period, the end time of the second time period is the end time of each class, and multiple second preset time points are evenly set between the second time periods. In a specific implementation, there is a class from 10:00 to 10:45, the first time period is set to 10:00 to 10:05, then the second time period is 10:05 to 10:45, and 8 second preset time points are evenly set, that is, one point is set every 5 minutes, and the teacher's face information is extracted from the video data at the eight second preset time points of 10:10, 10:15, 10:20, 10:25, 10:30, 10:35, 10:40 and 10:45.

[0072] Step 302, counting the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class.

[0073] Step 303: If the total number of failures is not less than a preset number threshold, the teacher or substitute teacher is marked as leaving the post according to the first teacher's name ID.

[0074] Step 304: If the total number of failures is less than a preset number threshold, the teacher or substitute teacher's attendance is marked as normal according to the first teacher's name ID.

[0075] In a specific example, the preset number threshold is 3. If there are 8 second preset time points, when the teacher's facial information extraction fails at three consecutive points, namely, the 3rd, 4th and 5th, it is determined that the teacher or substitute teacher has left the post. If the teacher who teaches on time in the first time period is the original teacher, it is determined that the teacher has left the post. If the teacher who teaches on time in the first time period is the substitute teacher, it is determined that the substitute teacher has left the post. When the teacher's facial information extraction fails at the preset time points 1, 4, 5 and 8, since there are only 4 and 5 consecutive second preset time points, and the number is less than 3, it is determined that the teacher or substitute teacher has normal attendance, that is, the teacher arrives on time in the first time period and does not leave the post. The preset number threshold is set to avoid the situation where the teacher's facial information extraction fails when the teacher's back is turned to the camera or the teacher goes out for a short time, which leads to the misjudgment of the teacher's leaving the post.

[0076] In yet another alternative, Figure 4 The second partial flow chart of the class inspection method provided by the embodiment of the present invention is as follows: Figure 4 As shown, the steps before step 110 are Figure 2 The steps before step 110 are similar. Figure 4 Not shown, after step 110, the following steps are also included:

[0077] Step 401, if the teacher's facial information is extracted at the first preset time point of the first time period, the teacher's facial information is extracted at multiple second preset time points of the second time period of each class, and the second time period is within the same class time as the first time period.

[0078] Specifically, failure to extract teacher face information at the first preset time point in the first time period indicates that the teacher is late for class and is not on time. The second time period is set to further determine whether the teacher is in class and whether he or she has left the class after arriving.

[0079] Step 402, counting the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class.

[0080] Step 403: If the total number of failures is not less than the preset number threshold, the teacher attendance is marked as failed.

[0081] Specifically, if the extraction of the teacher's facial information fails at the first preset time point in the first time period and the extraction of the teacher's facial information fails at consecutive preset time points in the second time period, it means that the teacher is late and absent from work or leaves the post midway, and the teacher's attendance fails.

[0082] Step 404, if the total number of failures is less than the preset number threshold, the teacher's facial information successfully extracted at multiple second preset time points in the second time period of each class is compared with the teacher face database to obtain the fourth teacher's name ID in the video data.

[0083] Specifically, since the teacher's face information extraction failed at the first preset time point in the first time period, the first teacher's name ID cannot be obtained, and therefore the teacher ID of the teacher who actually teaches in the second time period cannot be directly obtained from the first time period. The teacher's face information successfully extracted at multiple second preset time points in the second time period is compared with the teacher face database to obtain the fourth teacher's name ID in the video data, and the fourth teacher's name ID is the teacher who actually teaches in the second preset time period.

[0084] Step 405: If the fourth teacher's name ID is the same as the second teacher's name ID, mark the teacher's attendance.

[0085] Step 406: If the fourth teacher's name ID is the same as the third teacher's name ID, mark the substitute teacher as present.

[0086] Specifically, when the first preset time point in the first time period fails to extract the teacher's facial information and the fourth teacher's name ID is the same as the second teacher's name ID, it means that the teacher is late for class but has normal attendance and has not left the class, and the teacher's attendance is marked. When the first preset time point in the first time period fails to extract the teacher's facial information and the fourth teacher's name ID is the same as the third teacher's name ID, it means that the substitute teacher is late for class but has normal attendance and has not left the class, and the substitute teacher's attendance is marked.

[0087] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the above-mentioned class inspection method. The steps of the class inspection method here can be the steps of the class inspection method in each of the above-mentioned embodiments.

[0088] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned class inspection method. The steps of the class inspection method here may be the steps of the class inspection method in each of the above-mentioned embodiments.

[0089] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0090] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0091] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A class inspection method, characterized in that: The method comprises: Create a teacher face database, course list and substitute teacher list. The teacher face database fields include the teacher name ID; the course list includes the course ID, course time, course location and teacher name ID; the substitute teacher list includes the course ID and teacher name ID; Receive video data sent by the class inspection terminal, and extract teacher face information at a first preset time point in a first time period of each class, where the first time period starts from the start time of each class; there are multiple first preset time points; The teacher's face information extracted at the first preset time point in the first time period is compared with the teacher's face database to obtain the first teacher's name ID in the video data, and the class inspection terminal is associated with the course location; According to the course location and video data collection time information associated with the class inspection terminal, the course ID of the corresponding course list is searched, and the second teacher name ID in the course list is obtained according to the course ID; Determine whether the first teacher name ID and the second teacher name ID are consistent; If the first teacher's name ID and the second teacher's name ID are the same, mark the teacher as being on time for the class; If the first teacher name ID and the second teacher name ID are inconsistent, obtain the third teacher name ID in the substitute class list according to the course ID; If the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is consistent with the third teacher's name ID, the substitute teacher is marked as being on time for the class; If the third teacher's name ID is successfully obtained according to the course ID and the first teacher's name ID is inconsistent with the third teacher's name ID, a first warning message is generated; If the teacher name ID in the substitute class list cannot be obtained according to the course ID, a second warning message is generated.

2. The class inspection method according to claim 1, characterized in that: The method further comprises: Determine whether the teacher's face information is successfully extracted at the first preset time point in the first time period; If the teacher's facial information fails to be extracted at the first preset time point in the first time period, the teacher is marked as late; If the teacher's facial information is successfully extracted at the first preset time point in the first time period, the teacher's facial information extracted at the first preset time point in the first time period is compared with the teacher's facial database to obtain the first teacher's name ID in the video data, and the class inspection terminal is associated with the course location.

3. The class inspection method according to claim 2, characterized in that: The step of determining whether the teacher's facial information is successfully extracted at the first preset time point in the first time period includes: There are multiple first preset time points in the first time period, and the extraction of teacher facial information at multiple first preset time points all fail, marking the failure of extracting teacher facial information at the first preset time point in the first time period.

4. The class inspection method according to claim 2, characterized in that: The method further comprises: If the teacher's facial information is successfully extracted at the first preset time point in the first time period, the teacher's facial information is extracted at multiple second preset time points in the second time period of each class, and the second time period is within the same class as the first time period; Count the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class; If the total number of failures is not less than the preset number threshold, the teacher or substitute teacher is marked as leaving the post according to the name ID of the first teacher; If the total number of failures is less than the preset number threshold, the teacher or substitute teacher's attendance is marked as normal based on the first teacher's name ID.

5. The class inspection method according to claim 2, characterized in that: The method further comprises: If the teacher's facial information cannot be extracted at the first preset time point in the first time period, the teacher's facial information is extracted at multiple second preset time points in the second time period of each class, and the second time period is within the same class as the first time period; Count the total number of failed attempts to extract the teacher's facial information at multiple consecutive preset time points in the second time period of each class; If the total number of failures is not less than the preset number threshold, the teacher's attendance is marked as failed; If the total number of failures is less than a preset number threshold, the teacher face information successfully extracted at multiple second preset time points in the second time period of each class is compared with the teacher face database to obtain the fourth teacher name ID in the video data; If the fourth teacher's name ID is the same as the second teacher's name ID, mark the teacher as present; If the fourth teacher's name ID is the same as the third teacher's name ID, the substitute teacher is marked as present.

6. The class inspection method according to claim 1, characterized in that: The length of the first time period is set to be no more than 10 minutes.

7. The class inspection method according to claim 4, characterized in that: The start time of the second time period is the end time of the first time period, and the end time of the second time period is the end time of each class.

8. The class inspection method according to claim 6, characterized in that: The first preset time points are evenly set within the first time period, and the number is no less than 5.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 8.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.