IP Library Granted Patent US 11,295,144
Granted Patent B2
US 11,295,144 · App. 16/515,985 · Granted Apr 5, 2022

Obstacle classification method and apparatus based on unmanned vehicle, device, and storage medium

Inventor: Jiang Guo (Haidian District Beijing, CN)
Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
G06K9/00805G06F16/2246G06K9/628G06K9/6268G06N5/003G06N5/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,295,144
App. No.
16/515,985
Granted
Apr 5, 2022
Kind
B2
Abstract

An obstacle classification method and apparatus based on unmanned vehicle, a device, and a storage medium are provided. The method includes: obtaining obstacle information of a plurality of obstacles detected by a detection device of the unmanned vehicle; and performing classification processing on the obstacle information using a compressed random forest model, to obtain a result of obstacle classification, where a non-leaf node of each decision tree of the compressed random forest model stores only feature index information, classification threshold index information and node position index information, the node position index information is left or right node position index information; a leaf node of each decision tree stores only class index information. Only part of information needs to be stored, and there is no need to occupy more memory and space of the unmanned vehicle system, thereby reducing the memory occupancy, and improving the speed and efficiency of classification.

Claims (50)

1. An obstacle classification method based on an unmanned vehicle, comprising:

obtaining obstacle information of a plurality of obstacles detected by a detection device of the unmanned vehicle; and

performing classification processing on the obstacle information of the plurality of obstacles using a compressed random forest model, to obtain a result of obstacle classification, wherein the compressed random forest model comprises at least two decision trees; a non-leaf node of each decision tree of the at least two decision trees stores only feature index information, classification threshold index information and node position index information, wherein the node position index information is left node position index information or right node position index information, the left node position index information is used to indicate positions of a left node and a right node under the non-leaf node, and the right node position index information is used to indicate the positions of the left node and the right node under the non-leaf node; a leaf node of each decision tree stores only class index information,

wherein the performing classification processing on the obstacle information of the plurality of obstacles using a compressed random forest model, to obtain a result of obstacle classification comprises:

distributing the obstacle information of the plurality of obstacles into the decision trees of the compressed random forest model;

performing, in each decision tree of the compressed random forest model, classification processing on the obstacle information inputted into the each decision tree, to obtain obstacle class information outputted from the leaf node of each decision tree; and

obtaining the result of the obstacle classification according to the obstacle class information outputted from the leaf node of each decision tree,

wherein the performing, in each decision tree of the compressed random forest model, classification processing on the obstacle information inputted into the each decision tree, to obtain obstacle class information outputted from the leaf node of each decision tree comprises:

performing, in each decision tree of the compressed random forest model, the classification processing on the obstacle information inputted into the each decision tree, and determining whether or not the non-leaf node of each decision tree has the left node or the right node;

storing the feature index information, the classification threshold index information, and the right node position index information in the non-leaf node of each decision tree in response to the non-leaf node of the each decision tree having the right node but not having the left node;

storing the feature index information, the classification threshold index information, and the left node position index information in the non-leaf node of each decision tree in response to the non-leaf node of the each decision tree having the left node but not having the right node;

storing the feature index information and the classification threshold index information in the non-leaf node of each decision tree, and store the left node position index information or the right node position index information in the non-leaf node of each decision tree, in response to the non-leaf node of the each decision tree having both the left node and the right node; and

obtaining, according to a process of the classification processing, the obstacle class information outputted from the leaf node of each decision tree.

2. The method according to claim 1 , wherein after the performing classification processing on the obstacle information of the plurality of obstacles using a compressed random forest model, to obtain a result of obstacle classification, the method further comprises:

storing information that is stored in the leaf node of each decision tree of the compressed random forest model into a parent node corresponding to the leaf node; and

deleting the leaf node of each decision tree of the compressed random forest model.

3. The method according to claim 1 , wherein the non-leaf node comprises a root node, a node having a child node and a parent node.

4. The method according to claim 1 , wherein the left node position index information is information on a relative address of the left node of each node in the decision tree relative to the right node of the each node;

the right node position index information is information on a relative address of the right node of each node in the decision tree relative to the left node of the each node.

5. The method according to claim 1 , wherein a field of the feature index information occupies 2 bytes, a field of the class index information occupies 2 bytes, a field of the classification threshold index information occupies 4 bytes, a field of the left node position index information occupies 4 bytes, and a field of the right node position index information occupies 4 bytes.

6. The method according to claim 1 , wherein the detection device is any one of the following:

a laser radar sensor, ultrasonic radar, an image detector, and an infrared detection device.

7. The method according to claim 1 , wherein the obstacle information comprises at least one of the following:

a movement speed of an obstacle, a volume of the obstacle, heat of the obstacle, and a distance between the obstacle and the unmanned vehicle.

8. An obstacle classification apparatus based on an unmanned vehicle, comprising a transmitter, a receiver, a memory and a processor;

the memory is configured to store computer instructions; the processor, when executing the computer instructions stored in the memory, is configured to:

obtain obstacle information of a plurality of obstacles detected by a detection device of the unmanned vehicle; and

perform classification processing on the obstacle information of the plurality of obstacles using a compressed random forest model, to obtain a result of obstacle classification, wherein the compressed random forest model comprises at least two decision trees; a non-leaf node of each decision tree of the at least two decision trees stores only feature index information, classification threshold index information and node position index information, wherein the node position index information is left node position index information or right node position index information, the left node position index information is used to indicate positions of a left node and a right node under the non-leaf node, and the right node position index information is used to indicate the positions of the left node and the right node under the non-leaf node; a leaf node of each decision tree stores only class index information;

wherein the processor is further configured to:

distribute the obstacle information of the plurality of obstacles into the decision trees of the compressed random forest model;

perform, in each decision tree of the compressed random forest model, classification processing on the obstacle information inputted into the each decision tree, to obtain obstacle class information outputted from the leaf node of each decision tree; and

obtain the result of the obstacle classification according to the obstacle class information outputted from the leaf node of each decision tree;

wherein the processor is further configured to:

perform, in each decision tree of the compressed random forest model, classification processing on the obstacle information inputted into the each decision tree, and determine whether or not the non-leaf node of each decision tree has the left node or the right node;

store the feature index information, the classification threshold index information and the right node position index information in the non-leaf node of each decision tree if it is determined that the non-leaf node of the each decision tree has the right node but does not have the left node;

store the feature index information, the classification threshold index information and the left node position index information in the non-leaf node of each decision tree if it is determined that the non-leaf node of the each decision tree has the left node but does not have the right node;

store the feature index information and the classification threshold index information in the non-leaf node of each decision tree, and store the left node position index information or the right node position index information in the non-leaf node of each decision tree, if it is determined that the non-leaf node of the each decision tree has both the left node and the right node; and

obtain, according to a process of the classification processing, the obstacle class information outputted from the leaf node of each decision tree.

9. The apparatus according to claim 8 , wherein the processor is further configured to:

store information that is stored in the leaf node of each decision tree of the compressed random forest model into a parent node corresponding to the leaf node after performing the classification processing on the obstacle information of the plurality of obstacles using the compressed random forest model and obtaining the result of the obstacle classification; and

delete the leaf node of each decision tree of the compressed random forest model.

10. The apparatus according to claim 8 , wherein the non-leaf node comprises a root node, a node having a child node and a parent node.

11. The apparatus according to claim 8 , wherein the left node position index information is information on a relative address of the left node of each node in the decision tree relative to the right node of the each node;

the right node position index information is information on a relative address of the right node of each node in the decision tree relative to the left node of the each node.

12. The apparatus according to claim 8 , wherein a field of the feature index information occupies 2 bytes, a field of the class index information occupies 2 bytes, a field of the classification threshold index information occupies 4 bytes, a field of the left node position index information occupies 4 bytes, and a field of the right node position index information occupies 4 bytes.

13. The apparatus according to claim 8 , wherein the detection device is any one of the following:

a laser radar sensor, ultrasonic radar, an image detector, and an infrared detection device.

14. The apparatus according to claim 8 , wherein the obstacle information comprises at least one of the following:

a movement speed of an obstacle, a volume of the obstacle, heat of the obstacle, and a distance between the obstacle and the unmanned vehicle.

15. A non-transitory computer-readable storage medium, comprising a readable storage medium and computer instructions stored in the readable storage medium; the computer instructions are used to implement the obstacle classification method based on the unmanned vehicle according to claim 1 .

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE APPLICANT NAME PREVIOUSLY RECORDED AT REEL: 057933 FRAME: 0812. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Dec 28, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: APOLLO INTELLIGENT DRIVING TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 058594/0836 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2021
From: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
To: APOLLO INTELLIGENT DRIVING (BEIJING) TECHNOLOGY CO., LTD.
Reel/Frame 057933/0812 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2019
From: GUO, JIANG
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 049795/0207 →
Priority Claims (1)
CN 201811044529.8 · Sep 7, 2018 · national
Continuity (1)
Related Publication 20200065592A1 · Feb 27, 2020