# US 2018/0322623 A1 · Systems and methods for inspection and defect detection using 3-d scanning

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

- Number: US 2018/0322623 A1
- Document ID: US20180322623A1
- Status: Published application
- Kind: A1
- Application number: 15/974,595
- Filed: 2018-05-08
- Published: 2018-11-08
- Earliest claimed: 2017-05-08
- Assignees: Aquifi, Inc.
- Applicants: Aquifi, Inc.
- Inventors: Alvise Memo; David Demirdjian; Giulio Marin; Kinh Tieu; Francesco Peruch; Pietro Salvagnini; Giridhar Murali; Carlo Dal Mutto; Guido Cesare
- Web page: https://patentgrep.com/patent/US20180322623A1

## CPC

- G06T 7/0004: {Industrial image inspection}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06N 5/046: Forward inferencing; Production systems
- G06T 7/55: from multiple images
- G06T 15/205: {Image-based rendering}
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06T 2207/10024: Color image
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/30124: Fabrics; Textile; Paper
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for detecting defects in objects includes: controlling, by a processor, one or more depth cameras to capture a plurality of depth images of a target object; computing, by the processor, a three-dimensional (3-D) model of the target object using the depth images; rendering, by the processor, one or more views of the 3-D model; computing, by the processor, a descriptor by supplying the one or more views of the 3-D model to a convolutional stage of a convolutional neural network; supplying, by the processor, the descriptor to a defect detector to compute one or more defect classifications of the target object; and outputting the one or more defect classifications of the target object.

## Claims

### Claim 1

A method for detecting defects in objects comprising:
controlling, by a processor, one or more depth cameras to capture a plurality of depth images of a target object;
computing, by the processor, a three-dimensional (3-D) model of the target object using the depth images;
rendering, by the processor, one or more views of the 3-D model;
computing, by the processor, a descriptor by supplying the one or more views of the 3-D model to a convolutional stage of a convolutional neural network;
supplying, by the processor, the descriptor to a defect detector to compute one or more defect classifications of the target object; and
outputting the one or more defect classifications of the target object.

### Claim 2 (depends on 1)

The method of claim 1, further comprising controlling a conveyor system to direct the target object is accordance with the one or more defect classifications of the target object.

### Claim 3 (depends on 1)

The method of claim 1, further comprising displaying the one or more defect classifications of the target object on a display device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the defect detector comprises a fully connected stage of the convolutional neural network.

### Claim 5 (depends on 1)

The method of claim 1, wherein the convolutional neural network is trained based on an inventory comprising:
a plurality of 3-D models of a plurality of defective objects, each 3-D model of the defective objects having a corresponding defect classification; and
a plurality of 3-D models of a plurality of non-defective objects.

### Claim 6 (depends on 5)

The method of claim 5, wherein each of the defective objects and non-defective objects of the inventory is associated with a corresponding descriptor, and
wherein the classifier is configured to compute the classification of the target object by:
outputting the classification associated with a corresponding descriptor of the corresponding descriptors having a closest distance to the descriptor of the target object.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more views comprise a plurality of views, and
wherein the computing the descriptor comprises:
supplying each view of the plurality of views to the convolutional stage of the convolutional neural network to generate a plurality of single view descriptors; and
supplying the plurality of single view descriptors to a max pooling stage to generate the descriptor from the maximum values of the single view descriptors.

### Claim 8 (depends on 1)

The method of claim 1, wherein the computing the descriptor comprises:
supplying the one or more views of the 3-D model to a feature detecting convolutional neural network to identify shapes of one or more features of the 3-D model.

### Claim 9 (depends on 8)

The method of claim 8, wherein the defect detector is configured to compute at least one of the one or more defect classifications of the target object by:
counting or measuring the shapes of the one or more features of the 3-D model to generate at least one count or at least one measurement;
comparing the at least one count or at least one measurement to a tolerance threshold; and
determining the at least one of the one or more defect classifications as being present in the target object in response to determining that the at least one count or at least one measurement is outside the tolerance threshold.

### Claim 10 (depends on 1)

The method of claim 1, wherein the 3-D model comprises a 3-D mesh model computed from the depth images.

### Claim 11 (depends on 1)

The method of claim 1, wherein the rendering the one or more views of the 3-D model comprises:
rendering multiple views of the entire three-dimensional model from multiple different virtual camera poses relative to the three-dimensional model.

### Claim 12 (depends on 1)

The method of claim 1, wherein the rendering the one or more views of the 3-D model comprises:
rendering multiple views of a part of the three-dimensional model.

### Claim 13 (depends on 1)

The method of claim 1, wherein the rendering the one or more views of the 3-D model comprises:
dividing the 3-D model into a plurality of voxels;
identifying a plurality of surface voxels of the 3-D model by identifying voxels that intersect with a surface of the 3-D model;
computing a centroid of each surface voxel; and
computing orthogonal renderings of the normal of the surface of the 3-D model in each of the surface voxels, and
wherein the one or more views of the 3-D model comprises the orthogonal renderings.

### Claim 14 (depends on 1)

The method of claim 1, wherein each of the one or more views of the 3-D model comprises a depth channel.

### Claim 15

A system for detecting defects in objects comprising:
one or more depth cameras configured to capture a plurality of depth images of a target object;
a processor configured to control the one or more depth cameras;
a memory storing instructions that, when executed by the processor, cause the processor to:
control the one or more depth cameras to capture the plurality of depth images of the target object;
compute a three-dimensional (3-D) model of the target object using the depth images;
render one or more views of the 3-D model;
compute a descriptor by supplying the one or more views of the 3-D model to a convolutional stage of a convolutional neural network;
supply the descriptor to a defect detector to compute one or more defect classifications of the target object; and
output the one or more defect classifications of the target object.

### Claim 16 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to control a conveyor system to direct the target object is accordance with the one or more defect classifications of the target object.

### Claim 17 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to displaying the one or more defect classifications of the target object on a display device.

### Claim 18 (depends on 15)

The system of claim 15, wherein the defect detector comprises a fully connected stage of the convolutional neural network.

### Claim 19 (depends on 15)

The system of claim 15, wherein the convolutional neural network is trained based on an inventory comprising:
a plurality of 3-D models of a plurality of defective objects, each 3-D model of the defective objects having a corresponding classification; and
a plurality of 3-D models of a plurality of non-defective objects.

### Claim 20 (depends on 19)

The system of claim 19, wherein each of the defective objects and non-defective objects of the inventory is associated with a corresponding descriptor, and
wherein the classifier is configured to compute the classification of the target object by:
outputting the classification associated with a corresponding descriptor of the corresponding descriptors having a closest distance to the descriptor of the target object.

### Claim 21 (depends on 15)

The system of claim 15, wherein the one or more views comprise a plurality of views, and
wherein the memory further stores instructions that, when executed by the processor, cause the processor to compute the descriptor by:
supplying each view of the plurality of views to the convolutional stage of the convolutional neural network to generate a plurality of single view descriptors; and
supplying the plurality of single view descriptors to a max pooling stage to generate the descriptor from the maximum values of the single view descriptors.

### Claim 22 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to compute the descriptor by:
supplying the one or more views of the 3-D model to a feature detecting convolutional neural network to identify shapes of one or more features of the 3-D model.

### Claim 23 (depends on 22)

The system of claim 22, wherein the defect detector is configured to compute at least one of the one or more defect classifications of the target object by:
counting or measuring the shapes of the one or more features of the 3-D model to generate at least one count or at least one measurement;
comparing the at least one count or at least one measurement to a tolerance threshold; and
determining the at least one of the one or more defect classifications as being present in the target object in response to determining that the at least one count or at least one measurement is outside the tolerance threshold.

### Claim 24 (depends on 15)

The system of claim 15, wherein the 3-D model comprises a 3-D mesh model computed from the depth images.

### Claim 25 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to render the one or more views of the 3-D model by:
rendering multiple views of the entire three-dimensional model from multiple different virtual camera poses relative to the three-dimensional model.

### Claim 26 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to render the one or more views of the 3-D model by:
rendering multiple views of a part of the three-dimensional model.

### Claim 27 (depends on 15)

The system of claim 15, wherein the memory further stores instructions that, when executed by the processor, cause the processor to render the one or more views of the 3-D model by:
dividing the 3-D model into a plurality of voxels;
identifying a plurality of surface voxels of the 3-D model by identifying voxels that intersect with a surface of the 3-D model;
computing a centroid of each surface voxel; and
computing orthogonal renderings of the normal of the surface of the 3-D model in each of the surface voxels, and
wherein the one or more views of the 3-D model comprises the orthogonal renderings.

### Claim 28 (depends on 15)

The system of claim 15, wherein each of the one or more views of the 3-D model comprises a depth channel.
