# US 2025/0095127 A1 · Defect inspection device, defect inspection method, and prediction model generation method

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

- Number: US 2025/0095127 A1
- Document ID: US20250095127A1
- Status: Published application
- Kind: A1
- Application number: 18/580,902
- Filed: 2022-08-01
- Published: 2025-03-20
- Earliest claimed: 2021-09-01
- Assignees: Kabushiki Kaisha F.C.C.
- Applicants: Kabushiki Kaisha F.C.C.
- Inventors: Motoki OKAZAKI
- Web page: https://patentgrep.com/patent/US20250095127A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- G01N 21/88: Investigating the presence of flaws or contamination
- G06T 7/00: Image analysis
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 20/70: Labelling scene content, e.g. deriving syntactic or semantic representations
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30108: Industrial image inspection
- G06V 2201/06: Recognition of objects for industrial automation
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

As training data that is used in generation of a prediction model, training data for a normal product which is configured by assigning a normal product ground truth label including only a normal label indicating a possibility of correspondence to a normal product to a learning image of the normal product, and training data for a defective product which is configured by assigning a defective product ground truth label including only a plurality of weighted defect type labels indicating a possibility of correspondence to a plurality of defect types to a learning image of the defective product are used. According to this, it is possible to perform defect inspection with the prediction model in which a possibility of erroneously predicting the defective product as the normal product is further reduced by setting a loss value in a case of prediction as the normal product from a learning image of the defective product to which the defective product ground truth label is assigned to be larger than a loss value in a case of prediction as the defective product in a defect type other than a ground truth from the same learning image in machine learning.

## Claims

### Claim 1

A defect inspection device, comprising:
an inspection image acquisition unit that acquires an inspection image that is a captured image of an object to be inspected; and
a prediction unit that applies the inspection image acquired by the inspection image acquisition unit to a prediction model trained by using training data, and performs prediction whether the object to be inspected is a normal product, and prediction of a defect type in a case where the object to be inspected is a defective product,
wherein the training data is configured by assigning a normal product ground truth label that does not include a label indicating a possibility of correspondence to a defective product and includes only a normal label indicating a possibility of correspondence to a normal product to a learning image of the normal product, and by assigning a defective product ground truth label that does not include a normal label indicating a possibility of correspondence to the normal product and includes a plurality of defective type labels indicating a possibility of correspondence to a plurality of defect types, and a weight for each of the defect type labels to a learning image of a defective product.

### Claim 2 (depends on 1)

The defect inspection device according to claim 1,
wherein the training data is configured by assigning a maximum weight to the normal label of the normal product ground truth label, and assigning a weight less than the maximum weight to each of the plurality of defect type labels of the defective product ground truth label.

### Claim 3

A defect inspection method, comprising:
a first step of acquiring an inspection image that is a captured image of an object to be inspected by an inspection image acquisition unit of a computer; and
a second step of applying the inspection image acquired by the inspection image acquisition unit to a prediction model trained by using training data, and performing prediction whether the object to be inspected is a normal product, and prediction of a defect type in a case where the object to be inspected is a defective product by a prediction unit of the computer,
wherein the training data is configured by assigning a normal product ground truth label that does not include a label indicating a possibility of correspondence to a defective product and includes normal label indicating a possibility of correspondence to a normal product to a learning image of the normal product, and by assigning a defective product ground truth label that does not include a normal label indicating a possibility of correspondence to the normal product and includes a plurality of defective type labels indicating a possibility of correspondence to a plurality of defect types, and a weight for each of the defect type labels to a learning image of a defective product.

### Claim 4

A prediction model generation method, comprising:
a first step of inputting training data to which a ground truth label is assigned by a training data input unit of a computer; and
a second step of performing machine learning processing by a prediction model generation unit of the computer by using the training data input by the training data input unit to generate a prediction model that outputs a prediction result as to whether an object to be inspected is a normal product, and a prediction result of a defect type in a case where the object to be inspected is a defective product when an inspection image that is a captured image of the object to be inspected is input,
wherein the training data is configured by assigning a normal product ground truth label that does not include a label indicating a possibility of correspondence to a defective product and includes only a normal label indicating a possibility of correspondence to a normal product to a learning image of the normal product, and by assigning a defective product ground truth label that does not include a normal label indicating a possibility of correspondence to the normal product and includes a plurality of defective type labels indicating a possibility of correspondence to a plurality of defect types, and a weight for each of the defect type labels to a learning image of a defective product.
