# US 2023/0274415 A1 · Cluster-based and autonomous finding of reference information

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

- Number: US 2023/0274415 A1
- Document ID: US20230274415A1
- Status: Published application
- Kind: A1
- Application number: 18/176,403
- Filed: 2023-02-28
- Published: 2023-08-31
- Earliest claimed: 2022-02-28
- Assignees: Lean Ai Technologies Ltd.
- Applicants: Lean Ai Technologies Ltd.
- Inventors: Tom TABAK; Zvi Lapp
- Web page: https://patentgrep.com/patent/US20230274415A1

## CPC

- G06T 7/001: {using an image reference approach}
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06T 7/0004: {Industrial image inspection}
- G06V 10/758: {Involving statistics of pixels or of feature values, e.g. histogram matching}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06V 2201/06: Recognition of objects for industrial automation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method for unsupervised learning based anomaly detection of manufactured items, the method may include: obtaining multiple item pixels of an item; determining item features of the item, based on the multiple item pixels and by a non-item specific neural network, the non-item specific neural network is pre-trained to perform feature extraction of objects, at least some of the objects differ from the item; determining, based on the item features, a pixel score for item pixels of the multiple item pixels; for each of the item pixels, calculating a distance between the pixel score and reference pixel-wise distribution information; and for each of the item pixels, determining whether the item pixel is an anomaly pixel based on a comparison between the pixel score and a pixel-wise threshold.

## Claims

### Claim 1

A method for unsupervised learning based anomaly detection of manufactured items, the method comprises:
obtaining multiple item pixels of an item;
determining item features of the item, based on the multiple item pixels and by a non-item specific neural network, the non-item specific neural network is pre-trained to perform feature extraction of objects, at least some of the objects differ from the item;
determining, based on the item features, a pixel score for item pixels of the multiple item pixels;
for each of the item pixels, calculating a distance between the pixel score and reference pixel-wise distribution information; and
for each of the item pixels, determining whether the item pixel is an anomaly pixel based on a comparison between the pixel score and a pixel-wise threshold.

### Claim 2 (depends on 1)

The method according to claim 1 wherein the obtaining of the multiple item pixels comprises receiving an image and generating a cropped image that comprises the multiple item pixels.

### Claim 3 (depends on 1)

The method according to claim 1 wherein the distance is a Mahalanobis distance.

### Claim 4 (depends on 1)

The method according to claim 1 wherein the reference pixel-wise distribution information belongs is a part of reference information that comprises a reference mean matrix and reference covariance matrix.

### Claim 5 (depends on 1)

The method according to claim 1 wherein the pixel-wise threshold is selected out of multiple thresholds by conducting an iterative process and are based on one or more anomaly detection parameters.

### Claim 6 (depends on 5)

The method according to claim 5 wherein the one or more anomaly detection parameters comprise false positives, true positives, true positives and false negatives.

### Claim 7 (depends on 5)

The method according to claim 5 wherein the one or more anomaly detection parameters comprise image level detection parameters and anomaly level detection parameters.

### Claim 8 (depends on 1)

The method according to claim 1 comprising:
receiving a group of item images of items;
for each item image repeating the steps of:
obtaining multiple item pixels;
determining item features of the item, based on the multiple item pixels and by a non-item specific neural network;
calculating distribution information for the group of the item images;
calculating pixel-wise item images scores based on distances between the item images and the distribution information; and
calculating values of pixel-wise thresholds based on the pixel-wise item image scores.

### Claim 9 (depends on 8)

The method according to claim 8 wherein the distribution information comprises group covariance information and mean value information.

### Claim 10 (depends on 9)

The method according to claim 9 wherein the group covariance information is a covariance matrix and the mean value information is a group mean value matrix.

### Claim 11 (depends on 8)

The method according to claim 8 comprising calculating a value of a pixel-wise threshold in an iterative manner that comprises calculating values of one or more anomaly detection parameters under different candidates of the values of pixel-wise thresholds.

### Claim 12

A non-transitory computer readable medium for unsupervised learning based anomaly detection of manufactured items, the non-transitory computer readable medium stores instructions for:
obtaining multiple item pixels of an item;
determining item features of the item, based on the multiple item pixels and by a non-item specific neural network, the non-item specific neural network is pre-trained to perform feature extraction of objects, at least some of the objects differ from the item;
determining, based on the item features, a pixel score for item pixels of the multiple item pixels;
for each of the item pixels, calculating a distance between the pixel score and reference pixel-wise distribution information; and
for each of the item pixels, determining whether the item pixel is an anomaly pixel based on a comparison between the pixel score and a pixel-wise threshold.

### Claim 13 (depends on 1)

The non-transitory computer readable medium according to claim 1 wherein the obtaining of the multiple item pixels comprises receiving an image and generating a cropped image that comprises the multiple item pixels.

### Claim 14 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the distance is a Mahalanobis distance.

### Claim 15 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the reference pixel-wise distribution information belongs is a part of reference information that comprises a reference mean matrix and reference covariance matrix.

### Claim 16 (depends on 13)

The non-transitory computer readable medium according to claim 13 wherein the pixel-wise threshold is selected out of multiple thresholds by conducting an iterative process and are based on one or more anomaly detection parameters.

### Claim 17 (depends on 16)

The non-transitory computer readable medium according to claim 16 wherein the one or more anomaly detection parameters comprise false positives, true positives, true positives and false negatives.

### Claim 18 (depends on 16)

The non-transitory computer readable medium according to claim 16 wherein the one or more anomaly detection parameters comprise image level detection parameters and anomaly level detection parameters.

### Claim 19 (depends on 13)

The non-transitory computer readable medium according to claim 13 that stores instructions for
receiving a group of item images of items;
for each item image repeating the steps of:
obtaining multiple item pixels;
determining item features of the item, based on the multiple item pixels and by a non-item specific neural network;
calculating distribution information for the group of the item images;
calculating pixel-wise item images scores based on distances between the item images and the distribution information; and
calculating values of pixel-wise thresholds based on the pixel-wise item image scores.

### Claim 20 (depends on 19)

The non-transitory computer readable medium according to claim 19 wherein the distribution information comprises group covariance information and mean value information.
