Detecting and predicting object events from images
By constructing a multi-layered knowledge graph and associating objects and event nodes, the object contextualization of the image recognition system is realized, which solves the problem of insufficient object relationships and event prediction capabilities in the existing technology, and improves the prediction capabilities and performance of the image recognition system. Security of autonomous systems.
Patent Information
- Application Number
- CN202010657146.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-10
- Filing Date
- 2020-07-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-07-09
AI Technical Summary
Existing image recognition technology is difficult to achieve context understanding and event prediction of objects in real environments, and cannot effectively identify the relationship between objects in the image and what may happen in the future.
By building a multi-level knowledge graph, associating objects and event nodes, and using the knowledge graph to contextualize objects, we can predict events that may occur in the future or past of objects in the image.
Significantly enhances the ability of image recognition systems to not only identify objects but also predict possible future or past events for objects in images, improving the caution and safety of autonomous systems such as robots and self-driving vehicles.
Smart Images

Figure CN112214606B_ABST
Abstract
Description
Background Art
[0001] Today's efforts to digitize industries reveal more and more autonomous systems. Each of them may be equipped with multiple sensors, and some of them may only have a still image camera. Well-known recognition techniques can be used to identify one or more objects of a captured image. However, in order to achieve orientation in a real environment, it is necessary to enable autonomous systems (such as production robots, service robots in the healthcare industry, or workshop vehicles) to not only identify and recognize objects in images, but also to capture the context between the objects identified in the image, and have a basic explanation of what is happening between the objects (i.e., the associated properties of the identified objects), and "guess" what has happened or what will happen. Such technology may go far beyond traditional image detection or image classification using neural networks or other machine learning techniques. Summary of the invention
[0002] According to an embodiment of the present disclosure, a method for events is provided. The method includes receiving input data. The method also includes identifying an object in the input data using an identified object associated with a first node in a knowledge graph. The method also includes determining a second node of a first object event, wherein the second node is related to the first node in the knowledge graph. The method also includes contextualizing the identified input object using the first object event. A system and a computer program product for performing the method are also provided.
[0003] The above summary is not intended to describe each illustrated embodiment or every implementation of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0004] The accompanying drawings included in this application are incorporated into the specification and form a part of the specification. They illustrate embodiments of the present disclosure and are used to explain the principles of the present disclosure together with the specification. The accompanying drawings are only illustrations of certain embodiments and do not limit the present disclosure.
[0005] Figure 1 A block diagram of an embodiment of a method for event prediction based on objects in received data is shown.
[0006] Figure 2 An example image showing two players and a ball.
[0007] Figure 3 An example image of a child most likely playing with a ball is shown.
[0008] Figure 4 A block diagram illustrating an embodiment of a small portion of a knowledge graph.
[0009] Figure 5A block diagram of an embodiment of a prediction system for making event predictions based on objects in received data is shown.
[0010] Figure 6 Shown including according to Figure 5 An embodiment of a computing system of a prediction system.
[0011] Although the present invention may have various modifications and alternative forms, the details thereof have been shown in the drawings by way of example and will be described in detail. However, it should be understood that it is not intended to limit the present invention to the specific embodiments described. On the contrary, it is intended to cover all modifications, equivalents and substitutes that fall within the spirit and scope of the present invention. DETAILED DESCRIPTION
[0012] In the context of this description, the following conventions, terms and / or expressions may be used:
[0013] The term "event prediction" may refer to the process of determining a certain activity that will occur in the future based on received input data, in particular based on a captured still image. In addition, event prediction here may also be related to determining with a certain probability what has happened before taking the captured still image.
[0014] The term "received data" may refer to input data in which an object can be identified in the sense of detection or classification. Received data may be used as a synonym for input data.
[0015] The term "knowledge graph" may refer to a technique, system and / or tool for storing structured, semi-structured and unstructured information used by one or more computer systems. Information and data may be stored as facts in nodes of a knowledge graph, which may be connected by so-called edges, i.e., links, that may have different weights. Weights may be adjusted over time depending on external influences. The knowledge graph may also grow over time by adding additional nodes with additional facts. The proposed concept may rely on a knowledge graph with multiple levels of abstraction. Each level may contribute to storing a class of nodes. For example, the most basic level may be reserved for nodes related to an object to be identified. The next higher level in the hierarchical structure may be related to more and more abstract objects about the base object. In addition, at least one level may be reserved for events related to objects and / or their related abstractions.
[0016] The term "node" may refer to a storage node for facts in a knowledge graph. Nodes may be linked by knowledge graph edges that carry predetermined or dynamically adapted weights.
[0017] The term "first object" may refer to one of the identified, determined or recognized objects. A different object (particularly a second object) may be determinable in the captured image or other input data.
[0018] The term "node of an object event" may refer to a conventional storage node of a fact in a knowledge graph, where an event may be an event related to an object at any level of abstraction. In addition, an object event may also be related to another event via an edge from one node to another node. Moreover, events may be stored at different levels (i.e., different abstract forms).
[0019] The term "contextualizing" may refer to the activity of associating an identified or recognized object with another identified or recognized object in a captured image (or other type of input data). Additionally, the term may refer to the activity of associating an identified or recognized object in a captured image with an event by traversing a knowledge graph. In particular, the association between the object and the event may have a high probability for a specified time vicinity of the time when the image was captured. This time vicinity may relate to the past and / or future of the capture time. In other words, contextualizing may associate two objects with an event (i.e., activities concerning two identified objects).
[0020] The proposed method for event prediction based on objects in the received data can provide multiple advantages and technical effects:
[0021] Image recognition systems can be significantly enhanced because not only can it recognize specific patterns (such as objects) in input data (such as captured images), but image recognition systems can also have the ability to predict events, that is, to give a certain interpretation to the image in time. "In time" can mean near a specific time of the captured image. For humans, in most cases, this is an easy task. Easy is based on deep experience in real life situations.
[0022] In order to transfer such a capability to a machine environment, it may be necessary to link certain recognized objects in the image to a specially constructed knowledge graph that includes different levels of abstraction from the base object, and it may be necessary to link certain possible events and other attributes to the base object and the abstraction. In this way, by associating certain recognized objects in a temporal order, it may be possible to perform a higher-level interpretation of the captured scene.
[0023] Different probabilistic methods can be used to filter out the most likely events before and / or after the picture was taken. Depending on the type of event that is about to occur, the duration around that time may also need to be adjusted.
[0024] However, such sophisticated approaches could enable autonomous machines, such as robots and self-driving cars or plant transport vehicles in warehouses or manufacturing facilities, to move more carefully and potentially anticipate accidents so they can be avoided.
[0025] It is also possible to enable robotic arms and hands to anticipate events that may occur in the near future and prepare themselves (particularly its actuators, for example by pre-positioning) for the expected situation. This event prediction may contribute to better human / machine interaction.
[0026] Additional embodiments applicable to the method and related systems and computer program products are described below:
[0027] According to some embodiments of the method, contextualization may include sorting object events by multiple relationships between identified objects and object events. This may be direct or indirect links or edges. And they may potentially weight factors so that the context to be determined may be affected by the setting parameters of the knowledge graph used.
[0028] According to some embodiments, the method may further include triggering an action signal for an actuator based on contextualization. For example, an action signal for an actuator may be triggered based on the highest ranked object event. Thus, the actuator may control a gripper (i.e., a robot hand) and enable it to, for example, grab a falling object or a route taken by an escaping person. This may also be summarized as another useful embodiment of the method, where the actuator may affect the movement of a part of the robot or the entire robot unit. However, this may be applied to any machine with a part that can be actively moved. The robot unit may include elements configured to perform all or some aspects of the disclosed method. For example, the robot unit may include Figure 5 System 500 and / or Figure 6 The components of the system 600 are used to perform Figure 1 Method 100. In some embodiments, Figure 1 The method 100 may be performed by a separate computing system, and the separate computing system may transmit signals affecting movement of the robot to the robotic unit via one or more networks.
[0029] According to some embodiments of the method, the temporal proximity values (particularly, the time length) of the temporal proximity may be dependent on (i.e., depend on) the relevant object event. For example, it is conceivable that the temporal proximity values that should be predicted for a falling ball or a thrown ball may be different from the movement prediction for a snail or other slow-moving element. A similar difference may arise between a 100m runner just before crossing the finish line and a pair of dancers performing a slow waltz.
[0030] According to some embodiments of the method, the input data may be selected from a group comprising image data, sound data and temperature data. This may represent a small set of exemplary possible input data sources. However, they may represent examples of high technical value. During the contextualization step of the method, due to the relationships that can be derived from the knowledge graph of images with short time intervals between them, it is also possible to associate a series of images (e.g., a series of images from a video camera instead of a still image camera) with a specific context. This can be expressed according to another embodiment of the method, wherein the input data can be a series of data (i.e., a series of images), and wherein the contextualization of at least one of the input objects can be based on the association of objects in different elements of the series of input data. That is, different images are associated, for example, in a time series manner.
[0031] According to some embodiments of the method, object recognition may be performed by pattern detection or classification (i.e., image detection or image classification). Machine learning techniques may be particularly suitable for "contextual understanding" of input data in the form of image object segmenters and / or deep neural networks or other forms of classifiers. It may be noted again that the concepts presented herein are best applicable to the case of images; however, the presented techniques may also be applicable to other types of input data.
[0032] According to some embodiments of the method, the levels can be distinguished by their corresponding concept abstraction values. Therefore, special settings of the knowledge graph can be used to distinguish different context levels. Different hierarchical levels, weight factors, and established links between levels (or levels) and between nodes within a level can allow fine-grained tuning of the behavior of the method and / or related prediction system.
[0033] According to some embodiments, the method may also include loading the knowledge graph with content from an electronic game, the content including definitions of relationships between objects and / or object events. This may reuse work already done by other developer organizations. As computer games become more advanced and closer to reality, these games also need knowledge graphs that can be enabled to obtain contextual information about avatars and items used and manipulated as part of the game. Therefore, using such a knowledge graph as a starting point for the concepts presented here can reduce the initial setup work.
[0034] In the following, a detailed description of the accompanying drawings will be given. All descriptions in the figures are schematic. First, a block diagram of an embodiment of a method for predicting an event based on an object in received data is given. Afterwards, further embodiments and embodiments of a system for predicting an event based on an object in received data will be described.
[0035] Figure 1 A block diagram of an embodiment of a computer-implemented method 100 for event prediction based on objects in received data is shown. The input data related to the objects to be associated can have different sources, such as images, sound files or data from other IoT (Internet of Things) sensors. However, for ease of understanding, the images will be used as a guiding concept for the following description of the figures.
[0036] The method includes associating 102 a node of a first object with a node of a second object and a node of an object event in a knowledge graph. Thus, the knowledge graph is constructed into multiple hierarchical levels. At least two levels can be used: one level for physical objects, and another level for events that may have an association relationship with the event (i.e., an edge to the object in the terminology of the knowledge graph). At least one such level includes a node for an object, and at least one such level includes a node for an object event.
[0037] The method 100 further includes receiving 104 input data (e.g., a captured image) including detailed data about the input object, and identifying 106 at least one input object in the input data, for example by image detection, segmentation, or classification, the relevant node of the at least one input object being included in the knowledge graph and being able to establish a relationship with the classified object in the image. Typically, two objects may be detected / identified or classified in the image, and the relationship of the two objects may be predicted in the form of an event.
[0038] The method 100 further comprises determining 108 nodes of object events directly or indirectly (i.e., one or more links or edges) associated with the identified input object or objects, and contextualizing 110 the identified input object (particularly, spatially and temporally) using at least one object event of the plurality of object events. Thus, events in the temporal vicinity of the capture time of the input data (i.e., the image) are predicted.
[0039] Current image recognition techniques can identify multiple objects in an image. It is also known that general properties can be associated with identified objects using input in the form of knowledge graphs, for example.
[0040] However, the proposed concept introduces a second level of semantics, which goes beyond the simple task of object recognition. The proposed concept aims to identify one or more events that most likely occurred shortly after the data (i.e., image) was captured, or alternatively have occurred before. However, in order to anticipate future developments (especially for autonomous vehicles), the future aspect may be more important.
[0041] To this end, the proposed method and system can use a well-defined knowledge graph that includes information about objects, their possible degrees of freedom, and possible interactions (e.g., events) between objects. These different types of information can be stored as knowledge graph nodes at different logical levels of the knowledge graph. For example, nodes representing objects may be at the lowest level, degrees of freedom and freedom types (particularly in terms of spatial movement in a scene) may represent the next level, and potentially related events may be represented by nodes in even higher levels of the knowledge graph. Objects, degrees of freedom, and events can be linked across levels and within levels by edges of the knowledge graph.
[0042] The proposed method and system can access and use this additional level(s) of the knowledge graph to associate attributes with objects and make predictions about what will happen soon after an image has been captured. This can be explained in the next two figures.
[0043] Figure 2 An example image 200 is shown of two players 202, 204 and a ball 206. It may be noted that this representation is already an abstract representation of a real life scene which may have much more detail. However, there are recognition techniques for extracting the two players 202, 204 and the ball 206 from the remaining details in the image (not shown).
[0044] The recognition technology may determine that the left player 202 has an open hand, and that the ball 206 is closer to the left player's hand than the right player's hand (which is more closed). This may lead to alternative options: (a) the left player 202 tossed the ball 206 so that it may follow a parabolic path (particularly, in the direction of the second player 202); or (b) the left player 202 will soon catch the ball 206. Thus, a prediction may be made (particularly, with probability values for either option) about a future or past situation near the time of the captured image.
[0045] It may be noted that the interpretation that the persons 202, 204 are represented as players may be derived from the properties that the two players are facing each other, they are in a guard position and the ball is located between the two persons 202, 204 (most likely flying between the two persons 202, 204).
[0046] Figure 3An example image 300 of a child 302 who is most likely playing with a ball 308 is shown. The image recognition system can determine that person 302 is a child due to the relationship between the diameter of the identified head compared to the height of the body from foot 306 standing on the ground 314 to the head. The image recognition can also determine that left foot 304 is lifted from the ground 314 and pointing towards ball 308. The recognition system can also identify bushes 310 and wall or goal 312. For simplicity, it can be assumed that wall 312 can have a higher probability. Other details of the captured image are not shown.
[0047] Figure 4 A block diagram of an embodiment of a small portion of a knowledge graph 400 is shown. This will be used to explain the Figure 2 captured situation. Regarding one level of the knowledge graph, the object (one or more) hands 406 (in particular, the hands of the person 202 on the left) and the ball 408 are represented by corresponding nodes of the knowledge graph 400. Additional attributes "open" 412 (meaning "(one or more) open hands") or "holding" 410 (meaning "hand holding something") can also be linked to the object hand 406 in the knowledge graph 400 as events. These properties can be stored at a higher level of the knowledge graph compared to simple objects that can also have a relationship with another object. This is shown by the line (i.e., an "edge" in knowledge graph terminology) between the ellipse 406 for "hand" and the ellipse 408 for "ball".
[0048] In the captured image, a person 202 is identified, as well as a ball 206 relatively close to an open hand. Meta-information in a knowledge graph implemented as higher-level structure nodes is accessed through node traversal.
[0049] After the graph traversal, the nodes of the higher level are read and the node “Ball Falling” is extracted as a result and consequence, which is represented by reference numeral 404 “Ball Will Fall” (not directly shown).
[0050] Additionally, other contextual information can be added in the process depending on the focus of the image classifier and the use case. In the example, the additional information could be the nature of the ground, such as concrete or hard, which therefore indicates where the ball is likely to bounce. Again, this information can be integrated into higher hierarchy levels.
[0051] The proposed example algorithm can be extended with further information about spatial depth or shadows. Furthermore, some concepts may only be relevant when objects (like two players) are close to each other.
[0052] A similar explanation can be applied to Figure 3The ball 308, child 302, and foot 304 can be interpreted as basic objects. The same applies to the ground 314, bushes 310, and wall 312. However, in the higher-level structure nodes of the knowledge graph, properties of the ball's flight curve and events that the ball can bounce off a wall can be stored. Other events may be "foot kicks the ball", "ball flies", "ball hits the wall", "ball falls", "ball falls to the ground", etc.
[0053] Based on the probability determination (based on the multiple edges between the corresponding nodes and the knowledge graph and their potential weights), the highest probability value can be determined for the future event "the ball is flying". Similar probabilities can be determined for the past event "the ball has been kicked". Lower probability values for future events "the ball is hitting the wall" or "the ball is hitting the bushes" can be determined. Those skilled in the art will understand that the underlying knowledge graph is critical to the contextualization of the scene captured in the image. Different content in the knowledge graph may lead to different event predictions.
[0054] The concepts of the present invention can be generalized and extended to abstract object activities based on knowledge graphs with similarities given by object detection. In addition, different hierarchies (not only hierarchies like "the ball will fall" or "the ball will stay" as in the previous examples) will be added to the knowledge graph to allow generalization. For example, if the term "orange" is in the object recognition hierarchy, "fruit on the tree" and "orange sphere" are in another generalization hierarchy, then "solid object" is at the most general level. Nodes in the most specific or basic hierarchy do not have to be connected through every hierarchy level, but can skip one or more hierarchy levels.
[0055] The main steps of the example embodiment can be summarized as follows: (i) object detection outputs the best match for a given image for a portion of the image; (ii) the associated system uses a weighted knowledge graph and proceeds across different hierarchical levels from specific to general for different matches; (iii) the associated system reads from the general level the possible events that could have occurred in the real world of the image captured between the objects; (iv) the system merges possible results based on different possible object matches, and if multiple events may have occurred, the events can be presented in a ranked list of events based on the sum of the initial confidence and the associated weights stored in the knowledge graph.
[0056] Another example of the proposed system for the case of oranges falling from a tree is as follows:
[0057] First, the orange is detected / identified by itself and by the sky in the background, and the second possible match is the ball. In the same image, an orange tree and a few leaves are also detected. Second, the system traverses the knowledge graph and finds a connection to "fruit on the tree" and to "orange sphere" in the next knowledge graph level for the orange. The following hierarchy level connects "orange sphere" to "sphere" and to "fruit on the tree with leaves". Similarly, the traversal is applied to other possible objects.
[0058] Third, the system uses the highest hierarchical level that connects "sphere" and "sky in the background" to the event "falling" to conclude / determine that the object "orange" is falling. Similarly, this process is performed for other possible matches. Finally, the system compares the probabilistic results of all different matches, and in this case, an automatic merge occurs: both "orange" and "ball" connect higher-level hierarchies of the knowledge graph to the same annotation "sphere", which leads to the same event detection (if this does not happen, the graph weights of the edges are merged on the events and compared; the highest merge weight is the most likely detected event).
[0059] In another embodiment, custom trained events can be used to identify specific object events, such as a foul between two players. In this case, the knowledge graph of the above (and below) system can be customized into custom nodes and edges, for example, in the case of football nodes and edges describing a foul. The annotation "foul" will be connected with "contact" or "proximity between two players". Therefore, when there is an edge with an attribute time series, the file can be identified after the two players have been close enough (and other potential criteria are met, such as when the players are approaching each other at high speed).
[0060] Nodes connected with edges having a temporal sequence is an important extension of the proposed concept, as it allows validating not only one frame / context, but multiple frames / contexts and extracting different insights. In this example, it can be determined whether a foul occurred (but the ball was played). This extension is particularly attractive for processing video sequences in a computationally inexpensive way, where not all frames have to be processed together, but only those that have certain initial criteria (e.g., proximity between players) are identified.
[0061] Another aspect of the proposed concept concerns the construction and loading and / or population of the knowledge graph. In order for the method to use the knowledge graph for the proposed algorithm, an initial dataset has to be loaded. Some sources of data for the knowledge graph to be constructed may be mentioned:
[0062] It is possible to consider using natural language processing to scan publicly available information about entities (e.g., "ball"), associated events, and corresponding attributes. Publicly available information may be, but is not limited to, websites, e-books, academic journals, and other research.
[0063] For quite some time, electronic games for computers or consulting have developed complex engines to simulate real-world experiences. In particular, open text games represent electronic replicas of reality. This digital information, which carries relevant information for object identification and prediction of object actions (i.e. events), can be used to enhance knowledge graphs.
[0064] Regarding the previous point, there are both open source and closed source code physics engines. Physics engines are used in games as well as in videos or other simulations to reflect object events and behaviors. There are two types of physics engines: first, real-time variables for high-speed calculations, and second, high-level variables for very accurate calculations. For some embodiments of the present disclosure, it may be sufficient to use real-time variables to obtain approximate information. For example, an open dynamics engine is able to simulate the reactions of different types of objects. Therefore, it may contain information about a round ball falling on the ground. Therefore, for some embodiments of the present disclosure, the basic content required for the knowledge graph may not need to be developed completely independently, but only for the specific use case of the proposed concept.
[0065] Figure 5 A block diagram of an exemplary prediction system 500 for predicting events based on objects in received data is shown. The prediction system 500 includes a knowledge graph unit 502 adapted to associate nodes related to a first object with nodes for a second object and nodes related to events of the object, wherein the knowledge graph unit is structured into a plurality of hierarchical levels, wherein at least one such level includes nodes for the object, and at least one such level includes nodes for events of the object.
[0066] The prediction system 500 also includes a receiving unit 504, which is suitable for receiving input data including detailed data about the input object; an identification module 506, which identifies at least one input object in the input data, and the relevant node of the at least one input object is included in the knowledge graph; a determination module 508, which is suitable for determining the node of the object event related to the identified input object, and a context unit 510, which is suitable for using one of a plurality of object events to contextualize the identified input object, thereby predicting an event near the time of capture of the input data.
[0067] Embodiments of the present invention may be implemented with virtually any type of computer, regardless of the platform suitable for storing and / or executing program code. As an example, Figure 6 A computing system 600 suitable for executing program code related to the proposed method is shown.
[0068] The computing system 600 is only one example of a suitable computer system, and regardless of whether the computer system 600 can be implemented and / or perform any of the above functions, the computing system 600 is not intended to represent any limitation on the scope of use or functionality of the embodiments of the present invention described herein. In the computer system 600, there are components that can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations that may be suitable for use with the computer system / server 600 include, but are not limited to, personal computer systems, server computer systems, thin clients, fat clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, small computer systems, large computer systems, and distributed cloud computing environments including any of the above systems or devices, etc. The computer system / server 600 can be described in the general context of computer system executable instructions (such as program modules) executed by the computer system 600. Generally, a program module can include routines, programs, objects, components, logic, data structures, etc. that perform specific tasks or implement specific abstract data types. Computer system / server 600 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in local and remote computer system storage media, including in memory storage devices.
[0069] like Figure 1 As shown, computer system / server 600 is in the form of a general-purpose computing device. Components of computer system / server 600 may include, but are not limited to: one or more processors or processing units 602, system memory 604, and bus 606 that connects different system components (including system memory 604 and processing unit 16).
[0070] Bus 606 represents one or more of any several types of bus structures, including memory bus or memory controller, peripheral bus, accelerated graphics port and processor or local bus using any of various bus architectures. As an example and not limitation, such architecture includes industry standard architecture (ISA) bus, micro channel architecture (MCA) bus, enhanced ISA (EISA) bus, video electronics standard association (VESA) local bus and peripheral component interconnect (PCI) bus. Computer system / server 600 generally includes various computer system readable media. Such medium can be any available medium accessible to computer system / server 600, and it includes both volatile and non-volatile media, removable and non-removable media.
[0071] System memory 604 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 608 and / or cache memory 610. Computer system / server 600 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 612 may be used to read and write to non-removable, non-volatile magnetic media (not shown, typically referred to as a "hard drive"). Although Figure 1 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 606 via one or more data medium interfaces. The memory 604 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0072] A program / utility having a set (at least one) of program modules 616 may be stored, for example, in the memory 604, such program modules 616 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 616 generally perform the functions and / or methods of the embodiments described herein.
[0073] The computer system / server 600 may also communicate with one or more external devices 618 (e.g., keyboards, pointing devices, displays 620, etc.), may communicate with one or more devices that enable a user to interact with the computer system / server 600, and / or may communicate with any device that enables the computer system / server 600 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via input / output (I / O) interfaces 614. Furthermore, the computer system / server 600 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapters 622. As shown, the network adapters 622 communicate with other modules of the computer system / server 600 via bus 606. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer system / server 600, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0074] Furthermore, a prediction system 500 for making event predictions based on objects in received data may be attached to the bus system 606 .
[0075] Descriptions of various embodiments of the present invention have been given for purposes of illustration, but these descriptions are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, practical applications or technical improvements to existing technologies on the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
[0076] The present invention may be embodied as a system, method and / or computer program product. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon for causing a processor to perform aspects of the present invention.
[0077] The medium can be an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system for propagating the medium. Examples of computer readable media can include semiconductor or solid-state memory, magnetic tape, removable computer disk, random access memory (RAM), read-only memory (ROM), hard disk and optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read / write (CD-R / W), DVD and Blu-ray disk.
[0078] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0079] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0080] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and traditional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0081] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0082] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0083] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or another device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or another device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0084] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two continuous boxes can actually be completed, completed simultaneously, and executed substantially in parallel in a step in a way that part or all of the time overlaps, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0085] The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used herein, the singular forms "a", "an" and "the" are also intended to include plural forms unless the context clearly indicates otherwise. It will also be understood that the terms "comprise" and / or "comprising" when used in this specification specify the presence of the features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0086] All means or steps in the following claims plus corresponding structures, materials, actions and equivalents of functional elements are intended to include any structure, material or action for performing functions in combination with other claimed elements as specifically claimed. The description of the present invention has been given for the purpose of illustration and description, but the description is not intended to be exhaustive or to limit the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the present invention. The embodiments are selected and described in order to best explain the principles and practical applications of the present invention and to enable other persons of ordinary skill in the art to understand the present invention for various embodiments with various modifications as suitable for the specific use contemplated.
Claims
1. A computer-implemented method comprising: In a knowledge graph, associating a node of a first object with a node of a second object and a node of an object event, wherein the knowledge graph is structured into a plurality of hierarchical levels, wherein at least one such level includes nodes of the object and at least one such level includes nodes of the object event; receiving input data, the input data comprising an input image; Identify a first object and a second object in the input image, wherein the identified first object is associated with a first node in the knowledge graph, and the identified second object is associated with a second node in the knowledge graph; sorting a set of object events using the knowledge graph based on probability, the probability being based on the number of edges in the knowledge graph between each node corresponding to the object event and the first node and the second node; and A first object event occurring near in time is predicted based on the ranking.
2. The method of claim 1, wherein the ranking is further based on an edge weight associated with each link. 3 . The method of claim 1 , further comprising triggering an action signal for an actuator in response to predicting that the first object event occurs around the time.
4. The method of claim 3, wherein the actuator affects the movement of a portion of the robot. The method of claim 1 , wherein the identifying is performed by pattern detection or classification. The method of claim 1 , wherein the levels are distinguished by their corresponding concept abstraction values.
7. A system comprising: Memory; as well as A processor in communication with the memory, the system being configured to execute the method according to any one of claims 1-6.
8. A computer program product, comprising a computer-readable storage medium having program instructions embodied therewith, wherein the program instructions can be executed by one or more computing systems to cause the one or more computing systems to perform the method according to any one of claims 1 to 6.
9. A computer system comprising a model for performing the steps of the method according to any one of claims 1 to 6.
