# US 2022/0036065 A1 · Loop closure detection method, mobile device and computer readable storage medium

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

- Number: US 2022/0036065 A1
- Document ID: US20220036065A1
- Status: Published application
- Kind: A1
- Application number: 16/953,378
- Filed: 2020-11-20
- Published: 2022-02-03
- Earliest claimed: 2020-08-03
- Assignees: Ubtech Robotics Corp Ltd
- Applicants: Ubtech Robotics Corp Ltd
- Inventors: Rui Guo; Zhichao Liu; Chenchen Jiang; Youjun Xiong
- Web page: https://patentgrep.com/patent/US20220036065A1

## CPC

- G06V 20/00: Scenes; Scene-specific elements (control of digital cameras H04N23/60)
- G01C 21/20: Instruments for performing navigational calculations (G01C21/24, G01C21/26 take precedence)
- G05D 1/0246: {using a video camera in combination with image processing means}
- G05D 1/0274: {using mapping information stored in a memory device (navigation using map-matching G01C21/30)}
- G06V 10/40: Extraction of image or video features
- G06V 10/44: Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V 10/751: {Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching}
- G06V 20/30: in albums, collections or shared content, e.g. social network photos or video
- H04N 23/698: for achieving an enlarged field of view, e.g. panoramic image capture
- H04N 23/90: Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides a loop closure detection method, a mobile device, and a computer readable storage medium. The method includes: collecting images in different detection directions simultaneously through C0 cameras installed on the mobile device to obtain an image data group comprising C0 images; calculating feature information of each image in the image data group; performing a loop closure detection in C0 sub-threads respectively based on the feature information to obtain a loop closure detection result of each sub-thread; and determining a loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread. In this manner, cross detections in a plurality of detection directions can be realized, which breaks through the limitation of loop closure detection in the prior art with respect to path direction, avoids repeated paths in the same direction, and greatly improves the mapping efficiency.

## Claims

### Claim 1

A computer-implemented loop closure detection method for a mobile device, comprising steps of:
collecting images in different detection directions simultaneously through C0 cameras installed on the mobile device to obtain an image data group comprising C0 images, wherein C0 is an integer larger than 1;
calculating feature information of each image in the image data group;
performing a loop closure detection in C0 sub-threads respectively based on the feature information to obtain a loop closure detection result of each sub-thread, wherein each sub-thread corresponds to the loop closure detection in one detection direction; and
determining a loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of calculating the feature information of each image in the image data group comprises:
extracting a corner point feature set of the j-th image in the image data group, wherein 0≤j<C0;
calculating a descriptor set corresponding to the corner point feature set; and
using the corner point feature set and the descriptor set as feature information of the j-th image in the image data group.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of performing the loop closure detection in C0 sub-threads respectively based on the feature information to obtain the loop closure detection result of each sub-thread comprises:
traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread, wherein 0≤i<C0; and
determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step of traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprises:
inserting the feature information of the j-th image into a target loop closure database, wherein the target loop closure database is the j-th loop closure database of the i-th sub-thread, wherein 0≤j<C0;
determining loop closure query frame information corresponding to the target loop closure database, and performing a loop closure frame information retrieval in the target loop closure database based on the loop closure query frame information;
calculating an inlier point matching amount between the loop closure frame information and the loop closure query frame information, in response to the loop closure frame information being retrieved; and
determining the loop closure detection result corresponding to the feature information of the j-th image in the i-th sub-thread based on the inlier point matching amount.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step of determining the loop closure query frame information corresponding to the target loop closure database comprises:
determining a sequence number of the loop closure query frame information in the target loop closure database based on the following formula:
c=(j+i)% C0;
where, c is the sequence number of the loop closure query frame information in the target loop closure database, and 0≤c<C0.

### Claim 6 (depends on 3)

The method of claim 3, wherein the step of determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprises:
selecting the loop closure detection result with the largest inlier point matching amount from the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread to take as the loop closure detection result of the i-th sub-thread.

### Claim 7 (depends on 1)

The method of claim 1, wherein the step of determining the loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread comprises:
selecting the loop closure detection result with the largest inlier point matching amount from the loop closure detection results of the sub-threads to take as the loop closure detection result of the mobile device.

### Claim 8

A mobile device, comprising:
C0 cameras;
a memory;
a processor; and
one or more computer programs stored in the memory and executable on the processor, wherein the one or more computer programs comprise:
instructions for collecting images in different detection directions simultaneously through the C0 cameras to obtain an image data group comprising C0 images, wherein C0 is an integer larger than 1;
instructions for calculating feature information of each image in the image data group;
instructions for performing a loop closure detection in C0 sub-threads respectively based on the feature information to obtain a loop closure detection result of each sub-thread, wherein each sub-thread corresponds to the loop closure detection in one detection direction; and
instructions for determining a loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread.

### Claim 9 (depends on 8)

The mobile device of claim 8, wherein the instructions for calculating the feature information of each image in the image data group comprise:
instructions for extracting a corner point feature set of the j-th image in the image data group, wherein 0≤j<C0;
instructions for calculating a descriptor set corresponding to the corner point feature set; and
instructions for using the corner point feature set and the descriptor set as feature information of the j-th image in the image data group.

### Claim 10 (depends on 8)

The mobile device of claim 8, wherein the instructions for performing the loop closure detection in C0 sub-threads respectively based on the feature information to obtain the loop closure detection result of each sub-thread comprise:
instructions for traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread, wherein 0≤i<C0; and
instructions for determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread.

### Claim 11 (depends on 10)

The mobile device of claim 10, wherein the instructions for traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprise:
instructions for inserting the feature information of the j-th image into a target loop closure database, wherein the target loop closure database is the j-th loop closure database of the i-th sub-thread, wherein 0≤j<C0;
instructions for determining loop closure query frame information corresponding to the target loop closure database, and performing a loop closure frame information retrieval in the target loop closure database based on the loop closure query frame information;
instructions for calculating an inlier point matching amount between the loop closure frame information and the loop closure query frame information, in response to the loop closure frame information being retrieved; and
instructions for determining the loop closure detection result corresponding to the feature information of the j-th image in the i-th sub-thread based on the inlier point matching amount.

### Claim 12 (depends on 11)

The mobile device of claim 11, wherein the instructions for determining the loop closure query frame information corresponding to the target loop closure database comprise:
instructions for determining a sequence number of the loop closure query frame information in the target loop closure database based on the following formula:
c=(j+i)% C0;
where, c is the sequence number of the loop closure query frame information in the target loop closure database, and 0≤c<C0.

### Claim 13 (depends on 10)

The mobile device of claim 10, wherein the instructions for determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprise:
instructions for selecting the loop closure detection result with the largest inlier point matching amount from the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread to take as the loop closure detection result of the i-th sub-thread.

### Claim 14 (depends on 8)

The mobile device of claim 8, wherein the instructions for determining the loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread comprise:
instructions for selecting the loop closure detection result with the largest inlier point matching amount from the loop closure detection results of the sub-threads to take as the loop closure detection result of the mobile device.

### Claim 15

A non-transitory computer-readable storage medium storing one or more computer programs executable on a processor to implement a loop closure detection method, wherein the one or more computer programs comprise:
instructions for collecting images in different detection directions simultaneously through C0 cameras installed on a mobile device to obtain an image data group comprising C0 images, wherein C0 is an integer larger than 1;
instructions for calculating feature information of each image in the image data group;
instructions for performing a loop closure detection in C0 sub-threads respectively based on the feature information to obtain a loop closure detection result of each sub-thread, wherein each sub-thread corresponds to the loop closure detection in one detection direction; and
instructions for determining a loop closure detection result of the mobile device based on the loop closure detection result of each sub-thread.

### Claim 16 (depends on 15)

The storage medium of claim 15, wherein the instructions for calculating the feature information of each image in the image data group comprise:
instructions for extracting a corner point feature set of the j-th image in the image data group, wherein 0≤j<C0;
instructions for calculating a descriptor set corresponding to the corner point feature set; and
instructions for using the corner point feature set and the descriptor set as feature information of the j-th image in the image data group.

### Claim 17 (depends on 15)

The storage medium of claim 15, wherein the instructions for performing the loop closure detection in C0 sub-threads respectively based on the feature information to obtain the loop closure detection result of each sub-thread comprise:
instructions for traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread, wherein 0≤i<C0; and
instructions for determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread.

### Claim 18 (depends on 17)

The storage medium of claim 17, wherein the instructions for traversing the feature information of each image in the i-th sub-thread to obtain the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprise:
instructions for inserting the feature information of the j-th image into a target loop closure database, wherein the target loop closure database is the j-th loop closure database of the i-th sub-thread, wherein 0≤j<C0;
instructions for determining loop closure query frame information corresponding to the target loop closure database, and performing a loop closure frame information retrieval in the target loop closure database based on the loop closure query frame information;
instructions for calculating an inlier point matching amount between the loop closure frame information and the loop closure query frame information, in response to the loop closure frame information being retrieved; and
instructions for determining the loop closure detection result corresponding to the feature information of the j-th image in the i-th sub-thread based on the inlier point matching amount.

### Claim 19 (depends on 18)

The storage medium of claim 18, wherein the instructions for determining the loop closure query frame information corresponding to the target loop closure database comprise:
instructions for determining a sequence number of the loop closure query frame information in the target loop closure database based on the following formula:
c=(j+i)% C0;
where, c is the sequence number of the loop closure query frame information in the target loop closure database, and 0≤c<C0.

### Claim 20 (depends on 17)

The storage medium of claim 17, wherein the instructions for determining the loop closure detection result of the i-th sub-thread based on the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread comprise:
instructions for selecting the loop closure detection result with the largest inlier point matching amount from the loop closure detection result corresponding to the feature information of each image in the i-th sub-thread to take as the loop closure detection result of the i-th sub-thread.
