Online course attention recognition method, system and device based on visual large model

Through the online course attention recognition method based on the large visual model, the generalization ability and real-time problems of attention recognition in online courses of the existing technology are solved, and more accurate and reliable attention detection is achieved, which is suitable for online teaching. model, and ensures the quality of teaching and the realization of personalized teaching.

CN118570605APending Publication Date: 2024-08-30BEIJING QINGCHUANGYING EDUCATION TECH CO LTD

Patent Information

Application Number
CN202410716031.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology has limited generalization ability, poor real-time performance, sensitivity to environmental changes, lack of context understanding ability and privacy security problems in online course attention recognition, and is difficult to adapt to online teaching models and complex interactive scenarios.

Method used

An online course attention recognition method based on a large visual model is used to collect images through a camera, compress and transmit them to the server using preset parameters and algorithms, and combine the GPT-4V or GPT-4o model for attention scoring, and pass Prompt Engineering Optimize prompts to achieve deeper analysis and reasoning.

Benefits of technology

It improves the generalization ability and real-time performance of the model, adapts to various environmental changes, improves the accuracy and reliability of attention detection, provides more refined and dynamic feedback, and ensures continuous monitoring and personalization of students' attention changes. teaching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570605A
    Figure CN118570605A
Patent Text Reader

Abstract

The invention discloses an online course attention recognition method, system and device based on a visual large model, and relates to the technical field of computer vision, and the method comprises the steps: collecting a student class image in real time through a camera; matching preset parameters and a set algorithm according to the network speed, the large model parameter configuration and the idle state of the server; according to the parameters, compressing a frame of image according to a set algorithm, and transmitting the compressed image to a server side through a communication module; the server side matches the image with preset prompts, transmits the image to a visual large model and obtains an attention score; and after the course is finished, automatically counting and generating an attention change curve of the student, matching the course content of each time point, and generating an attention scoring report. A preset prompt mechanism is utilized to carry out intelligent inquiry through the visual large model, and the prompt mechanism enables the model to analyze and infer the attention state of the trainee in a deeper level, so that finer and more dynamic feedback is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision technology, and in particular to an online course attention recognition method, system and device based on a visual large model. Background Art

[0002] With the popularization of online education, it is becoming more and more common for students to study online courses through computers. How to identify students' concentration during online learning has become an important issue for teachers to understand students' learning status.

[0003] There are two major types of attention recognition methods in the prior art. The first category is for offline course scenarios, and the second category is a monitoring method using traditional visual models. The representative Chinese patent (application number: 201610790805.X) is a desktop education concentration analysis system and its analysis method. The invention includes: a depth camera module, a CPU information processing module, an information storage module, a voice module, a display module, a parent smart terminal and a GSM communication module. The depth camera module transmits the collected image information to the CPU information processing module, and the CPU information processing module processes the obtained image information, and then transmits the processed results to the information storage module for storage, and transmits the processed results to the display module and the voice module in real time, and feeds back to the child; the depth camera module is used to capture the child's behavior information, and the CPU information processing module is used to process the captured child's behavior information. This type of method relies on preset algorithms and limited training data sets, which makes them often show low adaptability and flexibility when encountering unknown scenarios. Summary of the invention

[0004] In view of this, the present invention provides an online course attention recognition method, system and device based on a visual big model to solve the above technical problems.

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

[0006] A method for online course attention recognition based on a visual large model includes the following steps:

[0007] Collect students' class images in real time through cameras;

[0008] Match the pre-set parameters and set algorithms according to the network speed, large model parameter configuration and server idle status;

[0009] According to the parameters, a frame of image is compressed according to the set algorithm and transmitted to the server through the communication module;

[0010] The server matches the image with the preset prompts, passes it into the visual model and obtains the attention score;

[0011] After the course is over, the student's attention change curve is automatically counted and generated, matching the course content at each time point to generate an attention score report.

[0012] Furthermore, the step of inputting the visual big model and obtaining the attention score also includes training the visual big model, which specifically includes the following steps:

[0013] Pre-stored videos of students taking classes, including their facial expressions and upper body movements;

[0014] Extract the video into frames and manually annotate the students’ attention scores during class;

[0015] Continuously optimize prompts through the Prompt Engineering method.

[0016] Furthermore, the step of inputting the visual big model and obtaining the attention score further includes deploying the visual big model, which specifically includes the following steps:

[0017] Capture students’ class videos in real time and upload them to the data processing platform;

[0018] The real-time captured video of students in class is framed and compressed and then transmitted to the server.

[0019] The server combines the image with the pre-trained prompts, passes them into the large model, and obtains the output evaluation results.

[0020] Furthermore, the matching pre-set parameters specifically include the duration of the interval transmission of the image.

[0021] Furthermore, the set algorithm is an algorithm for compressing images.

[0022] Furthermore, the large visual model is a GPT-4V or GPT-4o model.

[0023] Furthermore, the prompt includes role settings, task requirements, step-by-step task descriptions, formatted output requirements, and input samples and sample output results.

[0024] On the other hand, the present invention further discloses an online course attention recognition system based on a visual macro model, which executes the aforementioned online course attention recognition method based on a visual macro model, including:

[0025] Device side and server side,

[0026] The device end includes a video image input module, an intelligent parameter selection module and a communication module;

[0027] The server side includes a prompts optimization module, a visual large model module and an attention score statistics module;

[0028] The device sends the collected video images of the students in class to the server for processing, and the server outputs the student's attention score in class.

[0029] Furthermore, the prompts optimization module continuously optimizes prompts through the Prompt Engineering method.

[0030] In a third aspect, the present invention provides an online course attention recognition device based on a visual large model, comprising a camera, a Wi-Fi / Bluetooth module, a power supply and a main control unit, wherein the main control unit executes an online course attention recognition method based on a visual large model as described above, wherein:

[0031] The main control unit executes image processing and analysis programs and is electrically connected to the camera and Wi-Fi / Bluetooth module through the GPIO port;

[0032] The power supply provides power to the device and is directly connected to the main control unit.

[0033] The beneficial effects produced by the technical solution of the present invention are as follows:

[0034] The present invention discloses an online course attention recognition method, system and device based on a visual big model, which uses a preset prompt mechanism to perform intelligent inquiries through the visual big model. The prompt mechanism enables the model to analyze and infer the attention state of the students at a deeper level, thereby providing more detailed and dynamic feedback. In addition, the present invention can more accurately reflect the attention change trend of the students by continuously monitoring the entire course time, which is of great significance to the improvement of teaching quality and the realization of personalized teaching. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a flowchart of the overall steps of an online course attention recognition method based on a visual large model in an embodiment of the present invention;

[0037] Figure 2This is a flowchart of the specific steps of training the visual large model in step S4 in an embodiment of the present invention;

[0038] Figure 3 This is a flowchart of the specific steps of deploying the visual large model in step S4 in an embodiment of the present invention;

[0039] Figure 4 It is a principle block diagram of an online course attention recognition system based on a visual large model in an embodiment of the present invention;

[0040] Figure 5 Schematic diagram of components of an online course attention recognition device based on a visual large model in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions 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. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. 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.

[0042] Most of the existing technologies target the characteristics of offline teaching. They use cameras to capture images of the entire classroom and then use facial recognition to locate specific students. This method is not suitable for the increasingly popular online teaching model.

[0043] Among them, in the existing technology, the field of attention monitoring for students in online courses mainly relies on traditional machine learning and deep learning models. Although these methods can achieve attention detection to a certain extent, they have the following significant disadvantages:

[0044] Limited generalization ability: Traditional machine learning and deep learning models usually require a large amount of labeled data for training, and the generalization ability of the model strongly depends on the quality and diversity of the training data set. In practical applications, these models often have difficulty handling new environments or new types of student expressions and behaviors that have not been seen before, resulting in limited accuracy of attention detection.

[0045] Real-time problem: Many existing deep learning solutions require high computing resources for real-time analysis and feedback. For ordinary households or educational institutions with limited device performance, this high resource requirement becomes a major obstacle to practical deployment.

[0046] Sensitive to environmental changes: Existing technologies are often very sensitive to environmental factors such as lighting and background noise. These external changes can easily affect the output results of the model, thereby reducing the reliability and stability of detection.

[0047] Lack of contextual understanding: Traditional methods focus on local features (such as the open and closed state of eyes and the posture of the head) when processing facial photos, while ignoring the importance of contextual information. This localized processing method cannot fully understand the overall attention state of the learner, especially in complex interactive scenarios.

[0048] Privacy and security issues: Using traditional machine learning and deep learning techniques for facial analysis may raise concerns about privacy and data protection. These technologies usually require the collection of large amounts of personal data, and improper data processing and storage may lead to privacy breaches.

[0049] Limitations of relying on facial features: Existing attention detection methods mainly rely on analyzing the facial features of students. This dependence causes the system to show lower recognition accuracy when part of the student's face is occluded or in atypical situations.

[0050] Through the above detailed description of the shortcomings of existing technologies, it can be clearly seen that traditional machine learning and deep learning methods have many limitations in practical applications. The introduction of a new solution based on a large visual model can not only improve the generalization ability and real-time performance of the model, but also better adapt to various environmental changes and contexts, effectively improving the accuracy and reliability of student attention detection.

[0051] To this end, the embodiment of the present invention discloses an online course attention recognition method based on a visual large model, such as Figure 1 As shown, the following steps are included:

[0052] Step S1, collecting images of students in class in real time through a camera;

[0053] By connecting the camera module to the camera port of the Raspberry Pi, you need to enable the camera module function in the Raspberry Pi operating system. You can enable the camera module through the Raspberry Pi configuration interface or command line tools, and use command line tools or programming languages ​​for image acquisition: Once the camera module is enabled successfully, you can use command line tools or programming languages ​​for image acquisition. On the Raspberry Pi, you can use the raspistill command line tool to capture images in real time.

[0054] Step S2, matching the pre-set parameters and the set algorithm according to the network speed, large model parameter configuration and server idle state;

[0055] Specifically, according to the current status (network speed, large model parameters, server status), select a suitable compression algorithm, such as JPEG, JPEG2000 and BPG, and compression quality quality; in the embodiment of the present application, for example, when the network speed is slow, the server is busy, and the large model parameters are high, select a high compression ratio algorithm (saving time, sacrificing image quality); when the network speed is fast, the server is idle, and the large model parameters are low, select a low compression ratio algorithm (long running time, good image quality). Then in step S3, compress the image according to the algorithm selected in this process (such as JPEG, quality = 70).

[0056] Step S3: compressing a frame of image according to the set algorithm according to the parameters, and transmitting it to the server through the communication module;

[0057] Step S4: The server matches the image with the preset prompts, passes them into the visual model and obtains the attention score;

[0058] In the prompt-based intelligent inquiry mechanism, the system will ask the user questions based on pre-set prompts or questions, and the user can provide relevant information or answer questions based on the prompts. The system will further ask questions or process based on the user's answers to achieve the purpose of obtaining the required information or solving the problem.

[0059] Specifically, the embodiment of the present application is to train prompts in an offline state by means of PromptEngineering. Prepare a test set in advance, the test set contains the scores of image and attention recognition, and train prompts by means of PromptEngineering so that the output results of the large model are consistent with the annotation results of the test set. After the training is completed, the prompts contain role settings, task requirements, step-by-step descriptions of tasks, formatted output requirements, input samples, and sample output results.

[0060] Specifically, the "Prompt Engineering" approach refers to a method used by engineers who are specifically responsible for designing, optimizing, and improving the smart query mechanism. Prompt Engineering analyzes a large amount of data and user feedback to understand the user's use of the smart query mechanism and feedback, thereby discovering the direction of optimization and room for improvement.

[0061] In an embodiment of the present invention, the behavior and expression of the students are analyzed by using an advanced visual big model, which can understand the image content and the behavioral context of the students more deeply than traditional machine learning or simple image processing methods. The use of the visual big model improves the accuracy of the analysis because it can extract more levels of information from complex visual inputs and make effective emotional and attention state inferences. In addition, the integrated device design and optimized data processing flow ensure the real-time monitoring, allowing teachers to obtain instant feedback on students' attention and adjust teaching strategies in a timely manner.

[0062] Specifically, in step S4, the visual large model is input and the attention score is obtained, such as Figure 2 As shown, it also includes training the visual large model, which specifically includes the following steps:

[0063] Step S411, pre-store a video of the student in class, including the student's facial expressions and upper body movements;

[0064] Step S412: extract the video into frames and manually mark the attention scores of the students during class;

[0065] Step S413: Continuously optimize prompts through the Prompt Engineering method.

[0066] More specifically, in step S4, the visual large model is input and the attention score is obtained, such as Figure 3 As shown, it also includes deploying the visual big model, which specifically includes the following steps:

[0067] Step S421, capturing the class video of the students in real time, and uploading the class video to the data processing platform;

[0068] In the embodiment of the present application, the data processing platform is a Raspberry Pi platform. The Raspberry Pi platform (Raspberry Pi) is a microcomputer based on the ARM architecture. In the embodiment of the present application, the Raspberry Pi performs image processing on the real-time captured video of the students in class. The Raspberry Pi is equipped with a camera interface. The user connects the camera module to collect image data in real time. The Raspberry Pi processes the collected image data through programming, such as image filtering, edge detection, image recognition and other operations.

[0069] In addition, the Raspberry Pi platform can also be used as the core controller of the video surveillance system, and cooperate with the camera module to realize the monitoring function. Users can realize real-time transmission, recording, storage and remote monitoring of video streams through programming.

[0070] More specifically, the computing power and image processing library of the Raspberry Pi can be used to implement image recognition and object detection. Users can use deep learning algorithms, such as neural networks, to analyze and identify images and implement applications such as face recognition and object detection.

[0071] Raspberry Pi can also transmit and share image data through network connection. Users can build an image server to transmit the collected image data to remote devices to realize remote monitoring, image sharing and other functions.

[0072] In general, Raspberry Pi can play the role of image acquisition, processing, recognition and transmission in the image processing system, providing users with rich image processing functions and application scenarios. Through reasonable programming and configuration, Raspberry Pi can realize various image processing tasks, bringing convenience and innovation to users.

[0073] Step S421, extracting and compressing the real-time captured video of the student in class, and transmitting it to the server;

[0074] Step S421: The server combines the image with the pre-trained prompts and passes them into the large model to obtain the output evaluation result.

[0075] In one embodiment of the present application, the test set contains 1,000 pictures, the content of which is captured by the student's camera during class. Each picture is labeled by multiple people and an attention score is obtained by voting, and the score ranges from 1 to 100.

[0076] Through Prompt Engineering, we train prompts so that after each image is input into the big model, this prompt is applied to get the same score as manual annotation.

[0077] The prompts after training are as follows:

[0078] Now you are a professional micro-expression expert. Here is a screenshot of a video of a student in class: https: / / www.ysacamp.com / test.png. Please judge whether the student is paying attention in class based on his facial expressions and movements in the picture.

[0079] Please judge based on the students' eye contact during class, whether they are tired or sleepy, and whether they yawn, play with stationery, or make other small movements.

[0080] Here are some examples you can refer to:

[0081] https: / / www.ysacamp.com / 1.pngThe attention score is 100

[0082] https: / / www.ysacamp.com / 2.pngThe attention score is 80

[0083] …

[0084] https: / / www.ysacamp.com / 100.pngThe attention score is 1

[0085] Finally, please only output a standard score value between 1-100, and do not output any other additional content.

[0086] Step S5: After the course is over, the attention change curve of the students is automatically counted and generated, matching the course content at each time point to generate an attention score report.

[0087] The technical solution provided by the present invention enables attention monitoring to be performed in almost real time, and can continuously record attention changes, providing timely and continuous feedback to teachers and teaching systems.

[0088] Compared with traditional methods, the present invention not only evaluates students' attention at a single moment, but also tracks and records changes in attention throughout the course. This continuous monitoring method allows teachers to obtain more detailed data, helping them to better understand students' attention trends and learning status. Through data analysis of the entire course, teachers can more accurately adjust course content and teaching methods to meet students' needs.

[0089] Furthermore, the matching pre-set parameters specifically include the duration of the interval transmission of the image.

[0090] Furthermore, the set algorithm is an algorithm for compressing images.

[0091] Traditional attention monitoring systems are usually very sensitive to environmental conditions such as lighting and background noise. This invention significantly improves the robustness of the system to different environmental conditions through advanced image processing algorithms and model adaptation capabilities. Whether in an environment with large lighting changes or in situations with background interference, the device can accurately capture and analyze the expressions and movements of the students, ensuring the stability and reliability of the monitoring results.

[0092] Furthermore, the large visual model is a GPT-4V or GPT-4o model.

[0093] GPT-4V is a large language model developed by OpenAI. GPT-4V can detect and recognize faces in images, and judge gender, age, and ethnicity based on facial features. These capabilities are obtained through training with large-scale face datasets and have a certain degree of accuracy. GPT-4V can perform image reasoning and logic, that is, infer conclusions or answers based on the information or patterns in the image. In addition to understanding the content of the picture, GPT-4V also has a certain degree of reasoning ability. To put it simply, GPT-4V can find the difference between two pictures. These capabilities are obtained through training with large-scale intelligence test datasets and have a certain degree of intelligence.

[0094] Specifically, in an embodiment of the present application, the large visual model may also be a TinyGPT-V model, which requires only a 24G GPU for training and only an 8G GPU or CPU in the inference phase. The model utilizes an advanced large language model, namely Phi-2, which is built on Phi and reportedly outperforms the best 13B language model in performance, and its results are similar or better than models with a scale of more than 25 times.

[0095] Compared to traditional language models, TinyGPT-V represents a paradigm shift, leveraging a small language model that is both economical and powerful to achieve a powerful, easy-to-deploy model suitable for a variety of real-world visual-language applications. This approach highlights the shift towards more efficient and equally competent multimodal language modeling.

[0096] Furthermore, the prompt includes role settings, task requirements, step-by-step task descriptions, formatted output requirements, and input samples and sample output results.

[0097] The present invention introduces a solution based on a large visual model and utilizes its stronger image understanding and situation analysis capabilities to significantly improve the adaptability and accuracy of the model for various environments and behavior types.

[0098] On the other hand, the present invention also discloses an online course attention recognition system based on a visual large model, which executes the online course attention recognition method based on a visual large model as described above, such as Figure 4 As shown, including:

[0099] Device side and server side,

[0100] The device end includes a video image input module, an intelligent parameter selection module and a communication module;

[0101] The server side includes a prompts optimization module, a visual large model module and an attention score statistics module;

[0102] The device sends the collected video images of the students in class to the server for processing, and the server outputs the student's attention score in class.

[0103] Specifically, in response to the potential risks of privacy leakage when existing technologies process personal sensitive information, the present invention adopts advanced data encryption technology and anonymization processing strategies to enhance data security and user privacy protection, making the device safer when collecting and processing personal data and complying with international privacy protection standards.

[0104] Considering the importance of user privacy in online education, the present invention adopts advanced data encryption and anonymization technology. All video data collected by the device are encrypted to ensure the security of data during transmission and storage. In addition, the personal information of students is anonymized to avoid the risk of directly exposing the identity of students, thereby improving security while protecting the privacy of students.

[0105] Furthermore, the prompts optimization module continuously optimizes prompts through the Prompt Engineering method.

[0106] In a third aspect, the present invention provides an online course attention recognition device based on a visual large model, such as Figure 5 As shown, it includes a camera, a Wi-Fi / Bluetooth module, a power supply and a main control unit, and the main control unit executes the above-mentioned online course attention recognition method based on a large visual model, wherein:

[0107] The main control unit executes image processing and analysis programs and is electrically connected to the camera and Wi-Fi / Bluetooth module through the GPIO port;

[0108] The power supply provides power to the device and is directly connected to the main control unit.

[0109] In the embodiment of the present application, the Raspberry Pi computing platform serves as the main control unit, responsible for integrating the functions of various components and executing image processing and data analysis programs.

[0110] Specifically, the main control unit is electrically connected to other components such as a camera, a communication module (Wi-Fi / Bluetooth module) through a GPIO (general purpose input and output) port.

[0111] The camera captures the students' class scenes in real time, obtains visual data, and is connected to the Raspberry Pi via a USB interface or a built-in CSI (Camera Serial Interface) port.

[0112] The communication module (Wi-Fi / Bluetooth module) realizes data transmission between the device and the external network (such as the back-end server), is built into the Raspberry Pi, and is connected via SPI (Serial Peripheral Interface) or I2C (Serial Bus).

[0113] The power module is directly connected to the Raspberry Pi and other components to ensure the continuity and safety of power supply.

[0114] Specifically, the device of the present invention is designed as an integrated small box, which makes the device not only easy to carry and deploy, but also greatly simplifies user operation. The user only needs to place the device in a suitable position without complicated settings or adjustments. This is particularly friendly to non-technical users, reduces the technical threshold, and improves the user experience.

[0115] In the embodiment of the present application, the working principle and process of online course attention recognition based on the visual big model are as follows:

[0116] Step 1: Device deployment and initialization

[0117] The user places the device next to the computer, ensuring that the camera can clearly capture the learner's facial expressions and upper body movements.

[0118] After the device starts up, the Raspberry Pi loads and runs the operating system and pre-installed software programs, and performs preliminary system checks and configurations.

[0119] Step 2: Real-time Image Capture

[0120] During the course, the camera continuously captures the video stream and transmits it to the Raspberry Pi in real time.

[0121] The Raspberry Pi performs preliminary processing on the input video stream, such as format conversion and compression, to adapt to subsequent processing requirements.

[0122] Step 3: Data Transmission and Processing

[0123] The processed video stream is sent to the backend server through the communication module.

[0124] The large visual model deployed on the backend server conducts in-depth analysis of video content through preset prompts to evaluate students' concentration.

[0125] Step 4: Attention Scoring and Feedback

[0126] The visual big model generates an attention focus score based on the analysis results, which is recorded over time and can be formed into a curve graph.

[0127] Attention data is stored in the server and can be fed back to the teacher's monitoring interface in real time through the network.

[0128] Step 5: End of course and data statistics

[0129] After the course, the system automatically counts and generates a curve of students' attention changes for reference and evaluation by teachers and parents.

[0130] Teachers can analyze students' attention trends based on data curves and optimize teaching methods and content.

[0131] Server and Visual Big Model Configuration:

[0132] The visual large model in the present invention is superior to the traditional visual recognition system in terms of function, and has stronger image analysis ability and environmental adaptability. The model runs on a high-performance server and is called by the device through an API.

[0133] This configuration allows the model to continuously update and learn, ensuring that processing quality and speed always meet the highest standards.

[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0135] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0138] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-on l ymemory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program codes.

[0139] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0140] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A method for online course attention recognition based on a large visual model, characterized in that: The following steps are involved: Collect students' class images in real time through cameras; Match the pre-set parameters and set algorithms according to the network speed, large model parameter configuration and server idle status; According to the parameters, a frame of image is compressed according to the set algorithm and transmitted to the server through the communication module; The server matches the image with the preset prompts, passes it into the visual model and obtains the attention score; After the course is over, the student's attention change curve is automatically counted and generated, matching the course content at each time point to generate an attention score report.

2. According to claim 1, a method for online course attention recognition based on a visual large model is characterized in that: The step of inputting the visual big model and obtaining the attention score also includes training the visual big model, which specifically includes the following steps: Pre-stored videos of students taking classes, including their facial expressions and upper body movements; Extract the video into frames and manually annotate the students’ attention scores during class; Continue to optimize prompts through Prompt Engineering.

3. The method for online course attention recognition based on a visual large model according to claim 1 is characterized in that: The step of inputting the visual big model and obtaining the attention score also includes deploying the visual big model, which specifically includes the following steps: Capture students’ class videos in real time and upload them to the data processing platform; The real-time captured video of students in class is framed and compressed and then transmitted to the server. The server combines the image with the pre-trained prompts, passes them into the large model, and obtains the output evaluation results.

4. The method for online course attention recognition based on a visual large model according to claim 1, characterized in that: The matching pre-set parameters specifically include the duration of the interval transmission of the image.

5. The method for online course attention recognition based on a visual large model according to claim 1, characterized in that: The set algorithm is an algorithm for compressing images.

6. The method for online course attention recognition based on a visual large model according to claim 3 is characterized in that: The large visual model is a GPT-4V or GPT-4o model.

7. The method for online course attention recognition based on a visual large model according to claim 1, characterized in that: The prompt includes role settings, task requirements, step-by-step task descriptions, formatted output requirements, and input samples and sample output results.

8. An online course attention recognition system based on a visual large model, characterized in that: Executing an online course attention recognition method based on a visual large model as claimed in any one of claims 1 to 7, comprising: Device side and server side, The device end includes a video image input module, an intelligent parameter selection module and a communication module; The server side includes a prompts optimization module, a visual large model module and an attention score statistics module; The device sends the collected video images of the students in class to the server for processing, and the server outputs the student's attention score in class.

9. The online course attention recognition system based on visual big model according to claim 8 is characterized in that: The prompts optimization module continuously optimizes prompts through the Prompt Engineering method.

10. An online course attention recognition device based on a visual large model, characterized in that: The system comprises a camera, a Wi-Fi / Bluetooth module, a power supply and a main control unit, wherein the main control unit executes an online course attention recognition method based on a visual large model as claimed in any one of claims 1 to 7, wherein: The main control unit executes image processing and analysis programs and is electrically connected to the camera and Wi-Fi / Bluetooth module through the GPIO port; The power supply provides power to the device and is directly connected to the main control unit.

Citation Information

Patent Citations

  • Online education scene student attention recognition method for CPU operation optimization

    CN112597888A

  • Online classroom student concentration evaluation method and system based on multi-feature fusion

    CN114663734A

  • Methods for training generative large language models and for processing image tasks

    CN117114063A

  • Image auditing method, image auditing model training method, device and equipment

    CN117197569A

  • Human-computer interaction method, device and equipment under low attention and storage medium

    CN117995184A

Cited By

  • Classroom analysis method based on computer vision and large language model and computer device

    CN119578958A

  • Course learning personalized adjustment method and system of enabling system

    CN120259035A

  • A method and system for personalized adjustment of course learning in an empowerment system

    CN120259035B