# US 2022/0036574 A1 · System and method for obstacle avoidance

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

- Number: US 2022/0036574 A1
- Document ID: US20220036574A1
- Status: Published application
- Kind: A1
- Application number: 17/503,541
- Filed: 2021-10-18
- Published: 2022-02-03
- Earliest claimed: 2016-08-01
- Assignees: Sz Dji Technology Co., Ltd.
- Applicants: Sz Dji Technology Co., Ltd.
- Inventors: Honghui ZHANG; Lei HAN; Xiao HU
- Web page: https://patentgrep.com/patent/US20220036574A1

## CPC

- G06T 7/593: from stereo images
- B64U 10/13: Flying platforms
- B64U 30/20: Rotors; Rotor supports
- G05D 1/101: {specially adapted for aircraft}
- G06T 7/579: from motion
- G06T 7/74: {involving reference images or patches}
- H04N 13/128: Adjusting depth or disparity
- H04N 13/204: using stereoscopic image cameras (stereoscopic photography G03B35/00)
- B64U 50/13: using external fans or propellers
- B64U 2201/00: UAVs characterised by their flight controls
- G06T 2207/10012: Stereo images
- G06T 2207/10016: Video; Image sequence
- G06T 2207/30244: Camera pose
- H04N 2013/0081: {Depth or disparity estimation from stereoscopic image signals}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- B64U: UNMANNED AERIAL VEHICLES [UAV]; EQUIPMENT THEREFOR
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for acquiring an obstacle distance including determining a detection mode for detecting an obstacle distance of an obstacle; detecting the obstacle distance using the detection mode. Detecting the obstacle distance includes in response to determining a monocular mode as the detection mode: capturing a first image and a second image using a lens of an imaging device at two different times with a predetermined monocular imaging interval at two different locations; and calculating the obstacle distance via a monocular triangulation based on the first image, the second image, and a displacement of the imaging device between the two different times. Both the first image and the second image contain the obstacle. The predetermined monocular imaging interval varies based upon an altitude of the imaging device changes.

## Claims

### Claim 1

A method for acquiring an obstacle distance, comprising:
determining a detection mode for detecting an obstacle distance of an obstacle;
detecting the obstacle distance using the detection mode, including in response to determining a monocular mode as the detection mode:
capturing a first image and a second image using a lens of an imaging device at two different times with a predetermined monocular imaging interval at two different locations, both the first image and the second image containing the obstacle, where the predetermined monocular imaging interval varies based upon an altitude of the imaging device changes; and
calculating the obstacle distance via a monocular triangulation based on the first image, the second image, and a displacement of the imaging device between the two different times.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining the displacement of the imaging device between the two different times via an inertial measurement unit (IMU).

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the detection mode includes:
selecting the detection mode from a plurality of detection modes including the monocular mode and a binocular mode.

### Claim 4 (depends on 3)

The method of claim 3, wherein selecting the detection mode includes:
obtaining a disparity between two images of the obstacle; and
selecting the detection mode from the plurality of detection modes based on the disparity between the two images.

### Claim 5 (depends on 4)

The method of claim 4, wherein selecting the detection mode further includes:
comparing the disparity with a predetermined disparity threshold level; and
selecting the monocular mode as the detection mode in response to the disparity being less than the predetermined disparity threshold level, and selecting the binocular mode as the detection mode in response to the disparity being greater than or equal to the predetermined disparity threshold level.

### Claim 6 (depends on 4)

The method of claim 4,
wherein obtaining the disparity includes associating each feature point of a first one of the two images with a corresponding point of a second one of the two images; and
the method further comprising:
generating a three-dimensional (3D) stereoscopic cloud of the obstacle based on the feature points and the obstacle distance.

### Claim 7 (depends on 3)

The method of claim 3, wherein detecting the obstacle distance further includes in response to selecting binocular mode as the detection mode:
simultaneously capturing a third image with a first lens of the imaging device and capturing a fourth image with a second lens of the imaging device;
determining a baseline between the first lens and the second lens; and
calculating the obstacle distance using a binocular triangulation based on the third image, the fourth image, and the baseline.

### Claim 8

An unmanned aerial vehicle (UAV), comprising:
a plurality of propellers for providing a lifting power; and
one or more processors, individually or collectively, configured to:
determine a detection mode for detecting an obstacle distance of an obstacle;
detect the obstacle distance using the detection mode, including in response to determining a monocular mode as the detection mode:
capturing a first image and a second image using a lens of an imaging device at two different times with a predetermined monocular imaging interval at two different locations, both the first image and the second image containing the obstacle, where the predetermined monocular imaging interval varies based upon an altitude of the imaging device changes; and
calculating the obstacle distance via a monocular triangulation based on the first image, the second image, and a displacement of the imaging device between the two different times.

### Claim 9 (depends on 8)

The UAV of claim 8, further comprising an inertial measurement unit (IMU) configured to:
determine the displacement of the imaging device between the two different times.

### Claim 10 (depends on 8)

The UAV of claim 8, wherein the one or more processors are further configured to:
select the detection mode from a plurality of detection modes including the monocular mode and a binocular mode.

### Claim 11 (depends on 10)

The UAV of claim 10, wherein the one or more processors are further configured to:
obtain a disparity between two images of the obstacle; and
select the detection mode from the plurality of detection modes based on the disparity between the two images

### Claim 12 (depends on 11)

The UAV of claim 11, wherein the one or more processors are further configured to:
compare the disparity with a predetermined disparity threshold level; and
select the monocular mode as the detection mode in response to the disparity being less than the predetermined disparity threshold level, and select the binocular mode as the detection mode in response to the disparity being greater than or equal to the predetermined disparity threshold level.

### Claim 13 (depends on 11)

The UAV of claim 11, wherein the one or more processors are further configured to:
associate each feature point of a first one of the two images with a corresponding point of a second one of the two images; and
generate a three-dimensional (3D) stereoscopic cloud of the obstacle based on the feature points and the obstacle distance.

### Claim 14 (depends on 8)

The UAV of claim 8, wherein the one or more processors are further configured to:
control the UAV to avoid the obstacle based on the obstacle distance.

### Claim 15 (depends on 14)

The UAV of claim 14, wherein the one or more processors are further configured to:
perform motion estimation of the imaging device; and
control the UAV to avoid the obstacle based on the obstacle distance and the motion estimation.

### Claim 16 (depends on 15)

The UAV of claim 15, wherein the one or more processors are further configured to:
perform the motion estimation with a binocular mode or the monocular mode.

### Claim 17 (depends on 16)

The UAV of claim 16, wherein the one or more processors are further configured to:
determine a motion transformation of the imaging device between different times; and

### Claim 18 (depends on 17)

The UAV of claim 17, wherein the one or more processors are further configured to:
acquire a velocity, a rotation, and an orientation of the imaging device for determining the motion transformation.

### Claim 19 (depends on 18)

The UAV of claim 18, wherein further includes an IMU configured to acquire the velocity, the rotation, and the orientation of the imaging device.

### Claim 20

An apparatus for assisting obstacle avoidance of a mobile platform, comprising one or more processors, individually or collectively, operate to:
determine a detection mode for detecting an obstacle distance of an obstacle;
detect the obstacle distance using the detection mode, including in response to determining a monocular mode as the detection mode:
capturing a first image and a second image using a lens of an imaging device at two different times with a predetermined monocular imaging interval at two different locations, both the first image and the second image containing the obstacle, where the predetermined monocular imaging interval varies based upon an altitude of the imaging device changes; and
calculating the obstacle distance via a monocular triangulation based on the first image, the second image, and a displacement of the imaging device between the two different times.
