# US 2023/0245292 A1 · Defect detection based on self-supervised learning

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

- Number: US 2023/0245292 A1
- Document ID: US20230245292A1
- Status: Published application
- Kind: A1
- Application number: 18/163,224
- Filed: 2023-02-01
- Published: 2023-08-03
- Earliest claimed: 2022-02-02
- Assignees: Lean Ai Technologies Ltd.
- Applicants: Lean Ai Technologies Ltd.
- Inventors: Shimon Cohen
- Web page: https://patentgrep.com/patent/US20230245292A1

## CPC

- G06T 7/001: {using an image reference approach}
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 3/60: Rotation of whole images or parts thereof
- G06T 5/60: using machine learning, e.g. neural networks
- G06T 5/80: Geometric correction
- G06T 7/0002: {Inspection of images, e.g. flaw detection}
- G06T 7/11: Region-based segmentation
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20224: Image subtraction
- G06T 2207/30108: Industrial image inspection
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

There may be provided a method for defect detection, the method may include (a) receiving an image of an evaluated object; (b) applying a distortion removal machine learning process on the image to provide a processed image of the evaluated object; (c) comparing the image to the processed image to provide a comparison result; and (d) detecting one or more object defects based on the comparison result. The distortion removal machine learning process is trained by a training process to remove distortions from images of objects. The training process includes feeding the machine learning process with images of reference objects and with distorted images of the reference objects. The distorted images are generated by distorting the images of the reference.

## Claims

### Claim 1

A method for defect detection, the method comprises:
receiving an image of an evaluated object;
applying a distortion removal machine learning process on the image to provide a processed image of the evaluated object;
comparing the image to the processed image to provide a comparison result; and
detecting one or more object defects based on the comparison result;
wherein the distortion removal machine learning process is trained by a training process to remove distortions from images of objects; and
wherein the training process comprises feeding the machine learning process with images of reference objects and with distorted images of the reference objects; wherein the distorted images are generated by distorting the images of the reference.

### Claim 2 (depends on 1)

The method according to claim 1 wherein a distorting of an image of a defect
free object comprises replacing segments of the image by distorted segments;
wherein a distorted segment is generated by introducing a difference in one or more properties of a corresponding segment of the image.

### Claim 3 (depends on 2)

The method according to claim 2 wherein the one or more properties comprises an intensity parameter of the corresponding segment of the image.

### Claim 4 (depends on 2)

The method according to claim 2 wherein the one or more properties comprises an average intensity of the corresponding segment of the image.

### Claim 5 (depends on 2)

The method according to claim 2 wherein the one or more properties comprises a size of an item that appears in the corresponding segment of the image.

### Claim 6 (depends on 2)

The method according to claim 2 wherein the one or more properties comprises an orientation of an item that appears in the corresponding segment of the image.

### Claim 7 (depends on 1)

The method according to claim 1 wherein the applying of the distortion removal machine learning process on the image maintains an orientation and a location of the evaluated object within the distorted image.

### Claim 8 (depends on 1)

The method according to claim 1 wherein the applying, comparing and generating are executed without alignment of image.

### Claim 9 (depends on 1)

The method according to claim 1 wherein the comparing comprises generating a difference image.

### Claim 10 (depends on 1)

The method according to claim 1 wherein the training process is a self-supervised training process.

### Claim 11 (depends on 1)

The method according to claim 1 wherein the images of reference objects are images of defect free reference objects.

### Claim 12

A non-transitory computer readable medium for defect detection, the non-transitory computer readable medium stores instructions for:
receiving an image of an evaluated object;
applying a distortion removal machine learning process on the image to provide a processed image of the evaluated object;
comparing the image to the processed image to provide a comparison result; and
detecting one or more object defects based on the comparison result;
wherein the distortion removal machine learning process is trained by a training process to remove distortions from images of objects; and
wherein the training process comprises feeding the machine learning process with images of reference objects and with distorted images of the reference objects; wherein the distorted images are generated by distorting the images of the reference.

### Claim 13 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein a distorting of an image of a defect free object comprises replacing segments of the image by distorted segments; wherein a distorted segment is generated by introducing a difference in one or more properties of a corresponding segment of the image.

### Claim 14 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the applying of the distortion removal machine learning process on the image maintains an orientation and a location of the evaluated object within the distorted image.

### Claim 15 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the applying, comparing and generating are executed without alignment of image.

### Claim 16 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the comparing comprises generating a difference image.

### Claim 17 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the training process is a self-supervised training process.

### Claim 18 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the images of reference objects are images of defect free reference objects.

### Claim 19

A system for semi-supervised learning via different modalities, the system comprises a neural network processor that is configured to: receiving an image of an evaluated object;
applying a distortion removal machine learning process on the image to provide a processed image of the evaluated object;
comparing the image to the processed image to provide a comparison result; and
detecting one or more object defects based on the comparison result;
wherein the distortion removal machine learning process is trained by a training process to remove distortions from images of objects; and
wherein the training process comprises feeding the machine learning process with images of reference objects and with a distorted images of the reference objects; wherein the distorted images are generated by distorting the images of the reference.
