Teacher classroom video attitude estimation recognition result display method based on dynamic task scheduling

Through dynamic task scheduling and Redis database caching, combined with target detection and attitude estimation technology, the problem of low efficiency of teacher classroom video attitude display in the existing technology is solved, high-precision and real-time attitude display is achieved, and system performance and user experience are improved. .

CN118568293APending Publication Date: 2024-08-30YUNNAN NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410650704.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing teacher classroom video posture estimation and display methods are inefficient and ineffective, and cannot achieve real-time display.

Method used

Adopting a method based on dynamic task scheduling, combined with technologies such as target detection and attitude estimation, through back-end computing and front-end interaction, the dynamic task scheduling algorithm is used to allocate computing resources to achieve high-precision estimation and real-time display of the teacher's attitude, and the Redis database is used for caching and data persistence, optimizing resource utilization and user experience.

Benefits of technology

It improves system performance and user experience, enables high-precision real-time display of teachers’ classroom video postures, and ensures efficient use of computing resources and rapid data response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568293A
    Figure CN118568293A
Patent Text Reader

Abstract

The invention relates to a teacher classroom video attitude estimation recognition result display method based on dynamic task scheduling, and belongs to the technical field of attitude estimation data visualization. According to the method, a strategy based on dynamic task scheduling is adopted, a teacher classroom teaching video is preprocessed in a back-end operation stage, and video clips are allocated to a teacher target detector instance and a teacher posture estimator instance according to a computing resource condition to obtain a teacher posture recognition result. The results are stored in a cache database and the identification results are stored in a subsequent persistent manner. In the front-end interaction stage, the sliced teacher classroom teaching video is handed over to a video player to be played, the player inquires a posture recognition result data cache, and finally a teacher posture recognition result is drawn through a canvas and is overlapped with the video player to be displayed in a coordinated mode. According to the method, the problem of displaying the teacher classroom posture estimation result with the front end and the rear end separated is efficiently solved, and accurate, visual and real-time displaying of the classroom teacher posture result is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling, and belongs to the technical field of posture estimation data visualization. Background Art

[0002] With the development of intelligent education technology, a method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling has emerged in the context of intelligent education. This method integrates key technologies such as image processing, posture estimation, target detection, dynamic task scheduling, and database management to achieve accurate estimation and real-time display of the teacher's posture in the classroom video. Existing methods generally process the backend first and then display it according to specific needs. On the other hand, the visualization method is to draw through the backend and then pass it to the image display interface, which has poor efficiency and drawing effect, and cannot display the teacher's classroom teaching posture in real time. Summary of the invention

[0003] The present invention provides a method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling, which is used to solve the problem that the existing teacher classroom video posture estimation and display methods are slow and have poor effects.

[0004] The technical solution of the present invention is: On the one hand, the present invention provides a method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling. The method comprehensively uses advanced technologies such as target detection and posture estimation to achieve high-precision estimation and real-time display of the teacher's posture in the classroom video. Through the dynamic task scheduling algorithm, computing resources are flexibly allocated according to system load and resource availability to ensure efficient operation of the system. The key to this method is to combine back-end computing with front-end interaction, store and manage posture recognition results, and support real-time display of the system and user query needs. Through dynamic task scheduling, the system can flexibly respond to different educational application scenarios, improving system performance and user experience.

[0005] The specific steps are: Step 1: Backend computing stage: Step 1.1: Upload the teacher's classroom teaching video data. The video's perspective includes the teacher object throughout the whole process, and transcode the video into a specific format and resolution size; Step 1.2: Preprocess the video data transcoded in Step 1.1, cut the video into several video clips of fixed length, and create a video clip index; Step 1.3: Assign the video clips in Step 1.2 to the teacher object detector instance based on the computing resources; Step 1.4: Input the output result of the teacher target detector instance in Step 1.3 into the corresponding teacher pose estimator instance, and the teacher pose estimator instance outputs the teacher pose estimation recognition result according to the target teacher coordinates; Step 1.5: Cache the teacher posture estimation and recognition result data in Step 1.4 in the Redis database. When the posture estimation of several video clips is completed, all the teacher posture estimation and recognition results are persisted. By temporarily caching the posture estimation results in Redis, the system can quickly respond to user query requests and avoid repeated calculation of posture estimation of the same video clip, thereby optimizing the system's resource utilization.

[0006] Step 2: Front-end interaction stage: Step 2.1: Give the video clip output in Step 1.2 to the video player for playback. The video player can jump to any position of the video and call different video clips. Step 2.2: Query the teacher posture estimation recognition result data. If the data already exists, directly obtain the result; if the data does not exist, it is necessary to reschedule the computing resources and execute the operations from Step 1.3 to Step 1.5 to estimate the teacher posture; Step 2.3: Take the teacher posture estimation and recognition results from the data cache, process the data coordinate point information, and sort them according to the key point connection rules; Step 2.4: Draw the teacher's posture estimation and recognition results on the video player through canvas overlay, draw the key point data processed in Step 2.3 in order, and overlap the drawing results with the player video position. The default drawing frame rate per second is the same as the video frame rate, ensuring that the posture estimation and recognition results are superimposed on the teacher's classroom video to keep the drawn posture results matching the video playback smoothness; Step 2.5: When you need to jump to a specific time point in the video, query the teacher posture estimation recognition result in the cache based on the time point information, and then repeat step 2.2.

[0007] In the Step 1.4, multiple teacher target detectors and multiple teacher pose estimators work together to achieve parallel processing, thereby improving the efficiency of teacher classroom video pose estimation and recognition. The teacher pose estimator immediately estimates the pose of the teacher target object after receiving the coordinate information of the teacher target object output by the teacher target detector, and the teacher pose estimator outputs the teacher pose estimation and recognition result in real time.

[0008] In the Step 2.3, the pose estimation result is obtained from the cache to process the coordinate point information. The pose estimation result corresponding to each frame includes the coordinates of 17 points. The coordinate points in the pose estimation result are connected according to the human body key point connection rules. The accuracy and consistency of the pose estimation result are ensured by processing the data coordinate point information and sorting according to the human body key point connection rules.

[0009] The content of the teacher posture estimation and recognition result includes the time-series teacher target frame, the time-series teacher posture and the drawing of the key points of the human body, which are displayed on the canvas covered by the video player.

[0010] On the other hand, the present invention provides a teacher classroom video posture estimation and recognition result display system based on dynamic task scheduling, including a back-end computing module for processing the video and recognizing the teacher's posture, and a front-end interactive module for displaying the teacher's posture estimation and recognition result; The back-end computing module includes a computing resource scheduling module, a teacher target detector, a teacher posture estimator, a recognition result caching module, and a recognition result persistence module; The front-end interaction module includes a video player, a recognition task result scheduling module and a teacher posture estimation recognition result display module.

[0011] In the computing resource scheduling module, each GPU contains multiple teacher target detector instances, which can process multiple video clips in parallel. The GPU contains multiple teacher target estimator instances, which can estimate multiple target teacher postures in parallel.

[0012] The recognition task result scheduling module is used to query the recognition result data cache. If the gesture recognition data exists, the module takes the gesture recognition result from the data cache.

[0013] The present invention realizes dynamic task scheduling by combining the scheduling of recognition task results with the scheduling of computing resources, so as to meet the user's demand for real-time visualization of the data results of the posture estimation recognition task. In the back-end operation module, the recognition results output by the posture estimator will be cached at a high speed, and the operation of data persistence will be triggered under specific conditions so that the front end can schedule the data results. In the front-end interaction module, the posture estimation recognition results will be displayed superimposed with the teacher's classroom video, and the recognition results can be effectively and intuitively visualized according to the playback status, realizing the display of dynamic and real-time teacher's classroom video recognition results.

[0014] The beneficial effect of the present invention is that the present invention combines a dynamic task scheduling strategy to provide a comprehensive solution for teacher classroom video posture estimation. Through the ingenious design of task scheduling, computing resource scheduling, recognition task result scheduling, and result display, not only the real-time performance of the system is improved on the basis of ensuring accuracy, but also the posture estimation results can be displayed more intelligently and efficiently through database management and dynamic resource allocation. Through advanced deep learning models, the system can accurately capture the key posture information of teachers, and the dynamic task scheduling algorithm ensures the efficient use of computing resources. The recognition results are stored using a cache and database system to support fast data retrieval and display. This method not only realizes real-time posture estimation, but also effectively manages computing resources, provides intelligent and innovative solutions for the field of education, and is expected to play an important role in improving teaching quality and supporting educational research. It can also play a positive role in the fields of video intelligent processing, human-computer interaction, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a process architecture diagram of the present invention; Figure 2 is a diagram of the computing resource scheduling architecture of the present invention; Figure 3 It is a diagram of the recognition result cache and persistence architecture of the present invention; Figure 4 This is a diagram of the recognition task scheduling and result display architecture of the present invention; Figure 5 This is an example diagram showing the teacher posture estimation and recognition results of the present invention. DETAILED DESCRIPTION

[0016] The present invention will be further described below in conjunction with the accompanying drawings and specific implementation methods.

[0017] A teacher classroom video posture estimation and recognition result display system based on dynamic task scheduling, such as Figure 1-4 As shown: Figure 1The overall architecture of teacher classroom video posture estimation based on dynamic task scheduling is shown. The system is divided into two parts: the back-end operation module and the front-end interaction module. The back-end operation module mainly includes computing resource scheduling, teacher target detector, teacher posture estimator, recognition result cache module and recognition result persistence module. The front-end interaction module mainly includes video player, recognition task result scheduling module and teacher posture estimation recognition result display module. In the back-end operation stage, the teacher classroom teaching video is first uploaded, and then after preprocessing operations, the video is sliced ​​and divided into several video clips of fixed length. The video clips are assigned to the teacher target detector instance according to the computing resources, and then the output results of the detector are input into the teacher posture estimator instance. The estimator outputs the teacher posture estimation recognition result according to the coordinates of the target teacher. The posture recognition result data is cached in the Redis database. After multiple video clips are processed, the recognition results are finally persisted. In the front-end interaction stage, the sliced ​​teacher's classroom teaching video is given to the video player for playback. The video player will query the recognition result data cache. If the posture data exists, it will be directly obtained from the cache. Otherwise, it is necessary to re-schedule the computing resources and estimate the posture. Then, the teacher's posture estimation recognition result is drawn through the canvas according to the key point data to display the teacher's posture estimation recognition result.

[0018] Figure 2 The architecture of the computing resource scheduling module is shown. The sliced ​​teacher classroom teaching video is put into the memory pool, which can speed up the speed of computing resource scheduling video clips input into the teacher target detector instance. In the computing resource scheduling module, each GPU contains multiple teacher target detector instances, and the detector instance can process multiple video clips in parallel. The GPU also contains multiple teacher target estimator instances, and the estimator instance can also estimate multiple target teacher postures in parallel, thereby improving the processing efficiency of posture recognition. After the posture estimation processing of the video clip is completed, the posture recognition result data is cached.

[0019] Figure 3 The cache and persistence architecture of the recognition results is shown. The system transfers the video metadata, slice index, teacher target recognition results, and teacher posture estimation recognition results to the recognition result data cache module, which stores data in the form of key-value pairs, sets task indexes for tasks that require users to jump to specific time points in the video and tasks that cache recognition result data, and sets result indexes for teacher posture estimation recognition results. Different tasks are processed according to task indexes and result indexes through message queues. After the recognition result data of the video slice is cached, the recognition result data persistent storage operation is performed to save the metadata of the video slice, recognition results, video slice information, and task log information.

[0020] Figure 4 The architecture of scheduling and displaying the recognition task results is shown. When the video player receives a video playback request and a recognition result request, it will send it to the recognition task result scheduling module. This module is responsible for querying the recognition result data cache. If the posture recognition data exists, the module will take the posture recognition result from the data cache. The content displayed by the teacher posture estimation recognition result includes the time-series teacher target frame, the time-series teacher posture, and the drawing of the key points of the human body. These contents will be displayed on the canvas covered by the video player.

[0021] A method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling, the specific steps are as follows: Step 1: Backend computing stage: Step 1.1: First, upload the classroom teaching video data containing the teacher object to the system. Before uploading the video, you need to ensure that the video's entire perspective completely covers the teacher object. Then perform necessary processing operations and transcode the video to adapt to the specified format and resolution requirements. The default resolution is 720P.

[0022] Step 1.2: Pre-process the video transcoded in Step 1.1, cut the complete classroom teaching video into several video clips of fixed length, and create an index for the video clips, which helps the system quickly query and access video content within a specific time period.

[0023] Step 1.3: According to the computing resources available in the system, the video clips cut in Step 1.2 are stored in the memory pool to improve the speed of the system to obtain video clips. The system will allocate these video clips from the memory pool to the teacher target detector instance for recognition. The system supports multiple teacher target detector instances and inputs them into the teacher target detector instance one by one in the order of the video clip index for processing.

[0024] Step1.4: The system passes the output result of the teacher target detector in Step1.3 to the corresponding teacher pose estimator instance. The pose estimator instance performs pose estimation based on the coordinate information of the detected teacher target frame. By analyzing the pose and movement of the target teacher, the pose estimator outputs the teacher pose estimation recognition result, that is, the human body key point result of the teacher target object pose. The result includes the position and pose information of the key points.

[0025] Step 1.5: The system temporarily saves the teacher classroom video posture estimation recognition results in Step 1.4 to the Redis database. The recognition results include video metadata, video slice index, teacher target recognition results, and teacher posture estimation recognition results. After the posture estimation tasks of all video clips are completed, the system will store these recognition results persistently.

[0026] Step 2: Front-end interaction stage, such as Figure 1 , Figure 4 , Figure 5 As shown: Step 2.1: The system provides the video clips cut in Step 1.2 to the video player, so that users can watch the pose estimation recognition results of the classroom teaching video. The video player schedules the recognition task results according to the user's video playback needs and recognition result requests, so that users can jump to any position in the video as needed.

[0027] Step 2.2: The system will schedule the recognition task results according to the request of the video player, and check whether there is posture recognition data in the cache. If so, the data will be obtained directly from the cache. If there is no posture recognition data in the cache, the system will trigger the operation of rescheduling computing resources and execute Step 1.3, Step 1.4, and Step 1.5 to perform posture estimation.

[0028] Step 2.3: After the system extracts the posture estimation results from the cache, it processes the coordinate point information of the teacher's posture estimation recognition results and sorts the coordinate points according to the human body key point connection rules.

[0029] Step 2.4: The system uses a canvas to draw the teacher's posture estimation and recognition results in the classroom video on the video player. The drawing process is carried out according to the sequence of the human key point data processed in Step 2.3. The drawing result overlaps with the teacher's target object position in the video player. The drawing frame rate defaults to the same as the video frame rate. Users can adjust the drawing frame rate as needed.

[0030] Step 2.5: When the video player needs to jump to a specific time point in the video, the system will query the cached pose estimation recognition result based on the given time point information. If the result does not exist, the system will repeat the operation of Step 2.2 to ensure that the user obtains the required pose recognition result.

[0031] Furthermore, in Step 1.4, the teacher target detector instance will pass the coordinate information of the teacher target object after detection to the teacher pose estimator instance, and the two work together to achieve pose estimation operations. The system has multiple detector and estimator instances. When processing a large number of video slices, the system will schedule according to the availability of computing resources and pair the teacher target estimator instances and teacher detector instances with different serial numbers for pose estimation. After all video slices are processed, the teacher target estimator will output the human body key point results of the teacher pose in the classroom video.

[0032] Furthermore, in Step 1.5, the system temporarily caches the video metadata, video slice index, teacher target recognition results, and teacher posture estimation recognition results into the Redis database to avoid repeated calculation of the posture estimation of the video clips. After all video clips are cached, the recognition result data persistent storage operation is performed to save the video slice metadata, recognition results, video slice information, and task log information.

[0033] Furthermore, in Step 2.3, the posture estimation result is obtained from the cache to process the human body coordinate point information. The posture estimation result corresponding to each frame in the human body coordinate point video data includes the coordinates of 17 points, which are sorted according to the human body key point connection rules such as the head connection rule, the body connection rule, and the limb connection rule.

[0034] Furthermore, in Step 2.4, by combining the frame rate of the video clip, the user can set the canvas drawing frame rate as needed to ensure that the image drawing of the classroom video teacher posture estimation recognition result is synchronized with the video playback. The system will use the processed human key point data to draw the time-series teacher target frame corresponding to the time-series teacher posture on the canvas in real time, so that it can be dynamically displayed as the video plays.

[0035] Furthermore, in Step 2.5, the system will first query whether there is a pose estimation result for the corresponding video clip in the cache. If not, the system will reschedule the computing resources to obtain the latest pose estimation result. The user can jump to a specific time point as needed, and the system will process it immediately and obtain the latest pose estimation result to display and play it to the user.

[0036] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling, characterized in that: include: Step 1: Backend computing stage: Step 1.1: Upload the teacher's classroom teaching video data. The video's perspective includes the teacher object throughout the whole process, and transcode the video into a specific format and resolution size; Step 1.2: Preprocess the video data transcoded in Step 1.1, cut the video into several video clips of fixed length, and create a video clip index; Step 1.3: Assign the video clips in Step 1.2 to the teacher object detector instance based on the computing resources; Step 1.4: Input the output result of the teacher target detector instance in Step 1.3 into the corresponding teacher pose estimator instance, and the teacher pose estimator instance outputs the teacher pose estimation recognition result according to the target teacher coordinates; Step 1.5: Cache the teacher posture estimation and recognition result data in Step 1.4 in the Redis database. When the posture estimation of several video clips is completed, all the teacher posture estimation and recognition results are persisted; Step 2: Front-end interaction stage: Step 2.1: Give the video clip output in Step 1.2 to the video player for playback. The video player can jump to any position of the video and call different video clips. Step 2.2: Query the teacher posture estimation recognition result data. If the data already exists, directly obtain the result; if the data does not exist, it is necessary to reschedule the computing resources and execute the operations from Step 1.3 to Step 1.5 to estimate the teacher posture; Step 2.3: Take the teacher posture estimation and recognition results from the data cache, process the data coordinate point information, and sort them according to the key point connection rules; Step 2.4: Draw the teacher's posture estimation and recognition results on the video player by overlaying the canvas, and draw the key point data processed in Step 2.3 in sequence. The default drawing frame rate per second is the same as the video frame rate; Step 2.5: When you need to jump to a specific time point in the video, query the teacher posture estimation recognition result in the cache based on the time point information, and then repeat step 2.

2.

2. The method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling according to claim 1 is characterized in that: In the Step 1.4, multiple teacher target detectors and multiple teacher pose estimators work together. The teacher pose estimator immediately estimates the pose of the teacher target object after receiving the coordinate information of the teacher target object output by the teacher target detector, and the teacher pose estimator outputs the teacher pose estimation recognition result in real time.

3. The method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling according to claim 1 is characterized in that: In the Step 2.3, the pose estimation result is obtained from the cache to process the coordinate point information. The pose estimation result corresponding to each frame includes the coordinates of 17 points, and the result visualization is sorted according to the human body key point connection rules.

4. The method for displaying teacher classroom video posture estimation and recognition results based on dynamic task scheduling according to claim 1 is characterized in that: The content of the teacher posture estimation and recognition result includes the time-series teacher target frame, the time-series teacher posture and the drawing of the key points of the human body, which are displayed on the canvas covered by the video player.

5. A teacher classroom video posture estimation and recognition result display system based on dynamic task scheduling, characterized by: It includes a back-end computing module for processing the video and identifying the teacher's posture, and a front-end interactive module for displaying the teacher's posture estimation and recognition results; The back-end computing module includes a computing resource scheduling module, a teacher target detector, a teacher posture estimator, a recognition result caching module, and a recognition result persistence module; The front-end interaction module includes a video player, a recognition task result scheduling module and a teacher posture estimation recognition result display module.

6. The teacher classroom video posture estimation and recognition result display system based on dynamic task scheduling according to claim 5 is characterized by: In the computing resource scheduling module, each GPU contains multiple teacher target detector instances, which can process multiple video clips in parallel. The GPU contains multiple teacher target estimator instances, which can estimate multiple target teacher postures in parallel.

7. The teacher classroom video posture estimation and recognition result display system based on dynamic task scheduling according to claim 5 is characterized by: The recognition task result scheduling module is used to query the recognition result data cache. If the gesture recognition data exists, the module takes the gesture recognition result from the data cache.