# US 2026/0161907 A1 · Readout of optically readable codes

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

- Number: US 2026/0161907 A1
- Document ID: US20260161907A1
- Status: Published application
- Kind: A1
- Application number: 18/722,360
- Filed: 2022-12-15
- Published: 2026-06-11
- Earliest claimed: 2021-12-22
- Assignees: Bayer Aktiengesellschaft
- Applicants: Bayer Aktiengesellschaft
- Inventors: Dirk SCHAEFER; Benjamin HOETTER; Gregor FISCHER; Klaus RUELBERG
- Web page: https://patentgrep.com/patent/US20260161907A1

## CPC

- G06K 7/1417: {2D bar codes}
- G06V 20/68: Food, e.g. fruit or vegetables
- G06K 7/10861: {sensing of data fields affixed to objects or articles, e.g. coded labels (postal sorting B07C3/14, conveying articles B65G47/48)}
- G06K 7/1413: {1D bar codes}
- G06K 7/1443: {locating of the code in an image}
- G06K 7/146: {the method including quality enhancement steps}
- G06K 7/1482: {using fuzzy logic or natural solvers, such as neural networks, genetic algorithms and simulated annealing}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06V 10/243: {by compensating for image skew or non-uniform image deformations}
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/776: Validation; Performance evaluation
- G06V 10/778: Active pattern-learning, e.g. online learning of image or video features
- G06V 10/82: using neural networks
- G06V 30/19147: {Obtaining sets of training patterns; Bootstrap methods, e.g. bagging or boosting}
- G06V 30/1916: {Validation; Performance evaluation}
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/092: Reinforcement learning
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present invention relates to the technical field of the marking of articles by means of optically readable codes and of decoding the codes. Such a code is introduced into a surface of an article. The code is decoded on the basis of a transformed captured image of the code. The transformed captured image is generated from at least one captured image of the code using a machine learning model. The model is trained to generate a transformed captured image from at least one captured image and the readout of the optically readable code leads to less decoding errors than the readout of the code in the at least one captured image. The present invention relates to a method for training the machine learning model and to a method, a system and a computer program product for decoding a code using the trained machine learning model.

## Claims

### Claim 1

A method of training a machine learning model, comprising:
providing training data for a plurality of objects, the training data for each object of the plurality of objects comprising:
i) at least one reference image of an optical code which is incorporated into a surface of the object of the plurality of objects; and
ii) a transformed reference image of the optical code,
wherein decoding of the optical code in the transformed reference image produces fewer decoding errors than the decoding of the optical code in the reference image;
providing a machine learning model, wherein the machine learning model is configured to generate a second image based on at least a first image and based on model parameters;
training the machine learning model, the training comprising for each object of the plurality of objects:
inputting the at least one reference image into the machine learning model,
receiving a predicted transformed reference image from the machine learning model;
calculating a deviation between the transformed reference image and the predicted transformed reference image,
modifying the model parameters to reduce the deviation;
storing and/or outputting the trained machine learning model;
and/or transmitting the trained machine learning model to a separate computer system; and
and/or using the trained machine learning model to generate a transformed image of at least one new image of a different object.

### Claim 2 (depends on 1)

The method according to claim 1, wherein for each object the transformed reference image is generated by applying one or more transformations to the at least one reference image.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the one or more transformations are selected such that reading the optical code in the transformed reference image leads to fewer decoding errors than reading the optical code in the at least one reference image.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the one or more transformations are determined empirically.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the plurality of objects are different specimens of a plant product or animal product.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the plurality of objects are different specimens of a drug.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the machine learning model comprises an artificial neural network.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the optical code has been introduced into the surface of the object by means of a laser.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the optical code is a matrix code or a bar code.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the optical code comprises alphanumeric characters.

### Claim 11 (depends on 1)

A computer-implemented method for decoding an optical code that is introduced onto a surface of an object, the method comprising:
receiving an image of the optical code,
supplying the image to a trained machine learning model, the trained machine learning model having been trained in a method according to claim 1;
receiving a transformed image from the trained machine learning model; and
decoding of the optical code depicted in the transformed image.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
outputting the decoded optical code and/or information associated with the decoded code.

### Claim 13 (depends on 1)

A system comprising:
at least one processor, wherein the processor is configured to:
receive an image of an optical code, wherein the optical code is incorporated onto a surface of an object;
supply the image to a trained machine learning model, the trained machine learning model having been trained according to claim 1;
receive a transformed image from the trained machine learning model; and
decode the optical code imaged in the transformed image.

### Claim 14 (depends on 13)

The system of claim 13, wherein the processor is configured to output the decoded code or information associated with the decoded code.

### Claim 15 (depends on 1)

A computer program product comprising a data carrier on which a computer program is stored, wherein the computer program can be loaded into a main memory of a computer system and causes the computer system to perform:
receiving an image of an optical code, the optical code being incorporated onto a surface of an object;
supplying the image to a trained machine learning model, the trained machine learning model having been trained according to claim 1;
receiving a transformed image from the trained machine learning model;
decoding the optical code depicted in the transformed image; and
outputting the decoded optical code and/or information associated with the decoded code.
