Method for determining descriptor image for image of object

By training multiple machine learning model instances to generate descriptor images for different object categories, and evaluating the distance to select the smallest category, it solves the problems of heavy training workload and inconsistent descriptors when object categories are expanded in the existing technology, and achieves high efficiency and consistency. Descriptor image generation.

CN118735848APending Publication Date: 2024-10-01ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410374414.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When the existing technology expands object categories, the machine learning model needs to be retrained from scratch, resulting in heavy training workload and inconsistent descriptor determination, making it impossible to efficiently and consistently generate descriptor images.

Method used

By training multiple machine learning model instances, each instance generates descriptor images for different object categories, evaluates the distance between the reference descriptor and the generated descriptor, and selects the category with the smallest distance as the descriptor image to avoid retraining existing categories. , reduce training workload and maintain descriptor consistency.

Benefits of technology

Expansion to multiple object categories is achieved without completely retraining the model, reducing training workload and ensuring consistency and accuracy of descriptor images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735848A_ABST
    Figure CN118735848A_ABST
Patent Text Reader

Abstract

A method for determining a descriptor image for an image of an object is described, having: for each object category, training a respective machine learning model to map an image of an object of the object category to the descriptor image, and storing a reference descriptor output by the machine learning model for the object of the object category; receiving an image of the object; generating a corresponding descriptor image of the object by mapping the received image to a descriptor image by means of a machine learning model trained for the object category; for each object category, evaluating the distance between the reference descriptor stored for the object category and the descriptor of the descriptor image generated for the object category; and assigning a descriptor image to the object as a descriptor image of the object, the descriptor image being generated for the object category in which the distance between the reference descriptor stored for the object category and the descriptor of the descriptor image generated for the object category is evaluated to be minimum.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for determining a descriptor image for an image of an object, in particular for controlling a robotic device. Background Art

[0002] In order to enable flexible production or processing of objects by robots, it is desirable that the robot can operate the object regardless of the posture in which the object is placed in the robot's workspace. Thus, the robot is intended to be able to recognize which parts of the object are located at which positions, so that the robot can, for example, grasp the object at the correct position, so as to, for example, fix the object on other objects, or weld the object at the current position. This means that the robot is intended to be able to recognize the posture (position and orientation) of the object or determine the position of the part for picking up or processing, for example, from one or more images taken by a camera fixed to the robot. The method for achieving this purpose is to determine a descriptor, that is, a point (vector) in a predefined descriptor space for the part of the object (that is, the pixel of the object represented in the image plane), wherein the robot is trained to assign the same descriptor to the same part of the object regardless of the current posture of the object and thus recognize the topology of the object in the image, so that, for example, it is then known which corner of the object is at what position in the image. Then, if the posture of the camera is known, the posture of the object can be inferred. The recognition of the topology can be achieved using a correspondingly trained machine learning model (ML model).

[0003] If the machine learning model is trained accordingly for a specific (first) category of objects, the machine learning model provides consistent descriptors for objects of this category. However, if descriptors are then later also needed for objects that do not belong to this category, for example because the robot has to handle a new model, the machine learning model must be trained for this other (second) category or also for both categories of objects together, so that the machine learning model can then provide descriptors for both categories of objects. However, the original training for the first category of objects is then lost, which makes this type of extension of the object categories for which descriptor images can be generated inefficient and may also lead to inconsistencies in the determination of descriptors. In particular when the object categories for which descriptor images can be generated should be extended, it is correspondingly desirable to have a method that allows descriptor images to be generated more efficiently and consistently for images of objects. Summary of the invention

[0004] According to various embodiments, a method for determining a descriptor image for an image of an object is provided, the method comprising: for each object category in a plurality of object categories, training a corresponding machine learning model to map images of objects of the object category to descriptor images (e.g., respectively according to pixel values ​​of the corresponding images of the corresponding objects), and storing reference descriptors output by the machine learning model for one or more objects of the object category; receiving an image of the object; for each object category, generating a corresponding descriptor image for the object by mapping the received image to the descriptor image with the aid of the machine learning model trained for the object category; for each object category, evaluating a distance between a reference descriptor stored for the object category and a descriptor of a descriptor image generated for the object category; and assigning the following descriptor image as the descriptor image of the object to the object, the descriptor image being generated for the object category for which the distance between the reference descriptor stored for the object category and the descriptor of the descriptor image generated for the object category is evaluated to be the smallest.

[0005] The above method enables: training a machine learning model (i.e., multiple corresponding instances of the machine learning model), such as a dense visual descriptor network, for different sets of objects (i.e., object categories) in sequence. This enables the expansion of the operable objects to the added object categories without having to completely retrain (for all object categories), i.e., without losing the training results for one or more previous object categories. This reduces the training workload and avoids inconsistencies in descriptor determination.

[0006] Various embodiments are described below.

[0007] Embodiment 1 is a method for controlling a robot as described above.

[0008] Embodiment 2 is a method according to embodiment 1, wherein the distances of the reference descriptors from the descriptor image are evaluated by assigning each of the reference descriptors to a descriptor of the descriptor image and averaging the distances of the reference descriptors from their assigned descriptors (i.e. calculating a (possibly weighted) average).

[0009] Reference descriptors are assigned, for example, to their closest descriptors (in the descriptor space), wherein in the case of this assignment, however, additional information such as the orientation of the reference (key) points (i.e. the points mapped onto these reference descriptors) relative to one another may also be taken into account. This enables a robust assignment of objects to object classes.

[0010] Embodiment 3 is a method according to embodiment 1 or 2, wherein at least some of the machine learning models are consistent in terms of sub-models.

[0011] For example, these machine learning models can use the same backbone network, thereby reducing the training workload of one of these machine learning models for a newly added object category.

[0012] Embodiment 4 is a method according to embodiment 3, wherein the method comprises: training the sub-model with the aid of training data containing objects from all object categories.

[0013] This ensures that, for each object category trained with a machine learning model using the sub-model, the machine learning model can be trained so that the machine learning model has good performance for the corresponding object category.

[0014] Embodiment 5 is a method according to any one of embodiments 1 to 4, wherein, for each object category, a corresponding machine learning model is trained with the aid of a training data set, the training data set comprising images of objects of the object category, wherein the objects of the object category are over-represented in the training data set.

[0015] Thus, each machine learning model is specialized for its object class such that the machine learning model accurately and consistently determines descriptors for objects of its object class.

[0016] Embodiment 6 is a method according to any one of embodiments 1 to 5, wherein at least a portion of these machine learning models are neural networks.

[0017] In other words, dense object networks are trained for at least some of these object categories. Using these dense object networks, good results can be achieved to generate descriptor images.

[0018] Embodiment 7 is a method for controlling a robot to pick up or handle an object, the method comprising: determining a descriptor image of the object according to the method described in any one of Embodiments 1 to 6; determining a position or posture of a part used to pick up or handle the object in a current control scene according to the determined descriptor image; and controlling the robot to pick up or handle the object according to the determined position of the part or according to the determined posture.

[0019] Embodiment 8 is a control device configured to execute the method according to any one of embodiments 1 to 7.

[0020] Embodiment 9 is a computer program having instructions, which, when executed by a processor, cause the processor to execute the method according to any one of embodiments 1 to 7.

[0021] Embodiment 10 is a computer-readable medium storing instructions, which, when executed by a processor, cause the processor to perform the method according to any one of embodiments 1 to 7. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In the accompanying drawings, like reference numerals generally refer to the same parts in all the different views. These drawings are not necessarily to scale, with emphasis instead generally being placed on presenting the principles of the invention. In the description below, various aspects are described with reference to the following drawings.

[0023] Figure 1 A robot is shown.

[0024] Figure 2 Determining a descriptor image for an image of an object according to one embodiment is explained.

[0025] Figure 3 A flow chart is shown which presents a method for determining a descriptor image for an image of an object according to an embodiment. DETAILED DESCRIPTION

[0026] The detailed description below refers to the accompanying drawings, which show, for the purpose of illustration, the specific details and aspects of the present disclosure in which the present invention may be implemented. Other aspects may be used and structural changes, logical changes, and electrical changes may be performed without departing from the scope of protection of the present invention. Different aspects of the present disclosure are not necessarily mutually exclusive, as some aspects of the present disclosure may be combined with one or more other aspects of the present disclosure to form new aspects.

[0027] Various examples are described in more detail below.

[0028] Figure 1 A robot 100 is shown.

[0029] The robot 100 comprises a robot arm 101, for example an industrial robot arm for manipulating or installing a workpiece (or one or more other objects). The robot arm 101 comprises manipulators 102, 103, 104 and a base (or support) 105, by means of which the manipulators 102, 103, 104 are supported. The term "manipulator" relates to a movable component of the robot arm 101, the manipulation of which enables physical interaction with the environment, for example to perform a task. For control, the robot 100 comprises a (robot) control device 106, which is designed to achieve interaction with the environment according to a control program. The last component 104 of the manipulators 102, 103, 104 (the component farthest from the support 105) is also called the end effector 104 and may comprise one or more tools, such as a welding torch, a gripper, a painting tool, etc.

[0030] The other manipulators 102, 103, which are closer to the support 105, may form a positioning device so that a robot arm 101 is provided with an end effector 104 at its end. The robot arm 101 is a mechanical arm that can provide similar functions to a human arm (possibly with a tool at its end).

[0031] The robot arm 101 may include link elements 107, 108, 109, which connect the manipulators 102, 103, 104 to each other and to the support 105. The link elements 107, 108, 109 may have one or more links, which may respectively provide a rotatable movement (that is, a rotational movement) and / or a translational movement (that is, a displacement) of the associated manipulators relative to each other. The movement of the manipulators 102, 103, 104 may be initiated by means of actuators, which are controlled by the control device 106.

[0032] The term "actuator" can be understood as a component that is designed to cause a mechanism or process in response to its actuation. The actuator can implement the command (so-called activation) generated by the control device 106 into a mechanical movement. The actuator, such as an electromechanical converter, can be designed to convert electrical energy into mechanical energy in response to its actuation.

[0033] The term "control device" can be understood as any type of logical implementation entity, which can include, for example, a circuit and / or a processor, which can execute software, firmware, or a combination thereof stored in a storage medium, and which can, for example, issue instructions to an actuator in the current example. The control device can be configured, for example, by program code (e.g., software) to control the operation of the system, i.e., the robot in the current example.

[0034] In the current example, the control device 106 includes a memory 111 storing code and data and one or more processors 110 based on which the processors 110 control the robotic arm 101. According to various embodiments, the control device 106 controls the robotic arm 101 based on a machine learning model 112 stored in the memory 111.

[0035] The control device 106 uses the machine learning model 112 to determine, for example, the pose of an object 113 placed in the workspace of the robot arm 101. Based on the determined pose, the control device 106 can, for example, decide which part of the object 113 should be grasped (or otherwise processed) by the end effector 109.

[0036] The control device 106 determines the pose using one or more camera images of the object 113 using the machine learning model 112. The robot 100 can be equipped, for example, with one or more cameras 114, which enable the robot to capture images of its workspace. The camera 114 is, for example, fixed to the robot arm 101, so that the robot can capture images of the object 113 from different angles by moving the robot arm 101 around. However, one or more fixed cameras can also be provided.

[0037] According to various embodiments, the machine learning model 112 is a (deep) neural network (NN) which generates a feature map for a camera image, e.g. in the form of an image in a feature space, which feature map is able to assign points in the (2D) camera image to points of a (3D object).

[0038] For example, the machine learning model 112 can be trained to assign specific (unique) feature values ​​(also called descriptor values ​​or descriptor vectors) in the feature space to specific corners (or generally key points) of the object. If a camera image is then fed to the machine learning model 112 and the machine learning model 112 assigns the feature values ​​to points of the camera image, it can be concluded that the corner is at that location (i.e., at a location in space whose projection on the camera plane corresponds to the point in the camera image). In this way, if the positions of multiple points of the object in the camera image are known, the pose of the object in space can be determined. Therefore, locating (or tracking across multiple images) key points (such as corners) defined based on the descriptor image, for example, enables the pose of an object within the working area of ​​the robot arm 101 to be determined. For example, applications such as identifying non-grasp areas or identifying grasping preferences for robotic manipulation can be based on the identification of such defined key points.

[0039] The machine learning model 112 must be properly trained for the task.

[0040] An example of a machine learning model 112 for object recognition is a machine learning model that maps an image of an object to a descriptor image, ie, densely maps to visual descriptors.

[0041] Therefore, such machine learning models (such as Dense Object Net (DON)) aim to learn dense (pixel-by-pixel) descriptor representations of objects, i.e. dense visual representations of the objects, for use in visual understanding (e.g. of a scene) and manipulation of the objects. An example of this is a deep neural network, which is trained in a self-supervised manner to convert an RGB input image into a descriptor image with a descriptor vector for each input pixel (i.e. a vector is determined for each pixel of the input image). The result is a consistent object representation that can be used for the visual understanding and the manipulation. Thereby, images of known objects (or even unknown objects) can be mapped to descriptor images, which contain descriptors that identify parts on these objects independently of the angle of the image. Thereby, a consistent representation of the object is obtained, which can be used as a basis for controlling, e.g. manipulating, the object.

[0042] For example, a method for training a machine learning model 112 to generate descriptor images for images of one or more objects (e.g., DON) can be used, in which a stationary (i.e., fixedly positioned, e.g., fixedly mounted) camera 114 is used to capture images, i.e., training images, which show the corresponding training scene from a single angle. Here, training data is generated for the machine learning model by enhancing the captured training images of the training scene. This occurs twice (or more) so that for each captured training image, the training data contains multiple enhanced versions of the captured training image. Next, based on the information about the enhancements used, it can be determined which pixels correspond (and therefore should be mapped to the same descriptor value by the machine learning model 112), thereby enabling self-supervised training. Such enhancements (which enable this and can therefore be used in various embodiments) are, for example, random rotations, perspective transformations, and affine transformations.

[0043] If a machine learning model (e.g. a neural network like DON) is trained in this way for a given set (or class) A of objects (i.e. the training data contains images of objects from this class), the machine learning model is able to provide consistent dense visual descriptors for this class of objects. However, if dense visual descriptors are then needed for another class of objects B, the machine learning model has to be trained from scratch based on the training data for objects B. In order to achieve good performance for objects from classes A and B, it is also possible to train the machine learning model on a combined training dataset with images of objects from both classes A and B. However, this means that the machine learning model has to be (re)trained from scratch and here the previously learned ability to generate dense descriptor images for objects from class A is lost (in a sense, this ability is relearned and whereby the descriptors of the newly trained machine learning model for object class A are also inconsistent with the descriptors provided by the originally trained machine learning model), i.e.:

[0044] i) The training data of category A must be retained for later expansion to category B;

[0045] ii) The representation learned for set A changes when retraining the neural network and is therefore unstable, which may, for example, lead to differences in the localization of key points of objects in category A and thereby to inconsistent behavior (e.g. of a robot).

[0046] iii) Once a previously unknown object (category B) needs to be processed, it is computationally inefficient to retrain the entire machine learning model using all previous training data (for category A).

[0047] The problem of sequentially learning various tasks (e.g., various object types in the present case) without retraining a machine learning model (e.g., a neural network) from scratch is called continuous learning or lifelong learning. If a machine learning model is trained for "task 1" (e.g., creating descriptor images for object category A) and then trained for another "task 2" (e.g., creating descriptor images for object category B), the performance of the machine learning model for task 1 will typically drop significantly. This phenomenon is also known as "catastrophic forgetting." In the field of continuous learning, many different directions are being explored. One class of methods, sometimes called "architecture-based methods," shows promising results for classification tasks in that these methods mitigate this catastrophic forgetting by separating different parts of the machine learning model for different tasks. However, the disadvantage of these methods is that the machine learning model usually has to know which task it should complete. This means that, together with the input data (in the present case, an image of an object), it must be indicated whether the machine learning model is to solve task 1 or task 2 (or even another task N) in order to know which part of the machine learning model is to be used for reasoning.

[0048] In the following, a method for generating a descriptor image is described, in which the above-mentioned disadvantages (i, ii and iii above, or necessary knowledge of the object class from which the task is performed, e.g., an object comes) are eliminated. This is achieved in that the method described below does not require that a retraining has to be performed for an already trained object class (as in the above example for object class A when object class B is added). As a result, in particular the descriptors generated for objects of object class A remain stable.

[0049] For this example of object category A and object category B added later, in various embodiments, an instance of a machine learning model (e.g., machine learning model 112), such as a neural network (e.g., DON), is first trained to generate descriptors for objects of object category A (i.e., consistently mapping images of objects of object category A to descriptor images as described above).

[0050] If object category B is now added, the second instance of the machine learning model is trained to generate descriptors for (only) objects of object category B (i.e., the second instance of the machine learning model is trained on images of objects of object category B, and not on images of objects of object category A). Here, the first instance of the machine learning model is retained, i.e., the resulting overall model, i.e., the "system" (of instances) of machine learning models, thus continues to be able to provide descriptors for object category A as before the addition of object category B (without inconsistencies caused by the addition of object category B).

[0051] Therefore, the result of these two training steps is an overall model that can generate dense visual descriptors for objects from both categories A and B (where the dense visual descriptor for category A is consistent with the dense visual descriptor generated before adding category B).

[0052] By training a respective model instance (e.g. a respective DON) for each object category added, the set of objects that can be operated by the (overall) model can be gradually expanded. The training of each instance can be performed in different ways, for example based on augmentation of images of objects of the respective object category, or also camera images of objects of the respective object category taken from different angles, or using different views of these objects generated with the help of 3D models of objects of the respective object category.

[0053] If an overall model has now been generated (for example with a first ML model instance trained for object category A and a second ML model instance trained for object category B) and an image of an object is now taken for which a descriptor image is to be generated, but for which it is not clear whether the object (for example) belongs to object category A or object category B and therefore which model instance is to be used for this purpose, then according to various embodiments the following approach is taken.

[0054] One or more images of objects of object category A (e.g. from a training dataset of object category A) are (in advance) selected (and, if necessary, stored) as (first) reference images, and a (first) set of descriptor values ​​for points on the objects shown in these reference images, i.e., (first) reference keypoints, are stored as (first) reference descriptors, which are provided by mappings of the first ML model instance to these (first) reference keypoints. For each object of object category A, there may be one or more reference keypoints.

[0055] Likewise, one or more images of objects of object category B (e.g., from a training dataset of object category B) are selected (and, if necessary, stored) as (second) reference images, and a (second) set of descriptor values ​​for (second) reference keypoints of the objects shown in these reference images are stored as (second) reference descriptors, which are provided by mappings of the second ML model instance to these (second) reference keypoints. For each object of object category B, there may be one or more reference keypoints.

[0056] The image of the object whose class affiliation is unknown is now fed to the two ML model instances and thereby mapped to the first or second descriptor image. It is now determined whether the first reference descriptor is closer to the descriptor of the first descriptor image or the second reference descriptor is closer to the descriptor of the second descriptor image, i.e. whether the distance between the first reference descriptor and the descriptor of the first descriptor image is smaller than the distance between the second reference descriptor and the descriptor of the second descriptor image.

[0057] In this case, "closer" is, for example, an average minimum distance: the distances of the first reference descriptors to the descriptors of the first descriptor image are determined by determining, for each first reference descriptor, the distance (the distance between two vectors in the descriptor space, corresponding, for example, to the Euclidean distance) to the descriptor of the first descriptor image that is closest to the first reference descriptor (i.e. the minimum distance of the reference descriptors), and averaging the (minimum) distances thus determined for these first reference descriptors (the average providing a score for the distance of the first reference descriptor to the first descriptor image). Similarly, the distances of the second reference descriptors to the descriptors of the second descriptor image are determined.

[0058] If the first reference descriptor is closer to the descriptor of the first descriptor image than the second reference descriptor is to the descriptor of the second descriptor image, it is assumed that the object belongs to object category A and the descriptor image provided by the first ML model instance is regarded as the descriptor image of the object (e.g., for controlling the gesture detection of the object by the control device 106). Conversely, if the second reference descriptor is closer to the descriptor of the second descriptor image than the first reference descriptor is to the descriptor of the first descriptor image, it is assumed that the object belongs to object category B and the descriptor image provided by the second ML model instance is regarded as the descriptor image of the object. These assumptions are reasonable because a machine learning model trained for one object category will typically output "meaningless" descriptor values ​​(i.e., descriptor values ​​far outside the range of values ​​selected by the machine learning model as the descriptor range for the objects it was trained on) for objects of other object categories.

[0059] Therefore, in order to be able to train mappings to descriptor images sequentially for object categories (each having one or more objects), a separate model instance is provided for each object category and, for example, the following steps are performed:

[0060] 1) If a new object class is added (e.g. as a possible object occurrence), a new model instance for this object class is trained from scratch (with the corresponding training data), wherein the previously trained model instances (e.g. NN weights) are retained. These model instances can also share a fixed backbone model, and for each model instance only a part (the "head") is trained (i.e., for example, only the head is trained from scratch, while the backbone is previously trained with a broad set of objects, ideally a set of objects from all possible object classes).

[0061] 2) For each object category, one or more reference images and one or more descriptors of reference key points (reference descriptors) are stored. In addition, information about which model instance was trained for which object category is stored. Additionally, additional information (distance or orientation between reference key points on the object) can be stored to increase robustness in identifying the correct object category.

[0062] 3) For reasoning (e.g. for keypoint localization of objects in a camera image), the class membership of the objects appearing (in the camera image) is determined from the reference descriptors together with the corresponding model instances: If certain reference keypoints of an object class can be found on the appearing object (or at least points with a descriptor that is very close to the reference descriptors), it can be assumed that the object belongs to this object class and therefore it is known which object instance should be used for this object in the reasoning. For this purpose, for each object class, for each reference descriptor, the distance to the closest descriptor of the descriptor image provided for the camera image by the model instance trained for this object class is determined. The sum of these distances is the (distance or spacing) score for the object class of the object. The object class is selected whose distance score is the lowest (i.e. the object class is identified as the object class to which the object belongs). In this case, (optional) additional information (distance or orientation between reference key points on the object) can be taken into account, for example by checking, for the reference descriptor for which the closest descriptor value is found in the descriptor image, whether the points to which the found descriptor values ​​belong (i.e. which have been mapped onto these descriptor values) have the correct distance or correct orientation relative to one another. Otherwise, for example, a different assignment of reference descriptors and descriptor values ​​is selected for determining the distance and calculating the score from this, or the score is reduced by a penalty term.

[0063] 4) The descriptor image provided by the model instance trained for the selected object category is used as the descriptor image of the camera image, for example for downstream tasks such as localizing the key points of the object in space.

[0064] 5) If new objects appear (for which model instances have not yet been trained) (this can be identified, for example, by having their distance scores for all previous object categories above a threshold), new model instances can be trained (wherein the previous model instances remain unchanged).

[0065] Figure 2 The above process is explained.

[0066] For simplicity, a first object category 201 contains quadrilaterals and a second object category 202 contains triangles (where 3D objects are typically used in practice). For each of these object categories, a corresponding machine learning model 203, 204 is trained (these machine learning models may be instances of the same model).

[0067] For both model instances or object classes, reference descriptors 205, 206 of the reference keypoints (in the descriptor space) are stored. During the inference, now, for example, an RGB image of a triangle in a new pose is presented as an object of the unknown class 207. This RGB image is mapped to a descriptor image 208, 209 with the aid of each machine learning model 203, 204. From the stored reference descriptors 205, 206, the relevant object class can be identified and it can therefore be recognized that for this inference, the second machine learning model 204 must be used in order to return the correct descriptor image of the object 207.

[0068] In summary, according to various embodiments, there is provided a method for Figure 3 The method shown in .

[0069] Figure 3 A flow chart 300 is shown that presents a method for determining a descriptor image for an image of an object (eg, for use in controlling a robotic device) according to an embodiment.

[0070] At 301, for each object category in a plurality of object categories, a corresponding machine learning model (also referred to as a corresponding "model instance" in the above example) is trained to map images of objects of the object category to descriptor images, and reference descriptors of one or more objects of the object category output by the machine learning model (i.e., descriptors contained in the descriptor image output by the machine learning model for (e.g., training) images of objects of the corresponding category) are stored. These reference descriptors are, for example, descriptors output by the machine learning model for, for example, specified, i.e., prescribed reference key points (i.e., feature points such as corners, handles, etc.) of objects of the object category (i.e., reference key points possessed by all objects of the object category, such as handles).

[0071] At 302 , an image of an object (for which it is unknown to which object class the object belongs) is received (eg, from a camera such as camera 114 ).

[0072] At 303, for each object category, a corresponding descriptor image of the object for which the image is received is generated by mapping the received image to a descriptor image with the aid of a machine learning model trained for the object category.

[0073] At 304 , for each object category, a distance between a reference descriptor stored for the object category and a descriptor of a descriptor image generated for the object category is evaluated.

[0074] At 305, a descriptor image is assigned to the object as the descriptor image for the object, the descriptor image being generated for that object category for which the distance between a reference descriptor stored for that object category and the descriptor of the descriptor image generated for that object category is assessed to be lowest (i.e., the descriptor image that best matches "its" object category (i.e., matches the reference descriptor of the machine learning model that generated the descriptor image) is deemed to be the descriptor image for the object).

[0075] An object class may contain one or more objects, which may vary greatly depending on the application. For example, one object class may be screws, and another object class may be nuts; one object class may be a first type of body part, and another object class may be a second type of body part, and so on.

[0076] Figure 3 The method can be performed by one or more computers with one or more data processing units. The term "data processing unit" can be understood as any type of entity capable of processing data or signals. For example, these data or signals can be processed according to at least one (that is, one or more than one) specific function, which is performed by a data processing unit. The data processing unit may include an analog circuit, a digital circuit, a logic circuit, a microprocessor, a microcontroller, a central unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), an integrated circuit of a programmable gate array (FPGA), or any combination thereof or be constructed by these. Any other means for implementing the corresponding functions described in more detail herein may also be understood as a data processing unit or a logic circuit device. One or more of the method steps described in detail here can be implemented (e.g., realized) by a data processing unit through one or more specific functions, which are performed by the data processing unit.

[0077] Thus, according to various embodiments, the method is particularly computer-implemented.

[0078] With the help of the descriptor image, control signals for a robotic device can ultimately be generated (for example by using the descriptor image to determine the pose of the object or to determine the part to be processed). For this purpose, important parts of any type of object for which the machine learning model is trained can be determined. The term "robotic device" can be understood to refer to any physical system, such as a computer-controlled machine, a vehicle, a household appliance, a power tool, a manufacturing machine, a personal assistant or an access control system. Control rules for the physical system are learned and then, the physical system is controlled accordingly.

[0079] For example, images are captured by means of an RGB-D (color image plus depth) camera, descriptor images are determined for these images, and significant locations within the working area of ​​the robotic device are determined, wherein the robotic device is controlled as a function of the determined locations. For example, objects can be tracked in the input sensor data (i.e., the position and / or pose of the object).

[0080] These camera images are, for example, RGB images or RGB-D (color image plus depth) images, but may also be other types of camera images, such as (only) depth images or thermal images, radar images, lidar images, ultrasound images or motion images or sequences of such images (i.e., time series). The descriptor images determined for this purpose can be used to determine the pose of the object, for example to control a robot, for example to assemble a larger object from partial objects, to move objects, etc. Figure 3 The method can be used for any pose determination method. Based on the important parts determined from the descriptor image, for example, the positions of the parts of the object can be determined, at which the robot can grasp (or hold) the object, and the positions of the parts of the object that should not be grasped can be determined. Therefore, these parts provide valuable information for manipulation tasks, for example.

[0081] In other words, based on the sensor signal (camera image as described above), information about the element (eg object) encoded by the sensor signal can be obtained (ie, based on the sensor signal used as a direct measurement, an indirect measurement can be performed).

[0082] The determined descriptor image can also be used to classify sensor data (camera images as described above), for example to detect the presence of objects in the sensor data or semantic segmentation of these sensor data, such as traffic signs, pedestrians, vehicles or any objects in the environment of the corresponding robotic device.

[0083] It is also possible to determine continuous values ​​(i.e., perform regression analysis), for example to track objects in these sensor data. Furthermore, dense visual correspondences, as provided by the descriptor images, can be used for anomaly detection in the image data. For example, by tracking key points, it is possible to detect whether an object or part of an object is present in the scene. Upon detection of an anomaly, for example by means of a camera image for which a specific key point (depending on the descriptor assigned to the key point) is detected, for example a safety mode of the corresponding robotic device can be activated.

[0084] Although specific embodiments are presented and described herein, it is recognized by those skilled in the art that the specific embodiments shown and described may be replaced with a variety of alternative and / or equivalent implementations without departing from the scope of protection of the present invention. The present application should encompass any adjustments or changes to the specific embodiments discussed herein. It is therefore intended that the present invention be limited only by the claims and their equivalents.

Claims

1. A method for determining a descriptor image for an image of an object, the method comprising: For each object category of a plurality of object categories, training a corresponding machine learning model (203, 204) to map images of objects of the object category (201, 202) to descriptor images, and storing reference descriptors (205, 206) output by the machine learning model (203, 204) for one or more objects of the object category; receiving an image of a subject (207); For each object category, generating a corresponding descriptor image (208, 209) of the object by mapping the received image (207) to a descriptor image with the aid of a machine learning model (203, 204) trained for that object category; For each object class, evaluating the distance between a reference descriptor (205, 206) stored for that object class and a descriptor of a descriptor image (208, 209) generated for that object class; and Assigning to the object as the descriptor image of the object a descriptor image (208, 209) generated for the object class for which the distance between the reference descriptors (205, 206) stored for the object class and the descriptors of the descriptor image (208, 209) generated for the object class is evaluated to be the smallest.

2. The method according to claim 1, wherein: The distances of the reference descriptors (205, 206) from the descriptor image (208, 209) are evaluated by assigning each of the reference descriptors (205, 206) to a descriptor of the descriptor image (208, 209) and averaging the distances of the reference descriptors (205, 206) from their assigned descriptors.

3. The method according to claim 1 or 2, wherein: At least some of these machine learning models (203, 204) are consistent in terms of sub-models. 4 . The method according to claim 3 , comprising: training the sub-model with the aid of training data containing objects from all object categories.

5. The method according to any one of claims 1 to 4, wherein: For each object class, a corresponding machine learning model (203, 204) is trained with the aid of a training data set, the training data set containing images of objects of the object class (201, 202), wherein the objects of the object class are over-represented in the training data set.

6. The method according to any one of claims 1 to 5, wherein: At least some of these machine learning models (203, 204) are neural networks.

7. A method for controlling a robot to pick up or handle an object, the method comprising: Determining a descriptor image (208, 209) of the object according to the method of any one of claims 1 to 6; Determine the position or posture of the part used to pick up or handle the object in the current control scene according to the determined descriptor image (208, 209); and According to the determined part position or according to the determined posture, the robot is controlled to pick up or handle the object. 8 . A control device, which is configured to carry out the method according to claim 1 . 9 . A computer program comprising instructions which, when executed by a processor, cause the processor to execute the method according to claim 1 .

10. A computer-readable medium storing instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.