Online teaching method and device, electronic equipment and storage medium
Through the cave-type three-dimensional display module and human body capture technology, virtual teaching scenes and virtual avatars are constructed, which solves the problems of immersion and low efficiency in online teaching, and achieves immersive interaction and efficient teaching between the teaching parties.
Patent Information
- Application Number
- CN202410689068.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-17
AI Technical Summary
In existing online teaching methods, video conferencing cannot achieve physical interaction and scene interaction between teaching parties, resulting in low user immersion and reduced teaching efficiency.
The cave-type three-dimensional display module is used to construct virtual teaching scenes and virtual avatars, and body information is captured using human body capture tools to generate virtual avatars. The remote user body data transmitted by the server is used for teaching interaction, achieving immersion and interaction between the teaching parties.
It improves the immersion and efficiency of online teaching, enables both teaching and learning parties to interact more realistically, and enhances the authenticity and interactivity of the teaching scene.
Smart Images

Figure CN118655977A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to an online teaching method and device, an electronic device and a storage medium. Background Art
[0002] At present, online teaching methods usually use video conferencing as a tool for communication and interaction between teaching parties. However, video conferencing cannot allow teaching parties to interact physically, nor can it allow teaching parties to interact with the teaching scene, which can easily lead to low user immersion in online teaching and reduce teaching efficiency. Therefore, how to improve the efficiency of online teaching has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose an online teaching method and device, an electronic device and a storage medium, aiming to improve the efficiency of online teaching.
[0004] To achieve the above objectives, a first aspect of an embodiment of the present application proposes an online teaching method, the method comprising:
[0005] Receiving a scene generation instruction input by a target object, and generating a virtual teaching scene according to the scene generation instruction;
[0006] Using a preset cave-type stereoscopic display module to stereoscopically display the virtual teaching scene to obtain a virtual teaching stereoscopic scene;
[0007] Using a preset human body capture tool to capture the body information of the target object to obtain the user's body data;
[0008] Generate a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, and use the cave-type stereoscopic display module to stereoscopically display the target virtual portrait to obtain a target virtual stereoscopic image;
[0009] Receiving the body data of the remote user transmitted by the server, generating a virtual portrait of the remote user according to the body data of the remote user, and displaying the virtual portrait of the remote user in stereo using the cave-type stereo display module to obtain a virtual stereo image of the remote user;
[0010] In response to the role teaching interaction instruction transmitted by the server, the remote user virtual stereoscopic image is used to perform teaching interaction on the virtual teaching stereoscopic scene and the target virtual stereoscopic image.
[0011] In some embodiments, the human body capture tool includes an optical motion capture module and an inertial motion capture module, and the use of a preset human body capture tool to capture the body information of the target object to obtain the user's body data includes:
[0012] Using the optical motion capture module to capture the spatial features of the target object to obtain user rigid body data;
[0013] Using the inertial motion capture module to capture the body features of the target object to obtain user body data;
[0014] The user rigid body data and the user posture data are merged to obtain the user body data.
[0015] In some embodiments, the using the optical motion capture module to capture the spatial features of the target object to obtain the user rigid body data includes:
[0016] Marking the target object with collection points to obtain user body marking points;
[0017] Using the optical motion capture module to capture the user's body marking points to obtain the coordinates of the marking points;
[0018] Calculating the spatial position data of the target object according to the coordinates of the marking points;
[0019] Calculating the rotation information data of the target object according to the spatial position data;
[0020] The spatial position data and the rotation information data are merged to obtain the user rigid body data.
[0021] In some embodiments, the step of capturing body features of the target object using the inertial motion capture module to obtain user body data includes:
[0022] Using the inertial motion capture module to capture the motion of the target object to obtain user motion data;
[0023] The inertial motion capture module is used to perform inertial data processing on the user motion data to obtain the user posture data.
[0024] In some embodiments, the using a preset cave-type stereoscopic display module to stereoscopically display the virtual teaching scene to obtain a virtual teaching stereoscopic scene includes:
[0025] Performing image rendering on the virtual teaching scene to obtain a spliced binocular image;
[0026] Inputting the spliced binocular image into the cave-type stereoscopic display module for signal conversion to obtain a fixed-frequency monocular image;
[0027] The fixed-frequency monocular image is displayed in stereo by utilizing the cave-type stereoscopic display module to obtain the virtual teaching stereoscopic scene.
[0028] In some embodiments, the step of receiving a scene generation instruction input by a target object and generating a virtual teaching scene according to the scene generation instruction includes:
[0029] Obtaining a virtual scene script file, and constructing a virtual empty scene according to the virtual scene script file;
[0030] Extracting teaching scene parameters in the scene generation instruction;
[0031] According to the teaching scene parameters, the virtual open scene is modified to obtain the virtual teaching scene.
[0032] In some embodiments, after the remote user virtual stereo image is used to perform teaching interaction on the virtual teaching stereo scene and the target virtual stereo image in response to the role teaching interaction instruction transmitted by the server, the method further includes:
[0033] Receiving remote user voice data transmitted by the server;
[0034] According to the remote user voice data, the remote user virtual stereoscopic image is used to perform voice teaching on the target virtual stereoscopic image.
[0035] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides an online teaching device, the device comprising:
[0036] A virtual scene generation module, used to receive a scene generation instruction input by a target object, and generate a virtual teaching scene according to the scene generation instruction;
[0037] A virtual scene display module is used to display the virtual teaching scene in three dimensions by using a preset cave-type three-dimensional display module to obtain a virtual teaching three-dimensional scene;
[0038] A user data capturing module, used to capture the body information of the target object using a preset body capturing tool to obtain user body data;
[0039] A virtual avatar display module is used to generate a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, and to display the target virtual portrait in stereo using the cave-type stereo display module to obtain a target virtual stereo image;
[0040] A remote avatar display module is used to receive the remote user body data transmitted by the server, generate a remote user virtual portrait according to the remote user body data, and use the cave-type stereoscopic display module to stereoscopically display the remote user virtual portrait to obtain a remote user virtual stereoscopic image;
[0041] The online teaching interaction module is used to respond to the role teaching interaction instruction transmitted by the server, and use the remote user virtual stereo image to perform teaching interaction on the virtual teaching stereo scene and the target virtual stereo image.
[0042] To achieve the above objectives, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0043] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0044] The online teaching method and device, electronic device and storage medium proposed in the present application improve the immersion of both parties in online teaching by using a cave-type stereoscopic display module to construct a virtual teaching stereoscopic scene, a target virtual stereoscopic image of a target object and a remote user virtual stereoscopic image of a remote user. Furthermore, by using a server to transmit role teaching interaction instructions, the target virtual stereoscopic image can interact with the virtual teaching stereoscopic scene and the remote user virtual stereoscopic image of the remote user for teaching, thereby improving the efficiency of online teaching. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flow chart of the online teaching method provided in the embodiment of the present application;
[0046] Figure 2 yes Figure 1 Flow chart of step S101 in FIG.
[0047] Figure 3 yes Figure 1 Flow chart of step S102 in FIG.
[0048] Figure 4 yes Figure 1 Flow chart of step S103 in FIG.
[0049] Figure 5 yes Figure 4 Flow chart of step S401 in FIG.
[0050] Figure 6 yes Figure 4 Flow chart of step S402 in FIG.
[0051] Figure 7 is a flow chart of an online teaching method provided by another embodiment of the present application;
[0052] Figure 8 It is a structural schematic diagram of an online teaching device provided in an embodiment of the present application;
[0053] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0057] First, some nouns involved in this application are analyzed:
[0058] Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. AI is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robots, language recognition, image recognition, natural language processing and expert systems. AI can simulate the information process of human consciousness and thinking. AI is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0059] At present, online teaching methods usually use video conferencing as a tool for communication and interaction between teaching parties. However, video conferencing cannot allow teaching parties to interact physically, nor can it allow teaching parties to interact with the teaching scene, which can easily lead to low user immersion in online teaching and reduce teaching efficiency. Therefore, how to improve the efficiency of online teaching has become a technical problem that needs to be solved urgently.
[0060] Based on this, the embodiments of the present application provide an online teaching method and device, an electronic device and a storage medium, aiming to improve the efficiency of online teaching.
[0061] The recommendation method and device, electronic device and storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the recommendation method in the embodiments of the present application is described.
[0062] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0063] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0064] The online teaching method provided in the embodiment of the present application relates to the field of artificial intelligence technology. The online teaching method provided in the embodiment of the present application can be applied to a terminal, can be applied to a server side, or can be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the online teaching method, etc., but is not limited to the above forms.
[0065] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0066] Figure 1 is an optional flow chart of the online teaching method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S106.
[0067] Step S101, receiving a scene generation instruction input by a target object, and generating a virtual teaching scene according to the scene generation instruction;
[0068] Step S102, using a preset cave-type stereoscopic display module to stereoscopically display the virtual teaching scene to obtain a virtual teaching stereoscopic scene;
[0069] Step S103, using a preset human body capture tool to capture the body information of the target object to obtain the user's body data;
[0070] Step S104, generating a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, and using a cave-type stereoscopic display module to stereoscopically display the target virtual portrait to obtain a target virtual stereoscopic image;
[0071] Step S105, receiving the body data of the remote user transmitted by the server, generating a virtual portrait of the remote user according to the body data of the remote user, and displaying the virtual portrait of the remote user in stereo using a cave-type stereo display module to obtain a virtual stereo image of the remote user;
[0072] Step S106, in response to the role teaching interaction instruction transmitted by the server, the remote user virtual stereo image is used to perform teaching interaction between the virtual teaching stereo scene and the target virtual stereo image.
[0073] Based on steps S101 to S106 shown in the embodiment of the present application, the embodiment of the present application provides an online teaching method and device, an electronic device and a storage medium, aiming to improve the efficiency of online teaching. The present application obtains a virtual scene script file, constructs a virtual open scene according to the virtual scene script file, extracts the teaching scene parameters in the scene generation instruction, and changes the virtual open scene according to the teaching scene parameters to obtain a virtual teaching scene, performs image rendering on the virtual teaching scene to obtain a spliced binocular picture, inputs the spliced binocular picture into a cave-type stereoscopic display module for picture conversion to obtain a fixed-frequency monocular picture, and then uses the cave-type stereoscopic display module to stereoscopically display the fixed-frequency monocular picture to obtain a virtual teaching stereoscopic scene, which provides a basic teaching scene framework for online teaching and improves the authenticity of the teaching scene. Secondly, the optical motion capture module of the human body capture tool is used to capture the spatial features of the target object to obtain the user's rigid body data, and the inertial motion capture module of the human body capture tool is used to capture the spatial features of the target object to obtain the user's rigid body data. The block captures the body features of the target object to obtain the user's body data, merges the user's rigid body data with the user's body data to obtain the user's body data, generates a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, uses a cave-type stereoscopic display module to stereoscopically display the target virtual portrait to obtain a target virtual stereoscopic image, receives the remote user's body data transmitted by the server, and then generates a remote user's virtual portrait according to the remote user's body data, and uses the cave-type stereoscopic display module to stereoscopically display the remote user's virtual portrait to obtain a remote user virtual stereoscopic image, which provides a virtual stereoscopic image of the target object for online teaching, thereby improving the immersion of both teaching parties during online teaching. Finally, when the role teaching interaction instruction transmitted by the server is received, the remote user's virtual stereoscopic image is used to perform teaching interaction between the virtual teaching stereoscopic scene and the target virtual stereoscopic image, thereby realizing online interaction between both teaching parties, thereby further improving the immersion of both teaching parties during online teaching, and improving the efficiency of online teaching. Therefore, the present application utilizes a cave-type stereoscopic display module to perform stereoscopic display of the virtual teaching scene, the target virtual portrait of the target object, and the remote user virtual portrait of the remote user, respectively, to obtain a virtual teaching stereoscopic scene, a target virtual stereoscopic image, and a remote user virtual stereoscopic image, thereby deepening the sense of immersion of both teaching parties during online teaching and improving the efficiency of online teaching.
[0074] In step S101 of some embodiments, the target object can be either of the two teaching parties in online teaching, that is, the target object can be the teaching teacher or the student being taught. The scene generation instruction includes parameter representations of object elements required for the real teaching scene, for example, parameter representations of elements such as blackboards and podiums. The present application realizes the generation of a virtual teaching scene by adjusting parameters of a virtual empty scene built in advance and adding object elements with teaching significance to the virtual empty scene.
[0075] In one application scenario, taking the online training conducted by a department as an example, an empty virtual scene is built in advance, and when the training scene generation instruction is received from the training teacher or trainee, necessary training items are added to the virtual scene to generate a virtual training scene.
[0076] See also Figure 2 In some embodiments, step S101 may include but is not limited to steps S201 to S203:
[0077] Step S201, obtaining a virtual scene script file, and constructing a virtual empty scene according to the virtual scene script file;
[0078] Step S202, extracting teaching scene parameters in the scene generation instruction;
[0079] Step S203, modifying the virtual open scene according to the teaching scene parameters to obtain a virtual teaching scene.
[0080] In step S201 of some embodiments, the virtual scene script file refers to a script for building an empty virtual scene framework. After the virtual scene script file is obtained, the virtual scene script file is compiled to obtain a virtual empty scene.
[0081] In step S202 of some embodiments, the teaching scene parameters refer to the parameterized representation of common objects in the real teaching scene, such as blackboards, podiums, and student desks and chairs. After obtaining the virtual empty scene, in order to deepen the immersion of both parties in online teaching, the teaching classroom needs to be restored. This application obtains the teaching scene parameters by representing the common objects in the real teaching scene with codes, and then packages the teaching scene parameters into scene generation instructions. When online teaching is required, the teaching scene parameters in the scene generation instructions are extracted.
[0082] In step S203 of some embodiments, after the teaching scene parameters are obtained, teaching scene objects are added to the virtual open scene according to the teaching scene parameters to achieve scene changes of the virtual open scene and obtain the virtual teaching scene.
[0083] In steps S201 to S203 shown in this embodiment, by extracting the teaching scene parameters in the scene generation instruction and using the teaching scene parameters to change the scene of the virtual open scene constructed in advance, a virtual teaching scene is obtained, the teaching scene is built, and the teaching scene of offline teaching is restored.
[0084] It should be noted that this application can use the game engine Unity editor to build a virtual empty scene, and make scene changes on the Unity editor to achieve the generation of a virtual teaching scene.
[0085] In step S102 of some embodiments, the cave-type stereoscopic display module includes a display extension of the client and a cave-type stereoscopic display device. After obtaining the virtual teaching scene, in order to further improve the immersion of both parties in online teaching, the present application uses the display extension of the client and the cave-type stereoscopic device to stereoscopically display the virtual teaching scene, obtain a virtual teaching stereoscopic scene, and improve the spatial dimension and authenticity of the virtual teaching scene.
[0086] It should be noted that the cave-type stereoscopic display device includes a large curved screen display, a dedicated console and active 3D glasses, wherein the large curved screen is used to display the virtual teaching stereoscopic scene, the dedicated console is used to realize the signal conversion from the virtual teaching scene to the virtual teaching stereoscopic scene, and the active 3D glasses are used to provide the target object with a 3D stereoscopic sense of the virtual teaching stereoscopic scene when the target object watches the virtual teaching stereoscopic scene.
[0087] See also Figure 3 In some embodiments, step S204 may include but is not limited to steps S301 to S303:
[0088] Step S301, performing image rendering on the virtual teaching scene to obtain a spliced binocular image;
[0089] Step S302, inputting the spliced binocular images into the cave-type stereoscopic display module for signal conversion to obtain a fixed-frequency monocular image;
[0090] Step S303: Using a cave-type stereoscopic display module to stereoscopically display the fixed-frequency monocular image to obtain a virtual teaching stereoscopic scene.
[0091] In step S301 of some embodiments, the spliced binocular picture refers to a picture rendered and displayed by a display extension in the cave-type stereoscopic display module for a virtual teaching scene, and the display extension can be a picture generated by a real-time client. The rendered teaching scene is obtained by performing image rendering on the virtual teaching scene obtained by the client, and the rendered teaching scene is displayed on the display extension in the cave-type stereoscopic display module to obtain a spliced binocular picture.
[0092] In step S302 of some embodiments, after the spliced binocular image is obtained, a dedicated control console in the cave-type stereoscopic display module is used to perform signal conversion on the signal of the spliced binocular image to obtain a fixed-frequency monocular image switched at a fixed frequency.
[0093] In step S303 of some embodiments, after obtaining the fixed-frequency monocular image, the fixed-frequency monocular image is displayed on the large curved screen display in the cave-type stereoscopic display module, and the target object is made to wear active 3D glasses in the cave-type stereoscopic display module to watch the large curved screen display, thereby obtaining a three-dimensional virtual teaching stereoscopic scene.
[0094] In steps S301 to S303 shown in the present embodiment, by performing image rendering and signal conversion on the virtual teaching scene, a fixed-frequency monocular picture switched at a fixed frequency is obtained, and then the fixed-frequency monocular picture is displayed on the large curved display screen in the cave-type stereoscopic display module, so that the target object wears active 3D glasses in the cave-type stereoscopic display module to watch, thereby obtaining a virtual teaching stereoscopic scene, thereby improving the authenticity of the virtual teaching scene, thereby deepening the immersion of both teaching parties during online teaching and improving the efficiency of online teaching.
[0095] In step S103 of some embodiments, the human body capture tool includes an optical motion capture module and an inertial motion capture module, wherein the optical motion capture module is used to capture the spatial position information of the target object, and the inertial motion capture module is used to capture the body shape information of the target object. The present application obtains the user rigid body data and the user body shape data by using the human body capture tool to capture the spatial position information and body shape information of the target object, and then merges the user rigid body data with the user body shape data to obtain the user body data.
[0096] See also Figure 4 In some embodiments, step S103 may include but is not limited to steps S401 to S403:
[0097] Step S401, using an optical motion capture module to capture spatial features of a target object to obtain user rigid body data;
[0098] Step S402, using an inertial motion capture module to capture body features of the target object to obtain user body data;
[0099] Step S403: Merge the user's rigid body data with the user's posture data to obtain the user's body data.
[0100] In step S401 of some embodiments, the optical motion capture module includes an optical capture camera, optical motion capture markers, and a capture data processing model. The present application uses the optical motion capture module to capture markers of a moving target object to obtain spatial features of the target object, namely, user rigid body data.
[0101] In step S402 of some embodiments, the inertial motion capture module includes an inertial motion capture device and an inertial data processing model, wherein the inertial motion capture device may be an inertial sensor, and the inertial motion capture device may also be an inertial motion capture garment. The present application uses the inertial motion capture module to perform motion capture on a moving target object, and then inputs the captured limb motion into the inertial data processing model to generate a predicted posture of the target object, thereby obtaining user posture data of the target object.
[0102] In step S403 of some embodiments, the body data of the target object is further clarified by merging the user's rigid body data with the user's posture data, thereby improving the accuracy of virtualizing the body data of the target object.
[0103] In steps S401 to S403 shown in the present embodiment, the optical motion capture module in the human body capture tool is used to capture the spatial features of the target object to obtain the user's rigid body data, and the inertial motion capture module in the human body capture tool is used to capture the body features of the target object to obtain the user's body data. The user's rigid body data and the user's body data are then merged and analyzed to obtain the user's body data, which can improve the accuracy of the user's body data and the sense of immersion of the target object, thereby improving the efficiency of online teaching.
[0104] See also Figure 5 In some embodiments, step S401 may include but is not limited to steps S501 to S505:
[0105] Step S501, marking the target object with collection points to obtain the user's body marking points;
[0106] Step S502, using an optical motion capture module to capture the user's body marking points to obtain the marking point coordinates;
[0107] Step S503, calculating the spatial position data of the target object according to the coordinates of the marking points;
[0108] Step S504, calculating the rotation information data of the target object according to the spatial position data;
[0109] Step S505: Merge the spatial position data and the rotation information data to obtain the user rigid body data.
[0110] In step S501 of some embodiments, the key collection points on the target object are marked using the optical motion capture marker points in the optical motion capture module to obtain the user's body marker points. It should be noted that the key collection points can be devices worn by the target object, such as active 3D glasses and remote control handles.
[0111] In step S502 of some embodiments, an optical motion capture camera in an optical motion capture module is used to capture the movement path and spatial position of a user's body marker point to obtain the marker point coordinates. It should be noted that the optical motion capture camera can be set above the client's display to obtain more accurate marker point coordinates.
[0112] In step S503 of some embodiments, after the coordinates of the marking points are obtained, they are converted into spatial position data of the target object using a capture data processing model in the optical motion capture module.
[0113] In step S504 of some embodiments, after obtaining the spatial position data of the target object, the capture data processing model in the optical motion capture module is used to calculate the rotation information of the target object in three-dimensional space according to the fixed shape, size and spatial position data of the target object set in advance, so as to obtain the rotation information data of the target object.
[0114] In step S505 of some embodiments, the spatial position data and rotation information data of the target object are merged and analyzed to obtain the user rigid body data.
[0115] In steps S501 to S505 shown in the present embodiment, the user body marker points of the target object are captured by using the optical motion capture camera in the optical motion capture module to obtain the marker point coordinates, and the capture data processing model in the optical motion capture module is used to process the captured marker point coordinates to obtain the spatial position data and rotation information data of the target object, and then the spatial position data and rotation information data of the target object are merged and analyzed to obtain the user rigid body data, thereby improving the accuracy of the user's spatial position information.
[0116] See also Figure 6 In some embodiments, step S402 includes but is not limited to steps S601 to S602:
[0117] Step S601, using an inertial motion capture module to capture the motion of a target object to obtain user motion data;
[0118] Step S602: using an inertial motion capture module to perform inertial data processing on the user motion data to obtain user posture data.
[0119] In step S601 of some embodiments, the inertial motion capture device in the inertial motion capture module is used to capture the body movements of the target object to obtain user motion data. It should be noted that when the inertial motion capture device is used to capture the body movements of the target object, the position and dynamic information of the target object's limbs, head, and waist are mainly captured.
[0120] In step S602 of some embodiments, after obtaining the user motion data, the user motion data is subjected to inertial data processing using an inertial data processing model in an inertial motion capture module to obtain user posture data.
[0121] It should be noted that when the inertial capture device is an inertial motion capture sensor, the target object is required to wear the inertial motion capture device to perform motion capture, and transmit the captured data to the inertial data processing model for inertial data processing.
[0122] In steps S601 to S602 shown in this embodiment, the motion data of the target object is captured by the inertial motion capture device in the inertial motion capture module to obtain user motion data, and then the inertial data processing model in the inertial motion capture module is used to perform inertial data processing on the user motion data to obtain user body shape data, which provides a body shape data basis for the virtualization of the target object, thereby improving the immersion of the target object.
[0123] In step S104 of some embodiments, after obtaining the user's body data, the Rokoko Studio application can be used to perform virtual avatar processing on the user's body data to obtain a two-dimensional target virtual portrait. After obtaining the two-dimensional target virtual portrait, the target virtual portrait is stereoscopically displayed using a cave-type stereoscopic display module to obtain a target virtual stereoscopic image. The method of obtaining the target virtual stereoscopic image by stereoscopically displaying the target virtual portrait using the cave-type stereoscopic display module is similar to the method of obtaining a virtual teaching stereoscopic scene by stereoscopically displaying the virtual teaching scene using a preset cave-type stereoscopic display module, and therefore is not elaborated herein.
[0124] In step S105 of some embodiments, the server is used to connect the teaching clients of both parties of the online teaching. Therefore, the server can transmit the data of any one client to the other client to realize the synchronization of online teaching. The remote user body data can be the user body data of the remaining clients in the same room constructed by the server. The present application displays the user body data of the corresponding users of the remaining clients of the online teaching in front of the target object by receiving the remote user body data transmitted by the server, thereby improving the authenticity of the online teaching, wherein the remote user body data can be the user body data of one or more non-target object clients, depending on the number of users in the room constructed by the server.
[0125] It should be noted that the method of using a cave-type stereoscopic display module to stereoscopically display the virtual portrait of a remote user to obtain a virtual stereoscopic image of the remote user is similar to the method of using a preset cave-type stereoscopic display module to stereoscopically display a virtual teaching scene to obtain a virtual teaching stereoscopic scene, so it will not be repeated here.
[0126] In step S106 of some embodiments, the role teaching interaction instruction refers to instruction data for making the virtual stereo image interact with the surrounding virtual teaching stereo scene or the nearby virtual stereo image, and the role teaching interaction instruction is triggered by the user controlling the role controller, wherein the role controller is a handle with a joystick, a direction key, two ordinary buttons, and two shoulder keys equipped with optical motion capture markers, and is used to control the virtual stereo image to perform long-distance movement, jumping, turning, clicking, grabbing, etc. When the role teaching interaction instruction transmitted by the server is received, the corresponding remote user virtual stereo image is controlled to interact with the surrounding virtual teaching stereo scene or the nearby virtual stereo image according to the role teaching interaction instruction.
[0127] It should be noted that the target object can also issue role teaching interaction instructions by manipulating the role controller, and transmit them to the remote user client through the server, synchronizing the actions with the target virtual stereoscopic image displayed by the remote user client, thereby achieving the purpose of teaching interaction.
[0128] See also Figure 7 In some embodiments, after step S106, the online teaching method may also include but is not limited to steps S701 to S702:
[0129] Step S701, receiving remote user voice data transmitted by the server;
[0130] Step S702: Based on the remote user voice data, the remote user virtual stereo image is used to perform voice teaching on the target virtual stereo image.
[0131] In step S701 of some embodiments, the remote user voice data may be voice data generated by the remote user using a voice module, wherein the voice module includes a microphone device, and the voice device is used to collect voice data and transmit the collected voice data to the client.
[0132] In step S702 of some embodiments, after receiving the remote user voice data transmitted by the server, the corresponding remote user virtual stereo image is controlled to perform voice interaction with the surrounding virtual teaching stereo scene or nearby virtual stereo images according to the role teaching interaction instructions to achieve voice teaching.
[0133] It should be noted that the target object can also generate voice data by using a voice module, and transmit it to the remote user client through the server, synchronize the voice data with the remote user client and play it, so as to achieve the purpose of teaching voice interaction.
[0134] In steps S701 to S702 shown in this embodiment, by receiving the remote user voice data transmitted by the server, and based on the remote user voice data, using the remote user virtual stereo image to perform voice teaching on the target virtual stereo image, voice communication of online teaching is achieved, thereby improving the efficiency of online teaching.
[0135] The embodiment of the present application improves the immersion of both parties in online teaching by utilizing a cave-type stereoscopic display module to construct a virtual teaching stereoscopic scene, a target virtual stereoscopic image of a target object, and a remote user virtual stereoscopic image of a remote user. Furthermore, by using a server to transmit role teaching interaction instructions, the target virtual stereoscopic image can interact with the virtual teaching stereoscopic scene and the remote user virtual stereoscopic image of the remote user for teaching, thereby improving the efficiency of online teaching.
[0136] See also Figure 8 The embodiment of the present application also provides an online teaching device, which can implement the above-mentioned online teaching method, and the device includes:
[0137] The virtual scene generation module 801 is used to receive a scene generation instruction input by a target object, and generate a virtual teaching scene according to the scene generation instruction;
[0138] The virtual scene display module 802 is used to display the virtual teaching scene in three dimensions using a preset cave-type three-dimensional display module to obtain a virtual teaching three-dimensional scene;
[0139] The user data capturing module 803 is used to capture the body information of the target object using a preset body capturing tool to obtain the user's body data;
[0140] A virtual avatar display module 804 is used to generate a virtual avatar of a target object according to the user's body data, obtain a target virtual portrait, and use a cave-type stereoscopic display module to stereoscopically display the target virtual portrait to obtain a target virtual stereoscopic image;
[0141] The remote avatar display module 805 is used to receive the remote user body data transmitted by the server, generate a remote user virtual portrait according to the remote user body data, and use the cave-type stereoscopic display module to stereoscopically display the remote user virtual portrait to obtain a remote user virtual stereoscopic image;
[0142] The online teaching interaction module 806 is used to respond to the role teaching interaction instruction transmitted by the server, and use the remote user virtual stereo image to perform teaching interaction on the virtual teaching stereo scene and the target virtual stereo image.
[0143] The specific implementation of the online teaching device is basically the same as the specific implementation of the above-mentioned online teaching method, and will not be repeated here.
[0144] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above online teaching method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0145] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0146] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0147] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the online teaching method of the embodiment of this application;
[0148] Input / output interface 903, used to implement information input and output;
[0149] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);
[0150] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0151] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0152] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the above-mentioned online teaching method is implemented.
[0153] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0154] The online teaching method, online teaching device, electronic device and storage medium provided in the embodiments of the present application improve the immersion of both parties in online teaching by utilizing a cave-type stereoscopic display module to construct a virtual teaching stereoscopic scene, a target virtual stereoscopic image of a target object and a remote user virtual stereoscopic image of a remote user. Furthermore, by using a server to transmit role teaching interaction instructions, the target virtual stereoscopic image can interact with the virtual teaching stereoscopic scene and the remote user virtual stereoscopic image of the remote user for teaching, thereby improving the efficiency of online teaching.
[0155] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0156] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0157] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0158] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0159] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0160] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0161] In the several embodiments provided in the present application, it should be understood that the disclosed 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 above 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. The mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0162] The units described above 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.
[0163] 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.
[0164] 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 multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0165] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. An online teaching method, characterized in that: Applied to a client, the method comprises: Receiving a scene generation instruction input by a target object, and generating a virtual teaching scene according to the scene generation instruction; Using a preset cave-type stereoscopic display module to stereoscopically display the virtual teaching scene to obtain a virtual teaching stereoscopic scene; Using a preset human body capture tool to capture the body information of the target object to obtain the user's body data; Generate a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, and use the cave-type stereoscopic display module to stereoscopically display the target virtual portrait to obtain a target virtual stereoscopic image; Receiving the body data of the remote user transmitted by the server, generating a virtual portrait of the remote user according to the body data of the remote user, and displaying the virtual portrait of the remote user in stereo using the cave-type stereo display module to obtain a virtual stereo image of the remote user; In response to the role teaching interaction instruction transmitted by the server, the remote user virtual stereoscopic image is used to perform teaching interaction on the virtual teaching stereoscopic scene and the target virtual stereoscopic image.
2. The method according to claim 1, characterized in that: The human body capture tool includes an optical motion capture module and an inertial motion capture module. The method of using the preset human body capture tool to capture the body information of the target object and obtain the user's body data includes: Using the optical motion capture module to capture the spatial features of the target object to obtain user rigid body data; Using the inertial motion capture module to capture the body features of the target object to obtain user body data; The user rigid body data and the user posture data are merged to obtain the user body data.
3. The method according to claim 2, characterized in that The method of using the optical motion capture module to capture the spatial features of the target object to obtain the user rigid body data includes: Marking the target object with collection points to obtain user body marking points; Using the optical motion capture module to capture the user's body marking points to obtain the coordinates of the marking points; Calculating the spatial position data of the target object according to the coordinates of the marking points; Calculating the rotation information data of the target object according to the spatial position data; The spatial position data and the rotation information data are merged to obtain the user rigid body data.
4. The method according to claim 2, characterized in that: The step of using the inertial motion capture module to capture the body features of the target object to obtain body posture data of the user includes: Using the inertial motion capture module to capture the motion of the target object to obtain user motion data; The inertial motion capture module is used to perform inertial data processing on the user motion data to obtain the user posture data.
5. The method according to claim 1, characterized in that The method of using a preset cave-type stereoscopic display module to stereoscopically display the virtual teaching scene to obtain a virtual teaching stereoscopic scene includes: Performing image rendering on the virtual teaching scene to obtain a spliced binocular image; Inputting the spliced binocular image into the cave-type stereoscopic display module for signal conversion to obtain a fixed-frequency monocular image; The fixed-frequency monocular image is displayed in stereo by utilizing the cave-type stereoscopic display module to obtain the virtual teaching stereoscopic scene.
6. The method according to any one of claims 1 to 5, characterized in that: The receiving of the scene generation instruction input by the target object and generating a virtual teaching scene according to the scene generation instruction includes: Obtaining a virtual scene script file, and constructing a virtual empty scene according to the virtual scene script file; Extracting teaching scene parameters in the scene generation instruction; According to the teaching scene parameters, the virtual open scene is modified to obtain the virtual teaching scene.
7. The method according to any one of claims 1 to 5, characterized in that: After the remote user virtual stereo image is used to perform teaching interaction on the virtual teaching stereo scene and the target virtual stereo image in response to the role teaching interaction instruction transmitted by the server, the method further includes: Receiving remote user voice data transmitted by the server; According to the remote user voice data, the remote user virtual stereoscopic image is used to perform voice teaching on the target virtual stereoscopic image.
8. An online teaching device, characterized in that: The device comprises: A virtual scene generation module, used to receive a scene generation instruction input by a target object, and generate a virtual teaching scene according to the scene generation instruction; A virtual scene display module is used to display the virtual teaching scene in three dimensions by using a preset cave-type three-dimensional display module to obtain a virtual teaching three-dimensional scene; A user data capturing module, used to capture the body information of the target object using a preset body capturing tool to obtain user body data; A virtual avatar display module is used to generate a virtual avatar of the target object according to the user's body data to obtain a target virtual portrait, and to display the target virtual portrait in stereo using the cave-type stereo display module to obtain a target virtual stereo image; A remote avatar display module is used to receive the remote user body data transmitted by the server, generate a remote user virtual portrait according to the remote user body data, and use the cave-type stereoscopic display module to stereoscopically display the remote user virtual portrait to obtain a remote user virtual stereoscopic image; The online teaching interaction module is used to respond to the role teaching interaction instruction transmitted by the server, and use the remote user virtual stereo image to perform teaching interaction on the virtual teaching stereo scene and the target virtual stereo image.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the data table partitioning method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data table partitioning method according to any one of claims 1 to 7 is implemented.
