A method and device for predicting user intention using the temporal and spatial interaction relationship between humans, machines and objects

By detecting object borders and label information in image data, determining the interactive relationship between people and objects, and using preset models to predict user intentions, it solves the problem in the existing technology of being unable to predict user intentions in multiple scenarios, and realizes an intelligent system Improve proactive service capabilities.

CN112580550BActive Publication Date: 2024-09-06KONKA GROUP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011556291.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-09-06
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

Existing technology cannot effectively predict user intentions in multiple scenarios or changing scenarios, and lacks breadth and flexibility. Existing methods need to model specific scenarios or activities, which limits the active service capabilities of intelligent systems.

Method used

By acquiring image data, detecting the object's frame and label information, determining the interactive relationship and spatial relationship between people and objects, using the preset prediction algorithm model to predict user actions and scenes, and realizing the prediction of user intentions, it is suitable for multiple scene or changing scene.

Benefits of technology

It realizes the prediction of user intentions in multiple scenarios or changing scenarios, avoids complex human-computer interaction processes, and improves the active service capabilities of intelligent systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112580550B
    Figure CN112580550B
Patent Text Reader

Abstract

The present invention discloses a method and device for predicting user intentions using the temporal and spatial interaction relationship between humans, machines and objects. The method includes: acquiring image data, detecting the image data, determining the objects contained in the image data and the frame information and label information corresponding to the objects; determining the interaction relationship information between humans and objects and the spatial relationship information between humans and objects based on the objects and the frame information and label information corresponding to the objects; predicting the user's actions and scenes based on the interaction relationship information between humans and objects and the spatial relationship information between humans and objects, so as to predict the user's intentions. The present invention does not need to limit the scenes when implemented, and can be applied to multiple scenes or changing scenes to predict the next scene and possible actions of humans, effectively solving the problem that the prior art cannot predict the user's intentions in multiple scenes or changing scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer applications, and in particular to a method or device for predicting user intentions by utilizing the temporal and spatial interaction relationship between humans, machines and objects. Background Art

[0002] With the continuous development of the Internet, the Internet of Things, and artificial intelligence technology, society's requirements for the intelligence level of electronic devices are gradually increasing. Currently, electronic devices cannot actively perceive user intentions through videos, and can only obtain more accurate services when users passively input specific requirements or parameters. With the continuous upgrading of intelligent services, intelligent systems should have the ability to actively judge user needs, thereby avoiding complex human-computer interaction processes and enabling intelligent systems to transform from passively requesting services to actively providing services.

[0003] However, the existing mainstream methods for predicting human intentions based on videos require modeling of specific scenarios or activities, and have not yet achieved the establishment of a comprehensive user intention prediction model for multiple scenarios or changing scenarios.

[0004] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0005] The technical problem to be solved by the present invention is that, in response to the above-mentioned defects of the prior art, a method or device for predicting user intention by utilizing the spatiotemporal interaction relationship between humans, machines and objects is provided, aiming to solve the problem in the prior art that user intention cannot be predicted in multiple scenarios or in changing scenarios.

[0006] The technical solution adopted by the present invention to solve the problem is as follows:

[0007] In a first aspect, an embodiment of the present invention provides a method for predicting user intention using a human-machine-object spatiotemporal interaction relationship, wherein the method comprises:

[0008] Acquire image data, detect the image data, and determine the border information and label information of the object contained in the image data;

[0009] Determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and the label information of the object;

[0010] The user's actions and scenes are predicted respectively according to the interaction relationship information between the person and the object and the spatial relationship information between the person and the object, so as to predict the user's intention.

[0011] In one implementation, the acquiring of image data, detecting the image data, and determining the border information and label information of the object contained in the image data includes:

[0012] Acquire image data generated based on the real-time video stream data to be predicted, and input the image data into a preset target detection model;

[0013] Obtain the bounding box information and label information of the object in the image data processed and output by the target detection model based on the image data.

[0014] In one embodiment, determining the interactive relationship information between a person and an object and the spatial relationship information between a person and an object according to the frame information and the label information of the object includes:

[0015] Inputting the border information and label information of the object into a preset scene graph generation model;

[0016] The interactive relationship information between the person and the object and the spatial relationship information between the person and the object output by the scene graph generation model based on the frame information and label information of the object are obtained.

[0017] In one embodiment, predicting the user's actions and scenes respectively based on the interaction relationship information between the person and the object and the spatial relationship information between the person and the object to predict the user's intention includes:

[0018] Inputting the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm;

[0019] The prediction result of the human action and scene predicted by the prediction algorithm based on the spatial relationship information between the human and the object and the interactive relationship information between the human and the object is obtained to achieve the prediction of the user's intention.

[0020] In one embodiment, obtaining the prediction result of the prediction algorithm for predicting the action and scene of the person based on the spatial relationship information between the person and the object and the interactive relationship information between the person and the object to predict the user's intention includes:

[0021] Obtaining a prediction scenario output by the prediction algorithm through analyzing the spatial relationship information between the person and the object by calling the spatial relationship and / or graph model, wherein the prediction scenario is a scenario with the largest occurrence probability value predicted by the prediction algorithm;

[0022] The predicted action output by the prediction algorithm through analyzing the interaction relationship information between the person and the object by calling the interaction relationship and / or graph model is obtained, and the predicted action is the action with the largest occurrence probability value predicted by the prediction algorithm.

[0023] In a second aspect, an embodiment of the present invention further provides a user intention prediction device using a human-machine-object spatiotemporal interaction relationship, wherein the device comprises:

[0024] An image detection module, used to acquire image data, detect the image data, and determine the frame information and label information of the object contained in the image data;

[0025] A relationship determination module, used to determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and label information of the object;

[0026] The user intention prediction module is used to predict the human action and scene according to the interaction relationship information between the human and the object and the spatial relationship information between the human and the object, so as to predict the user intention.

[0027] In one embodiment, the image detection module further includes:

[0028] An image acquisition and input module, used to acquire image data generated based on the real-time video stream data to be predicted, and input the image data into a preset target detection model;

[0029] The object detection model is used to process image data generated based on the real-time video stream data to be predicted, and output the frame information and label information of the object in the image data.

[0030] In one implementation, the relationship determination module further includes:

[0031] An object information input module, used to input the border information and label information of the object into a preset scene graph generation model;

[0032] The scene graph generation model is used to analyze the border information and label information of the object, and output the interaction relationship information between the person and the object and the spatial relationship information between the person and the object.

[0033] In one embodiment, the user intention prediction module further includes:

[0034] A relationship input module, used to input the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm;

[0035] The prediction algorithm module is used to analyze the spatial relationship information between the person and the object and the interactive relationship information between the person and the object, and output the prediction results of the person's actions and scenes.

[0036] In one embodiment, the prediction algorithm module further includes:

[0037] An interactive relationship and / or graph model, used to analyze the interactive relationship information between the person and the object and output a predicted action;

[0038] The spatial relationship and / or graph model is used to analyze the spatial relationship information between the person and the object and output a predicted scenario.

[0039] Beneficial effects of the present invention: The present invention acquires image data, detects the image data, determines the objects contained in the image data and the frame information and label information corresponding to the objects; determines the interaction relationship information between people and objects and the spatial relationship information between people and objects based on the objects and the frame information and label information corresponding to the objects; predicts the user's actions and scenes based on the interaction relationship information between people and objects and the spatial relationship information between people and objects, so as to predict the user's intentions. The present invention does not need to limit the scenes when implemented, and can be applied to multiple scenes or changing scenes to predict the next scene and possible actions of people, effectively solving the problem that the prior art cannot predict the user's intentions in multiple scenes or changing scenes. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] 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 recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 It is a flowchart of a method for predicting user intention by using the spatiotemporal interaction relationship between humans, machines and objects provided by an embodiment of the present invention.

[0042] Figure 2 It is a schematic diagram of a process of determining border information and label information of an object provided by an embodiment of the present invention.

[0043] Figure 3 It is a schematic diagram of a process for determining interactive relationship information between a person and an object and spatial relationship information between a person and an object provided by an embodiment of the present invention.

[0044] Figure 4 It is a schematic diagram of a flow chart of predicting user actions and scenes provided by an embodiment of the present invention.

[0045] Figure 5 It is a schematic diagram of the connections between the internal modules of the device.

[0046] Figure 6 It is a structural schematic diagram of a spatial relationship and / or graph model provided by an embodiment of the present invention.

[0047] Figure 7 It is a structural diagram of the interactive relationship and / or graph model provided by an embodiment of the present invention.

[0048] Figure 8 It is a schematic diagram of the overall framework provided by an embodiment of the present invention.

[0049] Fig. 9 It is a principle block diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0051] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0052] With the continuous development of the Internet, the Internet of Things, and artificial intelligence technology, society's requirements for the intelligence level of electronic devices are gradually increasing. Currently, electronic devices cannot actively perceive user intentions through videos, and can only obtain more accurate services when users passively input specific requirements or parameters. With the continuous upgrading of intelligent services, intelligent systems should have the ability to actively judge user needs, thereby avoiding complex human-computer interaction processes and enabling intelligent systems to transform from passively requesting services to actively providing services.

[0053] The existing mainstream methods for predicting human intentions based on videos require modeling of specific scenes or activities, and have not yet implemented a comprehensive intention prediction model. The existing intention prediction models are divided into two categories: intention prediction based on deep learning and intention prediction based on stochastic context sensitive grammar (SCSG).

[0054] Intention prediction based on deep learning is combined with the feature extraction function of the Convolutional Neural Networks (CNN) model and more mainstream neural network models such as the Recurrent Neural Network (RNN) and the Long Short-Term Memory (LSTM) to predict people's behavior, trajectory, visual focus, etc.

[0055] Intention prediction based on Stochastic Context-Aware Grammar (SCSG) obtains the hierarchical structure of human activities for a certain scene (such as an office scene) or an activity (such as eating) through random grammar learning, and combines the past and current observed human action sequences to predict the person's possible future actions.

[0056] However, the disadvantage of the intention prediction model based on deep learning is that a large amount of labeled data is required to support the training of the network model, so a lot of manpower, material resources and time are needed to complete data labeling and network training during the network training process; the shortcomings of the intention prediction model based on random context-aware grammar are: modeling specific scenes or activities. That is, it is necessary to know in advance the scene (such as office scene) or activity (such as eating) in which the person is located. For perception tasks (such as auxiliary activities), this model is highly restrictive and lacks a certain degree of breadth and flexibility. In addition, the action is regarded as an atomic observation object. That is, the next action to be taken is predicted, and it is impossible to effectively predict the situation where a person has concurrent intentions (that is, there are two or more intentions occurring at the same time).

[0057] In view of the above-mentioned defects of the prior art, the present invention analyzes real-time video stream information, combines target detection networks, scene graph generation technology, and or graph modeling technology, and uses scene graphs to capture the scene information of people and the interaction relationship between people and various objects in the physical world in real time, so as to achieve observation and understanding of the current interaction status between people and various objects in the physical world, and predict the next scene and possible actions of people. Thereby, it is possible to understand the user's movements before the user's actual actions occur, and make actions that match the user's intentions in advance. The present invention does not need to limit the scene when it is implemented, and can be applied to multiple scenes or changing scenes to predict the next scene and possible actions of people, which effectively solves the problem that the prior art cannot predict the user's intentions in multiple scenes or changing scenes.

[0058] like Figure 1 As shown, this embodiment provides a method for predicting user intention using the temporal and spatial interaction relationship between humans, machines and objects, and the method includes the following steps:

[0059] Step S100: Acquire image data, detect the image data, and determine the frame information and label information of the object contained in the image data.

[0060] This embodiment mainly predicts user intentions for real-time video streams, so it is necessary to first parse each frame of the video stream. Only when the machine understands the various information contained in the data image can it make accurate predictions about the user's intentions based on the information obtained. First, the machine obtains each frame of image data in the video stream, and then detects these image data to determine which objects exist in the image and what these objects are. Specifically, the machine needs to locate and classify the image data: determine the location of the object that appears in the image and draw a bounding box around the object; at the same time, perform feature extraction on each object, and determine the label of the category to which each object belongs based on the color, texture, shape, size and other information of each object, such as determining whether the object in the picture is a person or furniture or daily necessities. After the determination is completed, the border information and label information of the object in the image data can be obtained.

[0061] In one implementation, Figure 2 As shown, the step S100 specifically includes the following steps:

[0062] Step S110: acquiring image data generated based on the real-time video stream data to be predicted, and inputting the image data into a preset target detection model;

[0063] Step S120: Obtain the border information and label information of the object in the image data processed and output by the target detection model based on the image data.

[0064] Specifically, in order to obtain the frame information and label information of the object in the image data, the present embodiment needs to first convert the acquired real-time video stream data to be predicted into several frames of image data, and then input these image data into a preset target detection model for detection. In one implementation, the present embodiment can use the mainstream Faster R-CNN network model (convolutional network model based on fast area) as the target detection model to detect the object in the video. The Faster R-CNN network model integrates feature extraction (Feature Extraction), target (Proposal) extraction, bounding box regression (Bounding Box Regression) and classification (Classification) into one network, and is a target detection network with high comprehensive performance. And the Faster R-CNN network model has a higher average accuracy than the ordinary convolutional neural network model. After the target detection model obtains the image data, it performs feature extraction, target extraction, bounding box regression and classification on each frame of image data, and then outputs the bounding box information and label information of the object in each frame of image data.

[0065] After obtaining the border information and label information of the object in the image data, such as Figure 1 As shown, the method further comprises the following steps:

[0066] Step S200: Determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and label information of the object.

[0067] In the visual world, machine recognition of a single object is only the first step in understanding image data. In order for the machine to understand the information contained in the image data, it must also recognize the relationship between the various objects, that is, how the various objects interact with each other. Humans are often at the center of this interaction, so detecting the interaction between people and other objects is very important for predicting user intentions. Therefore, this embodiment obtains the object and the corresponding border information and label information of the object, and it is also necessary to analyze and process the obtained information to determine the interactive relationship information between people and objects in the image and the spatial relationship information between people and objects.

[0068] In one implementation, Figure 3 As shown, the step S200 specifically includes the following steps:

[0069] Step S210, inputting the border information and label information of the object into a preset scene graph generation model;

[0070] Step S220: Obtain the interactive relationship information between the person and the object and the spatial relationship information between the person and the object output by the scene graph generation model based on the bounding box information and label information of the object.

[0071] Scene understanding is a hot topic in computer vision research. Visual scene understanding includes multiple semantic tasks at different levels, one of which is the need to predict the visual relationship between detected objects. The key to understanding visual scene images is to be able to represent the objects in the scene image and the semantic relationships between them. These representations can not only provide contextual clues for scene understanding, but also provide assistance for high-level semantic visual tasks. This embodiment mainly uses a scene graph generation model to determine the relationship between objects in the image. The scene graph generation model is mainly composed of two attention-based RNN neural networks (recurrent neural networks). Specifically, a scene graph is a data structure for describing visual concepts in an image. It can store the description of the scene depicted in the image as a structured graph, and use the structured graph to describe the rich semantic relationships between objects contained in each frame of the image. The nodes of the scene graph represent the object bounding boxes detected by the target detection network (Faster R-CNN) before, and the edges of the graph represent the relationships between objects. There are three types of relationships here, namely spatial relationships, contact relationships, and attention relationships. Spatial relationships describe the layout relationship between objects in spatial positions, such as<person,in front of,sofa> ; Interaction relationships describe the interaction between people and objects, such as<person,holding,cup> ; The attention relationship describes the attention relationship between people and objects, such as<person,looking at,kettle> . The scene graph generation model in this embodiment is mainly used to detect and output the interaction relationship between people and objects and the spatial relationship between people and objects. First, the border information and label information of the object in the image data determined by step S100 are input into the preset scene graph generation model, and then the scene graph generation model constructs a scene graph for the object and the border information and label information of the object and solves the layout relationship between people and objects in spatial position, the interaction relationship between people and objects, and then outputs the interaction relationship information between people and objects and the spatial relationship information between people and objects.

[0072] Obtain the interactive relationship information between people and objects and the spatial relationship information between people and objects in order to predict user intentions, such as Figure 1 As shown, the method further comprises the following steps:

[0073] Step S300: predicting the user's actions and scenes respectively according to the interaction relationship information between the person and the object and the spatial relationship information between the person and the object, so as to predict the user's intention.

[0074] In short, this embodiment divides human behavior into two categories based on relevant research results of cognitive science. One category is the action related to the whole body of the person (B-action), such as sitting, standing, etc., and the other category is the action related to the hand (H-action), such as touching, holding, etc. This embodiment models the action related to the hand and the action related to the whole body of the person respectively according to the interaction relationship information between the person and the object and the spatial relationship information between the person and the object obtained in step S200, and then determines a scene or action from multiple possible states as the predicted next scene or next action of the user, thereby realizing the prediction of the user's intention.

[0075] In one implementation, Figure 4 As shown, the step S300 specifically includes the following steps:

[0076] Step S310: inputting the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm;

[0077] Step S320: obtaining a prediction result of the person's action and scene output by the prediction algorithm based on the spatial relationship information between the person and the object and the interactive relationship information between the person and the object, so as to predict the user's intention.

[0078] This embodiment uses a trained AND / OR graph model for prediction, that is, this embodiment has learned the spatial relationship information between labeled people and objects, and the interactive relationship information between people and objects to obtain the corresponding AND / OR graph model, which can be directly used to observe and understand the information obtained based on the real-time video stream, and predict the scene and action that is most likely to occur in the next step. Specifically, this embodiment first inputs the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm, and then after the prediction algorithm obtains the spatial relationship information between the person and the object and the interactive relationship information between the person and the object, it analyzes the user's historical scenes and actions, and predicts the user's most likely action and scene in the next step.

[0079] In one implementation, Figure 8 As shown, Figure 8The overall architecture diagram of this embodiment is shown. It can be clearly seen that the prediction algorithm needs to call the spatial relationship and OR graph model, which is a model established for actions related to the entire body of a person, and then input the spatial relationship information between the person and the object into the spatial relationship and OR graph model for analysis to obtain a predicted scene, which is the scene most likely to occur in the next step. At the same time, the prediction algorithm also needs to call the interactive relationship and OR graph model, which is a model established for actions related to the hand, and then input the interactive relationship information between the person and the object into the interactive relationship and OR graph for analysis to obtain a predicted action, which is the most likely action for the user to take in the next step.

[0080] In general, the And-Or Graph (AOG) model in the prior art is a tree structure consisting of a series of non-leaf nodes and leaf nodes. Leaf nodes are observed spatial relationships between people and objects or interactive relationships between people and objects, and non-leaf nodes include And nodes and Or nodes. Figure 6 , 7 As shown, Figure 6 , 7The structure of the spatial relationship and OR graph model and the structure of the interactive relationship and OR graph model are shown respectively. Among them, the child nodes of the AND node have a time order relationship, that is, the child node on the right can only occur after the child node on the left occurs; the OR node also has multiple child nodes, and only one of the child nodes is selected during the execution process. In this embodiment, the spatial relationship between people and objects and the interactive relationship between people and objects captured by the scene graph are used to call the spatial relationship and OR graph model and the interactive relationship and OR graph model through the prediction algorithm to predict the most likely next scene or action. In one implementation, this embodiment uses the Earley Parser algorithm as the prediction algorithm. The Earley Parser algorithm includes a continuous cycle of three steps: prediction, scan, and completion, which includes a top-up algorithm (prediction-based algorithm) and a bottom-up algorithm (rule-based algorithm), and introduces a prediction mechanism, which can perform efficient prediction on input information. Specifically, the spatial relationship sequence between the person and the object and the interactive relationship sequence between the person and the object are used as input information of the Early Parsing Algorithm, and the Early Parsing Algorithm predicts the next scene or action of the person by calling two types of AND or graph model networks. Among them, the spatial relationship AND or graph model and the interactive relationship AND or graph model used in this embodiment are obtained by training the contextual spatial relationship (Spatial relationship) and contextual interactive relationship (Contact relationship) between the person and the object in the annotated scene graph in advance, so it can directly make reasonable predictions on the information in the real-time video stream.

[0081] Specifically, the Early Parsing Algorithm creates a set of all pending states that are consistent with the input information. The parser iteratively performs one of three basic operations (predict, scan, and complete), scanning all pending states to find the next possible scene or action. For example, when the spatial relationship between the person and the sofa is observed to change from<person,on the side of,sofa> Changes to<person,in front of,sofa> Then we can predict that there are many probabilistic relationships between people and sofas in the future.<person,sitting on,sofa> , that is, the person has the intention to sit; when the interaction between the person and the cup is observed from<person,not contacting,cup> Changes to<person,touching,cup> Then we can predict that there will be many probabilistic relationships between people and cups in the future.<person,holding,cup> , in the end, there is a high probability that people have the intention of drinking.

[0082] Based on the above embodiments, the present invention also provides a user intention prediction device using the temporal and spatial interaction relationship between humans, machines and objects, such as Figure 5 As shown, the device comprises:

[0083] An image detection module, used to acquire image data, detect the image data, and determine the frame information and label information of the object contained in the image data;

[0084] A relationship determination module, used to determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and label information of the object;

[0085] The user intention prediction module is used to predict the human action and scene according to the interaction relationship information between the human and the object and the spatial relationship information between the human and the object, so as to predict the user intention.

[0086] In one implementation, the image detection module further includes:

[0087] An image acquisition and input module, used to acquire image data generated based on the real-time video stream data to be predicted, and input the image data into a preset target detection model;

[0088] The object detection model is used to process image data generated based on the real-time video stream data to be predicted, and output the frame information and label information of the object in the image data.

[0089] In one implementation, the relationship determination module further includes:

[0090] An object information input module, used to input the border information and label information of the object into a preset scene graph generation model;

[0091] The scene graph generation model is used to analyze the border information and label information of the object, and output the interaction relationship information between the person and the object and the spatial relationship information between the person and the object.

[0092] In one implementation, the user intention prediction module further includes:

[0093] A relationship input module, used to input the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm;

[0094] The prediction algorithm module is used to analyze the spatial relationship information between the person and the object and the interactive relationship information between the person and the object, and output the prediction results of the person's actions and scenes.

[0095] In one implementation, the prediction algorithm module further includes:

[0096] An interactive relationship and / or graph model, used to analyze the interactive relationship information between the person and the object and output a predicted action;

[0097] The spatial relationship and / or graph model is used to analyze the spatial relationship information between the person and the object and output a predicted scenario.

[0098] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Fig. 9 As shown. The intelligent terminal includes a processor, a memory, a network interface, and a display screen connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user intention prediction method using the time-space interaction relationship between man, machine and object is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.

[0099] Those skilled in the art will understand that Fig. 9 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0100] In one implementation, one or more programs are stored in the memory of the smart terminal, and are configured to be executed by one or more processors. The one or more programs include instructions for performing a user intention prediction method utilizing the spatiotemporal interaction relationship between humans, machines and objects.

[0101] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0102] In summary, the present invention discloses a method for predicting user intentions using the temporal and spatial interaction relationship between humans, machines and objects, by acquiring image data, detecting the image data, determining the objects contained in the image data and the frame information and label information corresponding to the objects; determining the interaction relationship information between humans and objects and the spatial relationship information between humans and objects based on the objects and the frame information and label information corresponding to the objects; predicting the user's actions and scenes based on the interaction relationship information between humans and objects and the spatial relationship information between humans and objects, so as to predict the user's intentions. The present invention does not need to limit the scenes when implemented, and can be applied to multiple scenes or changing scenes to predict the next scene and possible actions of humans, effectively solving the problem in the prior art that the user's intentions in multiple scenes or changing scenes cannot be predicted.

[0103] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for predicting user intentions using the temporal and spatial interaction relationship between humans, machines and objects, characterized in that: The method comprises: Acquire image data, detect the image data, and determine border information and label information of the object contained in the image data; Determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and the label information of the object; Inputting the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm; Obtaining a prediction scenario output by the prediction algorithm by calling a spatial relationship and / or graph model to analyze the spatial relationship information between the person and the object; the spatial relationship and / or graph model is a model established for actions related to the entire body of a person, and the prediction scenario is a scenario with the largest occurrence probability value predicted by the prediction algorithm; Obtaining a predicted action output by the prediction algorithm through analyzing the interaction relationship information between the person and the object by calling the interaction relationship and / or graph model; the interaction relationship and / or graph model is a model established for hand-related actions; the predicted action is the action with the maximum probability value predicted by the prediction algorithm, so as to achieve prediction of the user's intention; The prediction algorithm adopts the Early Parsing Algorithm, which includes a continuous cycle of three steps: prediction, scanning, and completion; the spatial relationship sequence between the person and the object and the interactive relationship sequence between the person and the object are used as input information of the Early Parsing Algorithm; the Early Parsing Algorithm creates a set of all pending states consistent with the input information, and the parser iteratively executes one of the three steps to scan all pending states to find the next possible scene or action; The determining of the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and the label information of the object comprises: The bounding box information and label information of the object are input into a preset scene graph generation model; the scene graph generation model constructs a scene graph for the object and the bounding box information and label information of the object, and solves the layout relationship between people and objects in spatial position, the interaction relationship between people and objects, and outputs the interaction relationship information between people and objects and the spatial relationship information between people and objects; the nodes of the scene graph represent the object bounding boxes, and the edges of the graph represent the relationships between objects, including three types of relationships, namely spatial relationships, interaction relationships and attention relationships; the spatial relationship describes the layout relationship between objects in spatial position; the interaction relationship describes the interaction relationship between people and objects; the attention relationship describes the attention relationship of people to objects.

2. The method for predicting user intentions using the temporal and spatial interaction relationship between humans, machines and objects according to claim 1, characterized in that: The acquiring of image data, detecting the image data, and determining the frame information and label information of the object contained in the image data includes: Acquire image data generated based on the real-time video stream data to be predicted, and input the image data into a preset target detection model; Obtain the bounding box information and label information of the object in the image data processed and output by the target detection model based on the image data.

3. A user intention prediction device using the temporal and spatial interaction relationship between humans, machines and objects, characterized in that: The device comprises: An image detection module, used to acquire image data, detect the image data, and determine the frame information and label information of the object contained in the image data; A relationship determination module, used to determine the interactive relationship information between the person and the object and the spatial relationship information between the person and the object according to the frame information and label information of the object; The user intention prediction module includes: a relationship input module, which is used to input the spatial relationship information between the person and the object and the interactive relationship information between the person and the object into a preset prediction algorithm; a prediction algorithm module, which includes: an interactive relationship and / or graph model, which is used to analyze the interactive relationship information between the person and the object and output a predicted action, and the interactive relationship and / or graph model is a model established for actions related to the hand; a spatial relationship and / or graph model, which is used to analyze the spatial relationship information between the person and the object and output a predicted scene, and the spatial relationship and / or graph model is a model established for actions related to the entire body of the person; so as to predict the user intention; the prediction algorithm adopts the Early parsing algorithm, which includes a continuous cycle of three steps: prediction, scanning, and completion; the spatial relationship sequence between the person and the object and the interactive relationship sequence between the person and the object are used as input information of the Early parsing algorithm; the Early parsing algorithm creates a set of all pending states consistent with the input for the input information, and the parser iteratively executes one of the three steps to scan all pending states to find the next possible scene or action; The relationship determination module also includes: The object information input module is used to input the frame information and label information of the object into a preset scene graph generation model; the scene graph generation model constructs a scene graph for the object and the frame information and label information of the object, and solves the layout relationship between people and objects in spatial positions, the interaction relationship between people and objects, and outputs the interaction relationship information between people and objects and the spatial relationship information between people and objects; the nodes of the scene graph represent the object frames, and the edges of the graph represent the relationships between objects, including three types of relationships, namely spatial relationships, interaction relationships and attention relationships; the spatial relationship describes the layout relationship between objects in spatial positions; the interaction relationship describes the interaction relationship between people and objects; the attention relationship describes the attention relationship of people to objects; The scene graph generation model is used to analyze the border information and label information of the object, and output the interaction relationship information between the person and the object and the spatial relationship information between the person and the object.

4. The user intention prediction device using the time-space interaction relationship between humans, machines and objects according to claim 3 is characterized in that: The image detection module also includes: An image acquisition and input module, used to acquire image data generated based on the real-time video stream data to be predicted, and input the image data into a preset target detection model; The object detection model is used to process image data generated based on the real-time video stream data to be predicted, and output the frame information and label information of the object in the image data.