# US 2021/0082181 A1 · Method and apparatus for object detection, intelligent driving method and device, and storage medium

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

- Number: US 2021/0082181 A1
- Document ID: US20210082181A1
- Status: Published application
- Kind: A1
- Application number: 17/106,826
- Filed: 2020-11-30
- Published: 2021-03-18
- Earliest claimed: 2019-06-17
- Applicants: Sensetime Group Limited
- Inventors: Shaoshuai SHI; Zhe Wang; Xiaogang Wang; Hongsheng Li
- Web page: https://patentgrep.com/patent/US20210082181A1

## CPC

- G06T 17/20: Finite element generation, e.g. wire-frame surface description, {tesselation}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06T 7/11: Region-based segmentation
- G06T 7/194: involving foreground-background segmentation
- G06T 17/00: Three-dimensional [3D] modelling for computer graphics
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/82: using neural networks
- G06V 20/58: Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
- G06V 20/64: Three-dimensional [3D] objects
- G06T 2210/12: Bounding box
- G06T 2210/56: Particle system, point based geometry or rendering
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed are a method and apparatus for object detection, an electronic device and a computer storage medium. The method includes: acquiring three-dimensional (3D) point cloud data; determining point cloud semantic features corresponding to the 3D point cloud data according to the 3D point cloud data; determining part location information of foreground points based on the point cloud semantic features; extracting at least one initial 3D bounding box based on the point cloud data; and determining a 3D bounding box for an object according to the point cloud semantic features corresponding to the point cloud data, the part location information of the foreground points and the at least one initial 3D bounding box.

## Claims

### Claim 1

A method for object detection, comprising:
acquiring three-dimensional (3D) point cloud data;
determining point cloud semantic features corresponding to the 3D point cloud data according to the 3D point cloud data;
determining part location information of foreground points based on the point cloud semantic features, wherein the foreground points represent point cloud data belonging to an object in the 3D point cloud data, and the part location information of the foreground points indicates a relative location of each of the foreground points in the object;
extracting at least one initial 3D bounding box based on the 3D point cloud data; and
determining a 3D bounding box for the object according to the point cloud semantic features corresponding to the 3D point cloud data, the part location information of the foreground points, and the at least one initial 3D bounding box, wherein the object exists in a region in the 3D bounding box.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the 3D bounding box for the object according to the point cloud semantic features corresponding to the 3D point cloud data, the part location information of the foreground points, and the at least one initial 3D bounding box comprises:
for each of the at least one initial 3D bounding box, executing a pooling operation on respective part location information of foreground points and respective point cloud semantic features, to obtain respective pooled part location information and respective pooled point cloud semantic features; and
performing at least one of the following so as to determine the 3D bounding box for the object: correcting each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features, or determining a respective confidence of each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features.

### Claim 3 (depends on 2)

The method of claim 2, wherein for each of the at least one initial 3D bounding box, executing the pooling operation on the respective part location information of the foreground points and the respective point cloud semantic features, to obtain the respective pooled part location information and the respective pooled point cloud semantic features comprises:
uniformly dividing each of the at least one initial 3D bounding box into a plurality of meshes, and executing, for each of the plurality of meshes, the pooling operation on respective part location information of the foreground points and a respective point cloud semantic feature, to obtain, for each of the at least one initial 3D bounding box, the respective pooled part location information and the respective pooled point cloud semantic features.

### Claim 4 (depends on 3)

The method of claim 3, wherein executing, for each of the plurality of meshes, the pooling operation on the respective part location information of the foreground points and the respective point cloud semantic feature comprises:
in response to that there is no foreground point in one of the plurality of meshes, labeling part location information of the mesh to be null, and setting a point cloud semantic feature of the mesh to be 0 to obtain a pooled point cloud semantic feature of the mesh; or
in response to that there is at least one foreground point in one of the plurality of meshes, performing uniform pooling operation on part location information of the foreground points in the mesh to obtain pooled part location information of the foreground points in the mesh, and performing max-pooling on a point cloud semantic feature of the foreground points in the mesh to obtain a pooled point cloud semantic feature of the mesh.

### Claim 5 (depends on 2)

The method of claim 2, wherein performing at least one of the following: correcting each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features comprises:
merging, for each of the at least one initial 3D bounding box, the respective pooled part location information with the respective pooled point cloud semantic features, and performing at least one of: correcting each of the at least one initial 3D bounding box according to a respective merged feature, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective merged feature.

### Claim 6 (depends on 5)

The method of claim 5, wherein performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective merged feature, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective merged feature comprises one of:
for each of the at least one initial 3D bounding box, vectorizing the respective merged feature to be a respective feature vector, and performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective feature vector, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective feature vector; or
for each of the at least one initial 3D bounding box, executing a sparse convolution operation on the respective merged feature to obtain a respective feature map having subjected to the sparse convolution operation, and performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective feature map having subjected to the sparse convolution operation, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective feature map having subjected to the sparse convolution operation; or
for each of the at least one initial 3D bounding box, executing the sparse convolution operation on the respective merged feature to obtain the respective feature map having subjected to the sparse convolution operation, downsampling the respective feature map having subjected to the sparse convolution operation, and performing at least one of: correcting each of the at least one initial 3D bounding box according to a respective downsampled feature map, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective downsampled feature map.

### Claim 7 (depends on 6)

The method of claim 6, wherein downsampling the respective feature map having subjected to the sparse convolution operation comprises:
executing a pooling operation on the respective feature map having subjected to the sparse convolution operation for downsampling the respective feature map having subjected to the sparse convolution operation.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining the point cloud semantic features corresponding to the 3D point cloud data according to the 3D point cloud data comprises:
performing 3D meshing on the 3D point cloud data to obtain 3D meshes, and extracting each of the point cloud semantic features corresponding to the 3D point cloud data from a respective non-null mesh among the 3D meshes.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the part location information of the foreground points based on the point cloud semantic features comprises:
segmenting, according to the point cloud semantic features, a foreground from a background in the point cloud data to determine the foreground points, wherein the foreground points are point cloud data belonging to the object in the point cloud data; and
processing, by a neural network, the determined foreground points to obtain the part location information of the foreground points, wherein the neural network is configured to predict the part location information of the foreground points,
wherein the neural network is trained by using a training dataset comprising annotation information of a 3D box, and the annotation information of the 3D box at least comprises part location information of foreground points in point cloud data in the training dataset.

### Claim 10 (depends on 1)

An intelligent driving method, applied to an intelligent driving device and comprising:
obtaining a three-dimensional (3D) bounding box for an object around the intelligent driving device according to the method for object detection of claim 1; and
generating a driving policy according to the 3D bounding box for the object.

### Claim 11

An apparatus for object detection, comprising:
a processor; and
a memory configured to store instructions which when being executed by the processor, cause the processor to carry out the following:
acquiring three-dimensional (3D) point cloud data and determine point cloud semantic features corresponding to the 3D point cloud data according to the 3D point cloud data;
determining part location information of foreground points based on the point cloud semantic features, wherein the foreground points represent point cloud data belonging to an object in the 3D point cloud data, and the part location information of the foreground points indicates a relative location of each of the foreground points in the object, and extract at least one initial 3D bounding box based on the 3D point cloud data; and
determining a 3D bounding box for the object according to the point cloud semantic features corresponding to the 3D point cloud data, the part location information of the foreground points, and the at least one initial 3D bounding box, wherein the object exists in a region in the 3D bounding box.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the instructions, when being executed by the processor, cause the processor to carry out the following:
for each of the at least one initial 3D bounding box, executing a pooling operation on respective part location information of foreground points and respective point cloud semantic features, to obtain respective pooled part location information and respective pooled point cloud semantic features; and
according to the respective pooled part location information and the respective pooled point cloud semantic features, performing at least one of the following so as to determine the 3D bounding box for the object: correcting each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features, or determining a respective confidence of each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the instructions, when being executed by the processor, cause the processor to carry out the following:
uniformly dividing each of the at least one initial 3D bounding box into a plurality of meshes, and executing, for each of the plurality of meshes, the pooling operation on respective part location information of the foreground points and a respective point cloud semantic feature, to obtain, for each of the at least one initial 3D bounding box, the respective pooled part location information and the respective pooled point cloud semantic features; and
performing at least one of the following so as to determine the 3D bounding box for the object: correcting each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective pooled part location information and the respective pooled point cloud semantic features.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein, in executing, for each of the plurality of meshes, the pooling operation on the respective part location information of the foreground points and the respective point cloud semantic feature, the instructions, when being executed by the processor, cause the processor to carry out the following:
in response to that there is no foreground point in one of the plurality of meshes, labelling part location information of the mesh to be null, and setting a point cloud semantic feature of the mesh to be 0 to obtain a pooled point cloud semantic feature of the mesh; or
in response to that there is at least one foreground point in one of the plurality of meshes, performing uniform pooling operation on part location information of the foreground points in the mesh to obtain pooled part location information of the foreground points in the mesh, and performing max-pooling on a point cloud semantic feature of the foreground points in the mesh to obtain a pooled point cloud semantic feature of the mesh.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the instructions, when being executed by the processor, cause the processor to carry out the following:
for each of the at least one initial 3D bounding box, executing the pooling operation on the respective part location information of the foreground points and the respective point cloud semantic feature, to obtain the respective pooled part location information and the respective pooled point cloud semantic features; and
merging, for each of the at least one initial 3D bounding box, the respective pooled part location information with the respective pooled point cloud semantic features, and performing at least one of: correcting each of the at least one initial 3D bounding box according to a respective merged feature, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective merged feature.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein, in performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective merged feature, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective merged feature, the instructions, when being executed by the processor, cause the processor to carry out the following:
for each of the at least one initial 3D bounding box, vectorizing the respective merged feature to be a respective feature vector, and performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective feature vector, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective feature vector; or
for each of the at least one initial 3D bounding box, executing a sparse convolution operation on the respective merged feature to obtain a respective feature map having subjected to the sparse convolution operation, and performing at least one of: correcting each of the at least one initial 3D bounding box according to the respective feature map having subjected to the sparse convolution operation, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective feature map having subjected to the sparse convolution operation; or
for each of the at least one initial 3D bounding box, executing the sparse convolution operation on the respective merged feature to obtain the respective feature map having subjected to the sparse convolution operation, downsampling the respective feature map having subjected to the sparse convolution operation, and performing at least one of: correcting each of the at least one initial 3D bounding box according to a respective downsampled feature map, or determining the respective confidence of each of the at least one initial 3D bounding box according to the respective downsampled feature map.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein, in downsampling the respective feature map having subjected to the sparse convolution operation, the instructions, when being executed by the processor, cause the processor to carry out the following:
executing a pooling operation on the respective feature map having subjected to the sparse convolution operation for downsampling the respective feature map having subjected to the sparse convolution operation.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the instructions, when being executed by the processor, cause the processor to carry out the following:
acquiring the 3D point cloud data; and
performing 3D meshing on the 3D point cloud data to obtain 3D meshes, and extracting each of the point cloud semantic features corresponding to the 3D point cloud data from a respective non-null mesh among the 3D meshes.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein, in determining the part location information of the foreground points based on the point cloud semantic features, the instructions, when being executed by the processor, cause the processor to carry out the following:
segmenting, according to the point cloud semantic features, a foreground from a background in the point cloud data to determine the foreground points, wherein the foreground points are point cloud data belonging to the object in the point cloud data; and
processing, by a neural network, the determined foreground points to obtain the part location information of the foreground points, wherein the neural network is configured to predict the part location information of the foreground points,
wherein the neural network is trained by using a training dataset comprising annotation information of a 3D box, and the annotation information of the 3D box at least comprises part location information of foreground points in point cloud data in the training dataset.

### Claim 20

A non-transitory computer storage medium having stored thereon a computer program that, when being executed by a computer, causes the computer to carry out the following:
acquiring three-dimensional (3D) point cloud data;
determining point cloud semantic features corresponding to the 3D point cloud data according to the 3D point cloud data;
determining part location information of foreground points based on the point cloud semantic features, wherein the foreground points represent point cloud data belonging to an object in the 3D point cloud data, and the part location information of the foreground points indicates a relative location of each of the foreground points in the object;
extracting at least one initial 3D bounding box based on the 3D point cloud data; and
determining a 3D bounding box for the object according to the point cloud semantic features corresponding to the 3D point cloud data, the part location information of the foreground points, and the at least one initial 3D bounding box, wherein the object exists in a region in the 3D bounding box.
