Deep learning and 3D animation interactive collaboration method and system
Through the interactive collaboration method of deep learning and 3D animation, using the stable differential shunt model and spatiotemporal attention layer, combined with voice and gesture data, the problem of lack of in-depth understanding and spatiotemporal change display in teaching is solved, and the real spatiotemporal of the ecosystem is realized. Simulation and interactive collaboration enhance the participation and efficiency of teaching.
Patent Information
- Application Number
- CN202410161296.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-02-05
AI Technical Summary
Existing teaching methods lack in-depth understanding and inquiry capabilities, and the stable differential shunt model does not realize time and space travel on three-dimensional virtual animations, making it difficult to display the changing process of ecosystem factors in a short period of time.
Using the deep learning and three-dimensional animation interactive collaboration method, the LDM network based on the spatiotemporal attention layer is constructed through the stable differential shunt model, and the spatiotemporal change model of the ecosystem is generated by combining voice and gesture data to achieve spatiotemporal simulation and interactive collaboration of the ecosystem. .
It enables experimenters to truly participate in ecosystem surveys in a short period of time, demonstrates the changing process of factors, and enhances the authenticity and sense of participation in teaching.
Smart Images

Figure CN117934674B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of teaching experiments, and in particular to a method and system for interactive collaboration of deep learning and three-dimensional animation. Background Art
[0002] On the one hand, there are some shortcomings in the current biology teaching process, such as: the test-oriented teaching method leads to students' lack of in-depth understanding and exploration ability of biology; the teaching content is too narrow: students may only understand some superficial knowledge points and cannot have a comprehensive understanding and knowledge of biology; on the other hand, stable diffusion is a generative model based on the diffusion process, which can generate high-resolution and realistic images, repair missing parts, add more refined image features to low-resolution images, and predict dynamic changes of images, etc., but it has not realized the relevant applications of time and space travel in the field of teaching experiments on three-dimensional virtual animation.
[0003] Therefore, how to allow experimenters to participate in ecosystem investigation experiments through a human-computer interactive collaborative teaching experiment method, and how the investigation experiment can use deep learning algorithms to show experimenters the spatiotemporal changes of ecosystems after changing ecosystem factors in a short period of time has become a technical problem that technicians in this field need to solve urgently. Summary of the invention
[0004] In order to at least solve the above-mentioned problems existing in the prior art, the present invention provides a deep learning and three-dimensional animation interactive collaboration method and system, which enables experimenters to interactively collaborate to complete an ecosystem survey experiment and observe the spatiotemporal changes of the ecosystem after changing certain factors in the ecosystem in a short period of time.
[0005] The objective of the present invention is achieved by the following technical solution: The present invention is a method for interactive collaboration of deep learning and three-dimensional animation, comprising the following steps:
[0006] S1. Input the three-dimensional model, two-dimensional image and voice data and establish an initial ecosystem model through processing by the material library module, the three-dimensional model optimization module and the voice prompt module;
[0007] S2. Recognizes the gesture and voice of the terminal user through the processing of the voice prompt module, the biometric feature module and the positioning unit module;
[0008] S3. The generated 3D model, 2D image and voice data are collected and analyzed by the data collection and analysis module, and then the data is integrated by the 3D model optimization module. The data obtained above are used by the data processing module to generate the final ecosystem model and evaluate the current model;
[0009] The above steps also include processing of "three-dimensional models, two-dimensional images and voice data", and the specific steps are:
[0010] SS1. Construct a stable diffusion training dataset, which includes: the input rough time series 3D model, the input ecosystem 2D image, the input corresponding voice description and the output 3D model;
[0011] SS2. Build a stable diffusion deep learning open source framework, and design an LDM network model based on the spatiotemporal attention layer within the framework. The spatiotemporal attention layer models the correlation between the input rough temporal 3D model, the input ecosystem 2D image, and the input corresponding voice description, so as to improve the temporal continuity of the simulated ecosystem;
[0012] SS3. For the input rough 3D ecosystem and 2D image sequence, we first input the encoder to obtain the latent space feature Z X At the same time, the corresponding speech description and gesture are mapped to the latent space through the conditional encoder to obtain the conditional feature Z C ;
[0013] SS4. Input feature Z X With conditional feature Z C The proposed spatiotemporal attention layer is used to fuse the two features in the LDM network model, and the reconstructed feature Z is obtained after T-step denoising. f ;
[0014] SS5. Reconstruct the feature Z f Input into the decoder to obtain the predicted time series three-dimensional model y, that is, the data of the ecosystem time series three-dimensional model;
[0015] SS6. Calculate the loss between the predicted time series 3D model y and the real time series 3D model y_gt, and update the parameters of the LDM network model through back propagation of the loss;
[0016] SS7. Prune and quantize the network structure of the trained LDM network model to reduce model parameters and accelerate model efficiency;
[0017] SS8. Build an inference framework based on the quantized network model for interactive collaboration in 3D animation.
[0018] Preferably, in step SS2, a stable diffusion deep learning open source framework is built, and an LDM network model based on a spatiotemporal attention layer is designed within the framework, including the following steps:
[0019] First, the input is X∈R H×W×3×F , represents an RGB image of size H×W sampled at time point F, and for each time point N=HW / P 2 , where P represents the region size and N represents the number of regions at each time point; it can be represented as a vector ,p=1,...,N,t=1,...,F; embed the input X, , represents the learnable matrix, Represents learnable spatial position encoding;
[0020] Secondly, the converter contains L layers of encoders, and each block is multi-head attention; for head a of block 1, the input of the block is linearly processed to generate reduced-dimensional query, key, and value. The query, key, and value of each block are expressed as follows:
[0021] ;
[0022] ;
[0023] ;
[0024] Where a=1,...,A represents the number of heads of multi-head attention, D h It represents the dimension of each head; by calling the current area q and other areas k for calculation respectively, the attention layer value α of this area relative to other areas can be obtained, which is expressed as follows:
[0025] ;
[0026] Furthermore, the vectors at different spatial positions at different time points that have not been grouped are grouped. First, the attention layer of the region at the same spatial position in different time dimensions is calculated, and then the attention layer of the region at different spatial positions at the same time point is calculated, which is expressed as follows:
[0027] ;
[0028] ;
[0029] Use the weighted sum of the attention layer value and the corresponding value to obtain the updated value s on a certain head, expressed as follows:
[0030] ;
[0031] Merge the updated values on multiple heads, perform linear projection on them, and add residual connections to obtain the updated value z' of multiple heads, which can be expressed as follows:
[0032] ;
[0033] After regularization layer, full connection layer, residual connection and other operations, the final new features of each region are obtained, which are expressed as follows:
[0034] .
[0035] Preferably, the input of the three-dimensional model, the two-dimensional image and the voice data and the establishment of the initial ecosystem model through the processing of the material library module, the three-dimensional model optimization module and the voice prompt module include the following steps:
[0036] S11. First, a material library is established, and the data content of the material library is stored in the material library module. The step of establishing the material library includes inputting a rough time series three-dimensional model, an input two-dimensional image of the ecosystem, and inputting a corresponding voice description;
[0037] S12. The rough time series 3D model of the input model is processed by the 3D model optimization module, comprising the following steps:
[0038] S121. Using 3D modeling software, Microsoft 3D Tools and plug-ins to simulate and develop the 3D model of the material library, the resulting simulated 3D model is optimized by a stable diffusion algorithm to construct a 3D model of the initial ecosystem and the temporal and spatial evolution;
[0039] S122. The three-dimensional modeling software renders the ecosystem model using data optimized by the stable diffusion algorithm to generate a simulated ecosystem evolution over time;
[0040] S123. At the same time, the three-dimensional model of the initial ecosystem and the time-space evolution constructed by the optimization of the stable diffusion algorithm is completed with three-dimensional registration, so that it can be matched, positioned and integrated with the real scene;
[0041] S13. When the initial ecosystem and three-dimensional model are constructed, the established voice prompt module will interactively guide the end user to complete the investigation experiment steps.
[0042] Preferably, the process of identifying the gesture and voice of the terminal user through the processing of the voice prompt module, the biometric feature module and the positioning unit module comprises the following steps:
[0043] S21. Establishing a biometric feature module, including establishing a gesture recognition module and establishing a voice recognition module;
[0044] S211. The gesture recognition module is established to recognize gestures based on the detr model, wherein the structure of the detr model includes a first sublayer as a multi-head attention layer, a second sublayer as a fully connected layer, and residual connections are used between each sublayer;
[0045] S212. The speech recognition module is established, and the DNN-HMM acoustic model framework is used to recognize speech;
[0046] S22. The positioning unit module processes spatial data and tasks by using a 3D SLAM algorithm;
[0047] S23. The script prompt words are triggered by the recognition of the terminal user's gestures and voices, thereby calling the script to receive and process the feedback information sent by the voice prompt module, and guiding the terminal user to follow the script to complete the ecosystem experiment content.
[0048] Preferably, the data acquisition and analysis module collects and analyzes the generated three-dimensional model, two-dimensional image and voice data, and then fuses the data through the three-dimensional model optimization module. The data obtained above is used by the data processing module to generate the final ecosystem model and evaluate the current model, including the following steps:
[0049] S31. The data collection and analysis module collects and analyzes the data generated in the above steps, that is, the data information generated by the recognition of the terminal user's gestures and voice is processed and analyzed by the population dynamics related model;
[0050] S32. The data generated in the above steps are integrated and optimized by using a three-dimensional model optimization module of a stable diffusion algorithm;
[0051] S33. Using the data processed by the above steps, the feedback data is used to evaluate the impact of the ecosystem through the created data processing module, and the data information in the data processing module is extracted; while converting it into audio form through the audio processing module for playback, the voice prompt module integrated with the development script will trigger the corresponding prompt words according to the gesture or voice of the terminal user. When the terminal user continues to interfere with the three-dimensional model in the ecosystem, the three-dimensional model optimization module is restarted for correction; when the terminal user stops interfering with the three-dimensional model in the ecosystem, the experimental interaction can be ended according to the suggestion of the voice prompt module.
[0052] Preferably, a deep learning and three-dimensional animation interactive collaboration system comprises a data collection end, an administrator end, and a user end;
[0053] The data acquisition end includes a material library module, which has the function of preprocessing the three-dimensional model, two-dimensional image and voice data;
[0054] The administrator end integrates four functional modules: 3D model optimization module, voice prompt module, data acquisition and analysis module and data processing module. These modules are responsible for the processing and deformation of 3D models, data classification and analysis functions, and jointly support the administrator end to achieve efficient management;
[0055] The user end includes a biometric feature module and a positioning unit module, and transmits the data input by the terminal user received back to the administrator end in real time through the wearable virtual reality device.
[0056] Preferably, the administrator and the user set IP addresses by developing scripts to ensure that the administrator and the user establish a TCP / IP protocol connection in the same network.
[0057] Preferably, the user terminal includes a virtual reality device, which includes an audio device, a video device and a positioning device:
[0058] The audio device comprises a sound input device and a sound output device;
[0059] The audio device includes a sound input device and a sound output device; the sound input device provides the function of collecting user voice information for the voice prompt module and the biometric feature module; the sound output device includes a voice prompt module, which is a key component of the sound output device to realize the voice prompt function, is responsible for the experimental guidance of the ecological survey experiment determination and process, and presents the results of the final environmental impact of the interference ecosystem to the end user;
[0060] The video device includes a projection device and a video acquisition device; the projection device is responsible for presenting the three-dimensional model processed by deep learning to the terminal user; the video acquisition device is responsible for collecting the gesture information of the terminal user and importing it into the administrator-side data collection and analysis data module;
[0061] The positioning device is responsible for the three-dimensional model optimization module and the positioning unit module. The two modules work together to accurately position the terminal user.
[0062] The beneficial effects of the present invention are:
[0063] The present invention provides a deep learning and three-dimensional animation interactive collaboration method and system, which improves the stable diffusion algorithm to make the scenario of terminal users participating in the investigation experiment more realistic, and uses the algorithm to infer and display the spatiotemporal change process of the ecosystem after the ecosystem factors are changed in a short time. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0065] Figure 1 A method and system diagram of interactive collaboration between deep learning and three-dimensional animation according to the present invention;
[0066] Figure 2 The present invention is a flowchart of a method for interactive collaboration of deep learning and three-dimensional animation based on an improved stable diffusion algorithm;
[0067] Figure 3 This is a flow chart of a method for designing spatiotemporal attention layers in interactive collaboration of deep learning and three-dimensional animation according to the present invention. DETAILED DESCRIPTION
[0068] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0069] like Figure 1 As shown, the present invention provides a method for interactive collaboration of deep learning and three-dimensional animation, comprising the following steps:
[0070] S1. Inputting the 3D model, 2D image and voice data and processing them through the material library module, the 3D model optimization module and the voice prompt module to establish an initial forest ecosystem model;
[0071] S2. Recognizes the gesture and voice of the terminal user through the processing of the voice prompt module, the biometric feature module and the positioning unit module;
[0072] S3. The generated 3D model, 2D image and voice data are collected and analyzed by the data collection and analysis module, and then the data is integrated by the 3D model optimization module. The data obtained above are used by the data processing module to generate the final forest ecosystem model and evaluate the current forest ecosystem model;
[0073] The above steps also include processing of "three-dimensional models, two-dimensional images and voice data", such as Figure 2 As shown, the specific steps are:
[0074] SS1. Construct a stable diffusion training dataset, which includes: the input rough time series 3D model, the input ecosystem 2D image, the input corresponding voice description and the output 3D model;
[0075] SS2. Build a stable diffusion deep learning open source framework, and design an LDM network model based on the spatiotemporal attention layer within the framework. The spatiotemporal attention layer models the correlation between the input rough temporal 3D model, the input ecosystem 2D image, and the input corresponding voice description, so as to improve the temporal continuity of the simulated ecosystem;
[0076] SS3. For the input rough 3D ecosystem and 2D image sequence, we first input the encoder to obtain the latent space feature Z X At the same time, the corresponding speech description and gesture are mapped to the latent space through the conditional encoder to obtain the conditional feature Z C ;
[0077] SS4. Input feature Z X With conditional feature Z C The proposed spatiotemporal attention layer is used to fuse the two features in the LDM network model, and the reconstructed feature Z is obtained after T-step denoising. f ;
[0078] SS5. Reconstruct the feature Z f Input into the decoder to obtain the predicted time series three-dimensional model y, that is, the data of the ecosystem time series three-dimensional model;
[0079] SS6. Calculate the loss between the predicted time series 3D model y and the real time series 3D model y_gt, and update the parameters of the LDM network model through back propagation of the loss;
[0080] SS7. Prune and quantize the network structure of the trained LDM network model to reduce model parameters and accelerate model efficiency;
[0081] SS8. Build an inference framework based on the quantized network model for interactive collaboration in 3D animation.
[0082] Specifically, in step SS2, a stable diffusion deep learning open source framework is built, and an LDM network model based on a spatiotemporal attention layer is designed within the framework, including the following steps:
[0083] First, the input is X∈R H×W×3×F, represents an RGB image of size H×W sampled at time point F, and for each time point N=HW / P 2 , where P represents the region size and N represents the number of regions at each time point; it can be represented as a vector , p=1,...,N,t=1,...,F; embed the input X, , represents the learnable matrix, Represents learnable spatial position encoding;
[0084] Secondly, the converter contains L layers of encoders, and each block is multi-head attention; for head a of block 1, the input of the block is linearly processed to generate reduced-dimensional query, key, and value. The query, key, and value of each block are expressed as follows:
[0085] ;
[0086] ;
[0087] ;
[0088] Where a=1,...,A represents the number of heads of multi-head attention, D h It represents the dimension of each head; by calling the current area q and other areas k for calculation respectively, the attention layer value α of this area relative to other areas can be obtained, which is expressed as follows:
[0089] ;
[0090] like Figure 3 As shown, the vectors at different spatial positions at different time points without grouping are grouped. First, the attention layer of the area at the same spatial position in different time dimensions is calculated, and then the attention layer of the area at different spatial positions at the same time point is calculated, which is expressed as follows:
[0091] ;
[0092] ;
[0093] Use the weighted sum of the attention layer value and the corresponding value to obtain the updated value s on a certain head, expressed as follows:
[0094] ;
[0095] Merge the updated values on multiple heads, perform linear projection on them, and add residual connections to obtain the updated value z' of multiple heads, which can be expressed as follows:
[0096] ;
[0097] After regularization layer, full connection layer, residual connection and other operations, the final new features of each region are obtained, which are expressed as follows:
[0098] .
[0099] Specifically, the input of the three-dimensional model, the two-dimensional image and the voice data and the establishment of the initial ecosystem model through the processing of the material library module, the three-dimensional model optimization module and the voice prompt module include the following steps:
[0100] S11. First, a material library is established, and the data content of the material library is stored in the material library module. The step of establishing the material library includes inputting a rough time series three-dimensional model, an input two-dimensional image of the ecosystem, and inputting a corresponding voice description;
[0101] The input rough time series three-dimensional model includes a plant rough time series three-dimensional model, an animal rough time series three-dimensional model and an environmental rough time series three-dimensional model;
[0102] The rough time-series three-dimensional model of plants includes rough time-series three-dimensional models of trees, shrubs, vines and herbs in different periods of embryonic stage, juvenile stage, growth stage, flowering stage and dormant stage;
[0103] The rough temporal three-dimensional model of animals includes three-dimensional models of more than three types of organisms from insects to mammals at different growth stages, such as snakes, birds of prey, and rodents;
[0104] The input environment rough time series three-dimensional model includes three-dimensional models of soil, moisture, light and climate in different seasons;
[0105] The text description corresponding to the input specifically includes a detailed description of the climate regions of the earth where the forest ecosystem is distributed, the type of role played by the time series three-dimensional model in the food chain relationship, the relative position of the three-dimensional model in the application scenario, etc.;
[0106] The output three-dimensional model is a three-dimensional model of a simulated forest ecosystem;
[0107] S12. The rough time series 3D model of the input model is processed by the 3D model optimization module, comprising the following steps:
[0108] S121. Using 3D modeling software, Microsoft 3D Tools and plug-ins to simulate and develop the 3D model of the material library, the resulting simulated 3D model is optimized by a stable diffusion algorithm to construct a 3D model of the initial ecosystem and the temporal and spatial evolution;
[0109] S122. The three-dimensional modeling software renders the ecosystem model using data optimized by the stable diffusion algorithm to generate a simulated ecosystem evolution over time;
[0110] S123. At the same time, the three-dimensional model of the initial ecosystem and the time-space evolution constructed by the optimization of the stable diffusion algorithm is completed with three-dimensional registration, so that it can be matched, positioned and integrated with the real scene;
[0111] S13. When the initial ecosystem and three-dimensional model are completed, the output three-dimensional model is a three-dimensional model of a simulated forest ecosystem with a time series, and the established voice prompt module will interactively guide the end user;
[0112] That is, the system will issue voice prompts when completing the initial forest ecosystem model, such as: "Now let's conduct a three-dimensional simulation experiment on the ecosystem. Please participate in the process of ecosystem evolution"; "Presented in front of you is a simulated scene of the forest ecosystem. There are many animals and plants on your right for you to choose from."
[0113] Specifically, the process of identifying the gesture and voice of the terminal user through the processing of the voice prompt module, the biometric feature module and the positioning unit module includes the following steps:
[0114] S21. Establishing a biometric feature module, including establishing a gesture recognition module and establishing a voice recognition module;
[0115] S211. The gesture recognition module is established to collect dynamic gesture images of the terminal user through the virtual reality device, and recognize the gesture based on the detr model, wherein the structure of the detr model includes a first sublayer as a multi-head attention layer, a second sublayer as a fully connected layer, and residual connections are used between each sublayer;
[0116] S212. The speech recognition module is established, the sound data of the terminal user is collected through the virtual display device, and the speech is recognized by using the DNN-HMM acoustic model framework;
[0117] S22. By using 3D SLAM algorithm, the positioning unit module can process spatial data and tasks, enhancing the simultaneous positioning and mapping of virtual and real world.
[0118] S23. The script prompt words are triggered by the recognition of the terminal user's gestures and voice, thereby calling the script to receive and process the feedback information sent by the voice prompt module, and guiding the terminal user to follow the script to complete the ecosystem experiment content; for example: after hearing the system voice prompt "You can choose to 'pick up' one or several animals and plants and 'place' them in the forest ecosystem in front of you", the terminal user will follow the voice prompt and continuously "pick up" an animal or plant and "place" it in the simulated forest ecosystem in front of you.
[0119] Specifically, the data acquisition and analysis module collects and analyzes the generated three-dimensional model, two-dimensional image and voice data, and then fuses the data through the three-dimensional model optimization module. The data obtained above is used by the data processing module to generate the final ecosystem model and evaluate the current model, including the following steps:
[0120] S31. The data collection and analysis module collects and analyzes the data generated by the above steps, that is, the data information generated by the recognition of the terminal user's gestures and voices is processed and analyzed through the population dynamics related model. For example, if there is a competition relationship between two species, snakes and birds of prey both feed on mice, the Lotka-Volterra interspecies competition model is used for a simple analysis: For the prey population, its change rate is expressed as: dN 1 / dt=r 1 N 1 (1-N 1 / K 1 -αN 2 / K 1 ), where N 1 represents the prey population, r 1 represents the natural growth rate of the prey population, K 1 represents the environmental carrying capacity of prey, α represents the competition coefficient between predators and prey, N 2 Represents the number of predator populations; for the predator population, its rate of change is expressed as: dN 2 / dt=r 2 N 2 (1-N 1 / K 2 -βN 1 / K 2 ), where N 2 represents the predator population, r 2 represents the natural growth rate of the predator population, K 2 represents the environmental carrying capacity of predators, β represents the competition coefficient of prey to predators, N 1 represents the prey population, where the competition coefficients α and β are set empirically according to the specific species and environmental conditions, and K 1 >K 2 / β,K 2 <K 1 / α: Species 1 wins, Species 2 becomes extinct; K 1 <K 2 / β,K 2 >K 1 / α: Species 2 wins, Species 1 becomes extinct; K 1 >K 2 / β,K 2 >K 1 / α: Species 1 and 2 can coexist, but it is unstable; K 1 <K 2 / β,K 2 <K 1 / α: Species 1 and 2 can form a stable coexistence; in the current three-dimensional model of the forest ecosystem, the number of rodents is relatively stable. If the end user increases the number of raptors in the existing forest ecosystem, the raptors will prey on more rodents, and the reduction in the number of rodents will also lead to a decrease in the number of snakes; vice versa;
[0121] S32. The data generated in the above steps are integrated and optimized by using a three-dimensional model optimization module using a stable diffusion algorithm, that is, the gesture and voice data generated by the terminal user and the data pre-processed by the material library module are input;
[0122] S33. Using the data processed in the above steps, the created data processing module uses the feedback data to evaluate the impact of the ecosystem and extract the data information in the data processing module; while converting it into audio form for playback through the audio processing module, the voice prompt module integrated with the development script triggers the corresponding prompt words according to the gesture or voice of the terminal user. When the terminal user continues to interfere with the three-dimensional model in the ecosystem, the three-dimensional model optimization module is restarted for correction; when the terminal user stops interfering with the three-dimensional model in the ecosystem, the experimental interaction can be ended according to the suggestion of the voice prompt module;
[0123] That is, when you hear the system voice prompt, "If you have finished adding, please say 'Done' and we will end the participation process"; at this time, the terminal user should follow the voice prompt to continuously "pick up" an animal or plant and "put it" into the simulated forest ecosystem in front of him; if there is a 1-minute interval or "Done", the survey experiment steps will be completed, and the system will call the data processing module to perform data fusion and three-dimensional model optimization on the new data generated by the gestures and actions of the terminal user after the intervention of the forest ecosystem, and output the time-series evolution process of the forest ecosystem to the terminal user. When there is a significant impact, such as the disappearance of animals and plants in any ecosystem, the evolution of the forest ecosystem will be terminated in this extreme state, and the final evolution result evaluation will be presented to the terminal user in the form of voice broadcast.
[0124] Specifically, a deep learning and three-dimensional animation interactive collaboration system includes a data collection end, an administrator end, and a user end, such as Figure 1 As shown;
[0125] The data acquisition end includes a material library module, which has the function of preprocessing the three-dimensional model, two-dimensional image and voice data;
[0126] The administrator end integrates four functional modules: 3D model optimization module, voice prompt module, data acquisition and analysis module and data processing module. These modules are responsible for the processing and deformation of 3D models, data classification and analysis functions, and jointly support the administrator end to achieve efficient management;
[0127] The user end includes a biometric feature module and a positioning unit module, and transmits the data input by the terminal user received back to the administrator end in real time through the wearable virtual reality device.
[0128] Specifically, the administrator and the user set IP addresses by developing scripts to ensure that the administrator and the user establish a TCP / IP protocol connection in the same network.
[0129] Specifically, the user terminal includes a virtual reality device, which includes an audio device, a video device, and a positioning device:
[0130] The audio device comprises a sound input device and a sound output device;
[0131] The audio device includes a sound input device and a sound output device; the sound input device provides the function of collecting user voice information for the voice prompt module and the biometric feature module; the sound output device includes a voice prompt module, which is a key component of the sound output device to realize the voice prompt function, is responsible for the experimental guidance of the ecological survey experiment determination and process, and presents the results of the final environmental impact of the interference ecosystem to the end user;
[0132] The video device includes a projection device and a video acquisition device; the projection device is responsible for presenting the three-dimensional model processed by deep learning to the terminal user; the video acquisition device is responsible for collecting the gesture information of the terminal user and importing it into the administrator-side data collection and analysis data module;
[0133] The positioning device is responsible for the three-dimensional model optimization module and the positioning unit module. The two modules work together to accurately position the terminal user.
[0134] In an embodiment of the present invention, a rough time series three-dimensional model, a two-dimensional image of the ecosystem and a voice description are used as input. Under the system voice prompt, the impact on the forest ecosystem factors is completed by gestures and voice. The population dynamics-related model is used as a theoretical basis support and reference basis to predict the change of the population number involved in the forest ecosystem over time. Then, the improved stable diffusion algorithm is used to make the scene of the survey experiment more realistic. In particular, the spatiotemporal change process of the forest ecosystem after the ecosystem factors are changed can be inferred and displayed in a short time.
[0135] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0136] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0137] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0138] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0139] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
[0140] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0141] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0142] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0143] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" 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 may be combined in any one or more embodiments or examples in a suitable manner.
[0144] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for interactive collaboration of deep learning and three-dimensional animation, characterized in that: S1. Input the 3D model, 2D image and voice data and establish the initial ecosystem model through the processing of the material library module, the 3D model optimization module and the voice prompt module; comprising the following steps: S11. First, a material library is established, and the data content of the material library is stored in the material library module. The step of establishing the material library includes inputting a rough temporal three-dimensional model, an input two-dimensional image of the ecosystem, and an input corresponding voice description; S12. Processing the rough temporal three-dimensional model that has been input for modeling by a three-dimensional model optimization module includes the following steps: S121. Use 3D modeling software, Microsoft 3D Tools and plug-ins to simulate and develop the 3D model of the material library, and optimize the obtained simulated 3D model through stable diffusion algorithm to construct a 3D model of the initial ecosystem and the temporal and spatial evolution; S122. At the same time, the three-dimensional model of the initial ecosystem and the time-space evolution constructed by the stable diffusion algorithm is registered in three dimensions, so that it can be matched, positioned and integrated with the real scene; S13. When the initial ecosystem and three-dimensional model are constructed, the established voice prompt module will interactively guide the end user to complete the investigation experiment steps; S2. Recognize the terminal user's gesture and voice through the processing of the voice prompt module, the biometric feature module and the positioning unit module; S3. The generated three-dimensional model, two-dimensional image and voice data are collected and analyzed by the data collection and analysis module, and then the data is integrated by the three-dimensional model optimization module. The data obtained above are used by the data processing module to generate the final ecosystem model and evaluate the current model; including the following steps: S31. The data collection and analysis module collects and analyzes the data generated by the above steps, that is, the data information generated by identifying the gestures and voices of the terminal user is processed and analyzed through the population dynamics related model; S32. The data generated in the above steps are fused and optimized by using the three-dimensional model optimization module of the stable diffusion algorithm; S33. Using the data processed in the above steps, the feedback data is used to evaluate the impact of the ecosystem through the created data processing module, and the data information in the data processing module is extracted; while converting it into audio form through the audio processing module for playback, the voice prompt module integrated with the development script will trigger the corresponding prompt words according to the gesture or voice of the terminal user, and when the terminal user continues to interfere with the three-dimensional model in the ecosystem, the three-dimensional model optimization module is restarted for correction; when the terminal user stops interfering with the three-dimensional model in the ecosystem, the experimental interaction can be ended according to the suggestion of the voice prompt module; The above steps also include processing of "three-dimensional model, two-dimensional image and voice data", and the specific steps are: SS1. Construct a stable diffusion training dataset, which includes: the input rough time series 3D model, the input ecosystem 2D image, the input corresponding voice description and the output 3D model; SS2. Build the stablediffusion deep learning open source framework, and design an LDM network model based on the spatiotemporal attention layer within the framework. The spatiotemporal attention layer models the correlation between the input rough temporal 3D model, the input ecosystem 2D image, and the input corresponding speech description; SS3. For the input rough 3D ecosystem and 2D image sequence, we first input the encoder to obtain the latent space feature Z X At the same time, the corresponding speech description and gesture are mapped to the latent space through the conditional encoder to obtain the conditional feature Z C ; SS4. Input feature Z X With conditional feature Z C The proposed spatiotemporal attention layer is used to fuse the two features in the LDM network model, and the reconstructed feature Z is obtained after T-step denoising. f ; SS5. Reconstruct the feature Z f Input into the decoder to obtain the predicted time series three-dimensional model y; SS6. Calculate the loss between the predicted time series 3D model y and the real time series 3D model y_gt, and update the parameters of the LDM network model through back propagation of the loss; SS7. After the LDM network model is trained in the above steps, the network structure is pruned and quantized; SS8. Build an inference framework based on the quantized network model and use it for 3D animation interactive collaboration.
2. A deep learning and three-dimensional animation interactive collaboration method according to claim 1, characterized in that: In step SS2, a stable diffusion deep learning open source framework is built, and an LDM network model based on a spatiotemporal attention layer is designed within the framework. The spatiotemporal attention layer is processed step by step, including: The spatiotemporal attention layer first calculates the attention layer for the regions at the same spatial position in different time dimensions; Then the attention layer of the regions at different spatial positions at the same time point is calculated.
3. The method for interactive collaboration of deep learning and three-dimensional animation according to claim 1, characterized in that: The method of recognizing the gesture and voice of the terminal user through the processing of the voice prompt module, the biometric feature module and the positioning unit module includes the following steps: S21. Establishing a biometric feature module, including establishing a gesture recognition module and establishing a voice recognition module; S211. The gesture recognition module is established to recognize gestures based on the detr model; S212. The speech recognition module is established, and the DNN-HMM acoustic model framework is used to recognize the speech; S22. The positioning unit module processes spatial data and tasks by using a 3D SLAM algorithm; S23. The script prompt words are triggered by the recognition of the terminal user's gestures and voice, thereby calling the script to receive and process the feedback information sent by the voice prompt module, and guiding the terminal user to follow the script to complete the ecosystem experiment content.
4. The deep learning and three-dimensional animation interactive collaboration system according to claim 1, characterized in that: include: Data collection end: including the material library module, which has the function of pre-processing 3D models, 2D images and voice data; Administrator side: Integrates multiple functional modules: 3D model optimization module, voice prompt module, data collection and analysis module, and data processing module. These modules together support the administrator side to achieve efficient management of 3D models, voice prompts, data collection and analysis, and data processing; User side: includes biometric feature module and positioning unit module, used to receive and process user input and data.
5. A deep learning and three-dimensional animation interactive collaboration system according to claim 4, characterized in that: The user terminal includes a virtual reality device, which includes an audio device, a video device, and a positioning device: The audio device includes a sound input device and a sound output device; the sound input device provides a function of collecting user voice information for a voice prompt module and a biometric feature module; the sound output device includes a voice prompt module, which is a key component of the sound output device to realize the voice prompt function; The video device includes a projection device and a video acquisition device; the projection device is responsible for presenting the three-dimensional model processed by deep learning to the terminal user; the video acquisition device is responsible for collecting the gesture information of the terminal user and importing it into the administrator-side data collection and analysis data module; The positioning device is responsible for the three-dimensional model optimization module and the positioning unit module. The two modules work together to accurately position the terminal user.
