# US 2021/0278199 A1 · Method, device, apparatus and storage medium for detecting a height of an obstacle

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

- Number: US 2021/0278199 A1
- Document ID: US20210278199A1
- Status: Published application
- Kind: A1
- Application number: 17/303,300
- Filed: 2021-05-26
- Published: 2021-09-09
- Earliest claimed: 2018-09-11
- Assignees: Baidu Online Network Technology (Beijing) Co., Ltd.
- Applicants: Baidu Online Network Technology (Beijing) Co., Ltd.
- Inventors: Han GAO; Xun SUN; Tian XIA
- Web page: https://patentgrep.com/patent/US20210278199A1

## CPC

- G01B 11/026: {by measuring distance between sensor and object (G01B11/0608 takes precedence)}
- G01B 11/022: {by means of tv-camera scanning}
- G01B 11/03: by measuring coordinates of points
- G01C 11/00: Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
- G05D 1/0088: {characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours (using knowledge based models G06N5/00)}
- G05D 1/0246: {using a video camera in combination with image processing means}
- 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 2201/12: Acquisition of 3D measurements of objects
- G01B: MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- 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
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method, device, apparatus and a computer-readable storage medium for detecting a height of an obstacle are provided. The method can include: acquiring observation data of a plurality of reference obstacles from a frame; according to the observation data of each of the reference obstacles, fitting a function F: Z=F(ymax), wherein the observation data of a reference obstacle comprises a longitudinal coordinate of a bottom of the reference obstacle in the frame, and a distance between the reference obstacle and a camera capturing the frame; and determining a distance between the obstacle to be detected and the camera, according to the longitudinal coordinate of the bottom of the obstacle in the frame and the function F; and determining an evaluation value of the height of the obstacle to be detected according to the distance between the obstacle to be detected and the camera.

## Claims

### Claim at position 1

1-4. (canceled)

### Claim 5

A method for detecting a height of an obstacle, comprising:
acquiring observation data of a plurality of reference obstacles from a frame;
according to the observation data of each of the reference obstacles, fitting a function F:
Z=F(ymax),
where the observation data of a reference obstacle comprises a longitudinal coordinate of a bottom of the reference obstacle in the frame, and a distance between the reference obstacle and a camera capturing the frame, and
where ymax is a longitudinal coordinate of a bottom of the reference obstacle in the frame, and Z is a distance between the reference obstacle and the camera;
determining a distance between the obstacle to be detected and the camera, according to the longitudinal coordinate of the bottom of the obstacle in the frame and the function F; and
determining an evaluation value of a height of the obstacle to be detected, according to the distance between the obstacle to be detected and the camera.

### Claim 6 (depends on 5)

The method according to claim 5, wherein determining an evaluation value of a height of the obstacle to be detected, according to the distance between the obstacle to be detected and the camera comprises:
determining the evaluation value of the height of the obstacle to be detected with the following equation:
Hp
′
=
h
⁢
⁢
p
f
·
Zp
where Hp′ is the evaluation value of the height of the obstacle to be detected;
hp is a observed height of the obstacle to be detected in the frame;
f is a focal length of the camera; and
Zp is a distance between the obstacle to be detected and the camera.

### Claim 7 (depends on 5)

The method according to claim 5, wherein before acquiring observation data of a plurality of reference obstacles from a frame, the method further comprises:
selecting an obstacle, a type of which has a fixed height and a bottom center of which is located in a preset area, as a reference obstacle, wherein the preset area is divided into a plurality of divisions in advance, each division comprising no more than one reference obstacle.

### Claim at position 5

8-11. (canceled)

### Claim 12

A device for detecting a height of an obstacle, comprising:
one or more processors; and
a storage device configured for storing one or more programs, wherein the one or more programs are executed by the one or more processors to enable the one or more processors to:
acquire observation data of a plurality of reference obstacles from a frame;
according to the observation data of each of the reference obstacles, fit a function F: Z=F(ymax), wherein the observation data of a reference obstacle comprises a longitudinal coordinate of a bottom of the reference obstacle in the frame, and a distance between the reference obstacle and a camera capturing the frame;
wherein ymax is a longitudinal coordinate of a bottom of the reference obstacle in the frame; and
Z is a distance between the reference obstacle and the camera;
determine a distance between the obstacle to be detected and the camera, according to the longitudinal coordinate of the bottom of the obstacle in the frame and the function F; and
determine an evaluation value of a height of the obstacle to be detected, according to the distance between the obstacle to be detected and the camera.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the one or more programs are executed by the one or more processors to enable the one or more processors to: determine the evaluation value of the height of the obstacle to be detected with the following equation:
Hp
′
=
h
⁢
⁢
p
f
·
Zp
where Hp′ is the evaluation value of the height of the obstacle to be detected;
hp is a observed height of the obstacle to be detected in the frame;
f is a focal length of the camera; and
Zp is a distance between the obstacle to be detected and the camera.

### Claim 14 (depends on 12)

The device according to claim 12, wherein the one or more programs are executed by the one or more processors to enable the one or more processors to: select an obstacle, a type of which has a fixed height and a bottom center of which is located in a preset area, as a reference obstacle, wherein the preset area is divided into a plurality of divisions in advance, each division comprising no more than one reference obstacle.

### Claim 15

(canceled)

### Claim 16

A non-transitory computer-readable storage medium, in which a computer program is stored, wherein the computer program is executed by a processor to enable the processor to:
acquire observation data of a plurality of reference obstacles from a frame;
according to the observation data of each of the reference obstacles, fit a function:
F: Z=F(ymax),
wherein the observation data of a reference obstacle comprises a longitudinal coordinate of a bottom of the reference obstacle in the frame, and a distance between the reference obstacle and a camera capturing the frame;
wherein ymax is a longitudinal coordinate of a bottom of the reference obstacle in the frame; and Z is a distance between the reference obstacle and the camera;
determine a distance between the obstacle to be detected and the camera, according to the longitudinal coordinate of the bottom of the obstacle in the frame and the function F; and
determine an evaluation value of a height of the obstacle to be detected, according to the distance between the obstacle to be detected and the camera.

### Claim 17 (depends on 16)

The storage medium according to claim 16, wherein the computer program is executed by the processor to enable the processor to: determine the evaluation value of the height of the obstacle to be detected with the following equation:
Hp
′
=
h
⁢
⁢
p
f
·
Zp
wherein Hp′ is the evaluation value of the height of the obstacle to be detected;
hp is a observed height of the obstacle to be detected in the frame;
f is a focal length of the camera; and
Zp is a distance between the obstacle to be detected and the camera.

### Claim 18 (depends on 16)

The storage medium according to claim 16, wherein the computer program is executed by the processor to enable the processor to: select an obstacle, a type of which has a fixed height and a bottom center of which is located in a preset area, as a reference obstacle, wherein the preset area is divided into a plurality of divisions in advance, each division comprising no more than one reference obstacle.
