# US 2023/0150142 A1 · Device and method for training a machine learning model for generating descriptor images for images of objects

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0150142 A1
- Document ID: US20230150142A1
- Status: Published application
- Kind: A1
- Application number: 18/053,239
- Filed: 2022-11-07
- Published: 2023-05-18
- Earliest claimed: 2021-11-16
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: David Adrian; Andras Gabor Kupcsik; Markus Spies
- Web page: https://patentgrep.com/patent/US20230150142A1

## CPC

- G06T 7/74: {involving reference images or patches}
- B25J 9/163: {learning, adaptive, model based, rule based expert control}
- B25J 9/1697: {Vision controlled systems}
- B25J 13/08: by means of sensing devices, e.g. viewing or touching devices
- B25J 19/023: {including video camera means}
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 10/757: {Matching configurations of points or features}
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 20/10: Terrestrial scenes (scenes under surveillance with static cameras G06V20/52; scenes perceived from the exterior of a vehicle G06V20/56; scenes perceived from the interior of a vehicle G06V20/59)
- G05B 2219/37555: Camera detects orientation, position workpiece, points of workpiece
- G05B 2219/39001: Robot, manipulator control
- G05B 2219/39543: Recognize object and plan hand shapes in grasping movements
- G05B 2219/40528: Ann for learning robot contact surface shape
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A method for training a machine learning model for generating descriptor images for images of one or of multiple objects. The method includes: formation of pairs of images which show the one or the multiple objects from different perspectives; generation, for each image pair, using the machine learning model, of a first descriptor image for the first image, and of a second descriptor image for the second image, which assigns descriptors to points of the one or multiple objects shown in the second image; sampling, for each image pair, of descriptor pairs, which include in each case a first descriptor from the first descriptor image and a second descriptor from the second descriptor image, which are assigned to the same point, and the adaptation of the machine learning method for reducing a loss.

## Claims

### Claim at position 1

1-9. (canceled)

### Claim 10

A method for training a machine learning model for generating descriptor images for images of one or of multiple objects, comprising the following steps:
forming pairs of images, each image pair of the pairs of images including a first image and a second image, which show the one or the multiple objects from different perspectives;
generating, for each image pair, using the machine learning model, a first descriptor image for the first image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the first image of the image pair, and a second descriptor image for the second image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the second image of the image pair;
sampling, for each image pair, descriptor pairs, which each include a first descriptor from the first descriptor image and a second descriptor from the second descriptor image, which are assigned to the same point;
adapting the machine learning method for reducing a loss, which includes for each sampled descriptor pair the ratio of the distance according to a distance measure between the first descriptor and the second descriptor to the sum of all distances according to the distance measure between the first descriptor and the descriptors of the second descriptor image, which appear in the sampled descriptor pairs;
wherein the method further comprises the following steps:
recording the one or multiple objects in camera images;
obtaining additional images by augmenting at least a portion of the camera images, and forming the pair of images from the camera images and additional images, each of the pairs of images including a camera image and a camera image obtained by augmentation, the augmentation including one or multiple of: resizing and cropping, perspective and affine distortion, horizontal and vertical mirroring, rotation, addition of blurring, addition of color noise and conversion to grayscale.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein at least one additional image is generated from the camera images for each of resizing and cropping, perspective and affine distortion, horizontal and vertical mirroring, rotation, addition of blurring, addition of color noise, and conversion to grayscale.

### Claim 12 (depends on 10)

The method as recited in claim 10, further comprising:
recording camera images which each include multiple of the objects; and
forming the pairs of images at least partially from the camera images.

### Claim 13 (depends on 10)

The method as recited in claim 10, wherein the machine learning model is a neural network.

### Claim 14

A method for controlling a robot for picking up or processing an object, comprising:
training a machine learning model including:
forming pairs of images, each image pair of the pairs of images including a first image and a second image, which show the one or the multiple objects from different perspectives;
generating, for each image pair, using the machine learning model, a first descriptor image for the first image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the first image of the image pair, and a second descriptor image for the second image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the second image of the image pair;
sampling, for each image pair, descriptor pairs, which each include a first descriptor from the first descriptor image and a second descriptor from the second descriptor image, which are assigned to the same point;
adapting the machine learning method for reducing a loss, which includes for each sampled descriptor pair the ratio of the distance according to a distance measure between the first descriptor and the second descriptor to the sum of all distances according to the distance measure between the first descriptor and the descriptors of the second descriptor image, which appear in the sampled descriptor pairs;
wherein the method further comprises the following steps:
recording the one or multiple objects in camera images;
obtaining additional images by augmenting at least a portion of the camera images, and forming the pair of images from the camera images and additional images, each of the pairs of images including a camera image and a camera image obtained by augmentation, the augmentation including one or multiple of: resizing and cropping, perspective and affine distortion, horizontal and vertical mirroring, rotation, addition of blurring, addition of color noise and conversion to grayscale;
recording a camera image which shows the object in an instantaneous control scenario;
feeding the camera image to the machine learning model for generating a descriptor image;
ascertaining the position of a point for picking up or processing the object in the instantaneous control scenario from the descriptor image; and
controlling the robot according to the ascertained position.

### Claim 15 (depends on 14)

The method as recited in claim 14, further comprising:
identifying a reference point in a reference image;
ascertaining a descriptor of the identified reference point by feeding the reference image to the machine learning model;
ascertaining the position of the reference point in the instantaneous control scenario by finding the ascertained descriptor in the descriptor image generated from the camera image; and
ascertaining the position of the point for picking up or processing the object in the instantaneous control scenario from the ascertained position of the reference point.

### Claim 16

A control unit configured to train a machine learning model for generating descriptor images for images of one or of multiple objects, the control unit configured to:
form pairs of images, each image pair of the pairs of images including a first image and a second image, which show the one or the multiple objects from different perspectives;
generate, for each image pair, using the machine learning model, a first descriptor image for the first image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the first image of the image pair, and a second descriptor image for the second image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the second image of the image pair;
sample, for each image pair, descriptor pairs, which each include a first descriptor from the first descriptor image and a second descriptor from the second descriptor image, which are assigned to the same point;
adapt the machine learning method for reducing a loss, which includes for each sampled descriptor pair the ratio of the distance according to a distance measure between the first descriptor and the second descriptor to the sum of all distances according to the distance measure between the first descriptor and the descriptors of the second descriptor image, which appear in the sampled descriptor pairs;
wherein the control unit is further configured to:
record the one or multiple objects in camera images;
obtain additional images by augmenting at least a portion of the camera images, and forming the pair of images from the camera images and additional images, each of the pairs of images including a camera image and a camera image obtained by augmentation, the augmentation including one or multiple of: resizing and cropping, perspective and affine distortion, horizontal and vertical mirroring, rotation, addition of blurring, addition of color noise and conversion to grayscale.

### Claim 17

A non-transitory computer-readable memory medium on which is stored a computer program for training a machine learning model for generating descriptor images for images of one or of multiple objects, the computer program, when executed by a computer, causing the computer to perform the following steps:
forming pairs of images, each image pair of the pairs of images including a first image and a second image, which show the one or the multiple objects from different perspectives;
generating, for each image pair, using the machine learning model, a first descriptor image for the first image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the first image of the image pair, and a second descriptor image for the second image of the image pair, which assigns descriptors to points of the one or multiple objects shown in the second image of the image pair;
sampling, for each image pair, descriptor pairs, which each include a first descriptor from the first descriptor image and a second descriptor from the second descriptor image, which are assigned to the same point;
adapting the machine learning method for reducing a loss, which includes for each sampled descriptor pair the ratio of the distance according to a distance measure between the first descriptor and the second descriptor to the sum of all distances according to the distance measure between the first descriptor and the descriptors of the second descriptor image, which appear in the sampled descriptor pairs;
wherein the computer program, when executed by the computer, further causes the computer to perform the following steps:
recording the one or multiple objects in camera images;
obtaining additional images by augmenting at least a portion of the camera images, and forming the pair of images from the camera images and additional images, each of the pairs of images including a camera image and a camera image obtained by augmentation, the augmentation including one or multiple of: resizing and cropping, perspective and affine distortion, horizontal and vertical mirroring, rotation, addition of blurring, addition of color noise and conversion to grayscale.
