IP Library Granted Patent US 10,810,748
Granted Patent B2
US 10,810,748 · App. 16/012,569 · Granted Oct 20, 2020

Multiple targets—tracking method and apparatus, device and storage medium

Inventors: Han Gao (Beijing, CN); Ji Wan (Beijing, CN); Tian Xia (Beijing, CN)
Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
G06T7/251G06F17/16G06K9/00295G06K9/2054G06K9/46G06K9/6212G06K9/6215G06N3/0454G06N3/08G06N5/046G06T7/11G06T7/246G06T7/97G06T2207/10016G06T2207/20081G06T2207/20084
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 10,810,748
App. No.
16/012,569
Granted
Oct 20, 2020
Kind
B2
Abstract

The present disclosure provides a multiple targets-tracking method and apparatus, a device and a storage medium, wherein the method comprises: obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, and obtaining a target detection result; respectively extracting feature vectors of each detected target from a pre-selected convolutional layer; respectively calculating a similarity between the feature vectors of each target in the current image and feature vectors of each target of previous images, completing association of the same target between different image frames according to calculation results, and allocating a tracking serial number. The solution of the present disclosure may be applied to meet requirements for real-time processing.

Claims (84)

1. A multiple targets-tracking method, comprising:

obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets;

respectively extracting a feature vector of each detected target from features of the current image generated by a pre-selected convolutional layer of the convolutional neural network model during the detection of multiple targets; and

respectively calculating a similarity between the feature vector of each target in current image and a feature vector of each target in previous images, completing association of the same target between different image frames according to calculation results, and allocating a same tracking serial number to the same target between different image frames.

2. The method according to claim 1 , wherein

the obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets further comprises:

obtaining images as training data, and respectively obtaining a notation result of each target in each frame of images as the training data;

obtaining the convolutional neural network model by training according to the images as the training data and the notation results of each target therein.

3. The method according to claim 1 , wherein

the respectively extracting the feature vector of each detected target from features of the current image generated by a pre-selected convolutional layer comprises:

respectively performing the following processing for each detected target:

finding a corresponding area of the target in the selected convolutional layer;

extracting convolutional features corresponding to the area in a roi pooling manner;

normalizing the extracted convolutional features to obtain the feature vector of the target.

4. The method according to claim 1 , wherein

the respectively calculating a similarity between the feature vector of each target in current image and the feature vector of each target in previous images comprises:

with respect to each detected target, respectively calculating the similarity between the feature vector of the target and the feature vector of each target in previous images according to a similarity estimating model obtained by pre-training.

5. The method according to claim 4 , wherein

before obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets, the method further comprises:

obtaining each target as the training data and corresponding feature vectors; and

obtaining the similarity estimating model by training according to a principle that a similarity between feature vectors from the same target is larger than a similarity between feature vectors from different targets.

6. The method according to claim 5 , wherein

the similarity estimating model is:

similarity( x,z )= x T θz,

wherein x and z respectively represent two feature vectors;

x T is the transpose of x;

θ represents a similarity parameter obtained from the training;

similarity(x,z) represents the similarity resulting from the calculation.

7. A computer device, comprising a memory, a processor and a computer program which is stored on the memory and runs on the processor, wherein the processor, upon executing the program, implements the following operation:

obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets;

respectively extracting a feature vector of each detected target from features of the current image generated by a pre-selected convolutional layer of the convolutional neural network model during the detection of multiple targets; and

respectively calculating a similarity between the feature vectors of each target in current image and a feature vector of each target in previous images, completing association of the same target between different image frames according to calculation results, and allocating a same tracking serial number to the same target between different image frames.

8. The computer device according to claim 7 , wherein

the obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets further comprises:

obtaining images as training data, and respectively obtaining a notation result of each target in each frame of images as the training data; and

obtaining the convolutional neural network model by training according to the images as the training data and the notation results of each target therein.

9. The computer device according to claim 7 , wherein

the respectively extracting the feature vectors of each detected target from features of the current image generated by a pre-selected convolutional layer comprises:

respectively performing the following processing for each detected target:

finding a corresponding area of the target in the selected convolutional layer;

extracting convolutional features corresponding to the area in a roi pooling manner; and

normalizing the extracted convolutional features to obtain the feature vector of the target.

10. The computer device according to claim 7 , wherein

the respectively calculating a similarity between the feature vector of each target in current image and the feature vectors of each target in previous images comprises:

with respect to each detected target, respectively calculating the similarity between the feature vector of the target and the feature vector of each target in previous images according to a similarity estimating model obtained by pre-training.

11. The computer device according to claim 10 , wherein

before obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets, the operation further comprises:

obtaining each target as the training data and corresponding feature vectors; and

obtaining the similarity estimating model by training according to a principle that a similarity between feature vectors from the same target is larger than a similarity between feature vectors from different targets.

12. The computer device according to claim 11 , wherein

the similarity estimating model is:

similarity( x,z )= x T θz,

wherein x and z respectively represent two feature vectors;

x T is the transpose of x;

θ represents a similarity parameter obtained from the training;

similarity(x,z) represents the similarity resulting from the calculation.

13. A non-transitory computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the following operation:

obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets;

respectively extracting a feature vectors of each detected target from features of the current image generated by a pre-selected convolutional layer of the convolutional neural network model during the detection of multiple targets; and

respectively calculating a similarity between the feature vectors of each target in current image and a feature vectors of each target in previous images, completing association of the same target between different image frames according to calculation results, and allocating a same tracking serial number to the same target between different image frames.

14. The non-transitory computer-readable storage medium according to claim 13 , wherein

the obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets further comprises:

obtaining images as training data, and respectively obtaining a notation result of each target in each frame of images as the training data; and

obtaining the convolutional neural network model by training according to the images as the training data and the notation results of each target therein.

15. The non-transitory computer-readable storage medium according to claim 13 , wherein

the respectively extracting the feature vector of each detected target from features of the current image generated by a pre-selected convolutional layer comprises:

respectively performing the following processing for each detected target:

finding a corresponding area of the target in the selected convolutional layer;

extracting convolutional features corresponding to the area in a roi pooling manner; and

normalizing the extracted convolutional features to obtain the feature vector of the target.

16. The non-transitory computer-readable storage medium according to claim 13 , wherein

the respectively calculating a similarity between the feature vector of each target in current image and the feature vector of each target in previous images comprises:

with respect to each detected target, respectively calculating the similarity between the feature vectors of the target and the feature vectors of each target in previous images according to a similarity estimating model obtained by pre-training.

17. The non-transitory computer-readable storage medium according to claim 16 , wherein

before obtaining a to-be-processed current image, inputting the current image into a convolutional neural network model obtained by pre-training, to perform detection of multiple targets, the operation further comprises:

obtaining each target as the training data and corresponding feature vectors; and

obtaining the similarity estimating model by training according to a principle that a similarity between feature vectors from the same target is larger than a similarity between feature vectors from different targets.

18. The non-transitory computer-readable storage medium according to claim 17 , wherein

the similarity estimating model is:

similarity( x,z )= x T θz,

wherein x and z respectively represent two feature vectors;

x T is the transpose of x;

θ represents a similarity parameter obtained from the training;

similarity(x,z) represents the similarity resulting from the calculation.

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 Jun 19, 2018
From: GAO, HAN; WAN, JI; XIA, TIAN
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 046134/0145 →
Priority Claims (1)
CN 2017 1 05212912 · Jun 30, 2017 · national
Continuity (1)
Related Publication 20190005657A1 · Jan 3, 2019