Skip to content

Commit be33507

Browse files
authored
Update README.md
1 parent 8b435fe commit be33507

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

StrongSORT/README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
# StrongSORT Usage
2-
This part is based on the [StrongSORT](https://github.com/dyhBUPT/StrongSORT) project. Please first check the installation steps on the StrongSORT project to build the conda environment.
2+
## Installation
3+
This part is based on the [StrongSORT](https://github.com/dyhBUPT/StrongSORT) project. Please first check the installation steps on the StrongSORT project to build the conda environment.
4+
We only use the DeepSORT method of the project.
5+
6+
## Overview
7+
After we get the inference result (instance segmentaion result) of the main model, we need to generate the object trajectories. It includes following steps.
8+
1. Convert coco format instance segmentation results to txt file.
9+
2. Convert ReID results to box and features needed by StrongSORT.
10+
3. Use the DeepSORT method implemented in the StrongSORT project to link the same objects across frames. This step is termed **Data Association**.
11+
4. Match masks of the instance segmentation result to boxes in the tracks of the data association result.
12+
5. Combine results of different classes together, and remove overlapping pixels. Overlapping pixels are not allowed in the MOTS task. This step generates the final MOTS results, which are in fact mask-based trajectories.
13+
14+
Then you can do the evaluation with the MOTS results.
15+
16+
## Usage
17+
We provide two different ways to use this code, described below.
18+
### One program per function
19+
Programs for different functions are in the [my_code](my_code) folder for KITTI. Check this [description](my_code/the_readme_pipeline.txt) to understand the function of each python program.
20+
21+
For BDD dataset, check the [my_code_bdd](my_code_bdd) folder, and its [description](my_code_bdd/readme_bdd.txt).
22+
### One script for all functions
23+
Use the [script](my_code_pipeline/my_pipeline.sh) to finish all 5 steps with one operation for KITTI. It call python programs in the [my_code_pipeline](my_code_pipeline) folder. Ensure these paths in ths script are correct on your local device.
24+
25+
For BDD dataset, check this [script](my_code_pipeline_bdd/my_bdd_pipeline.sh) and the [my_code_pipeline_bdd](my_code_pipeline_bdd) folder.

0 commit comments

Comments
 (0)