You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Addition of the section for custom dataset (#167)
* docs: Addition of the section for custom dataset
This section titled "For custom dataset" includes a guide on how to calculate MOT metrics for custom dataset.
* docs: MOT16 tool in the section for custom dataset
A free tool to help with the ground truth creation of custom dataset if unavailable.
Copy file name to clipboardExpand all lines: Readme.md
+96Lines changed: 96 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -439,6 +439,102 @@ with lap.set_default_solver(mysolver):
439
439
...
440
440
```
441
441
442
+
## For custom dataset
443
+
444
+
Use this section as a guide for calculating MOT metrics for your custom dataset.
445
+
446
+
Before you begin, make sure to have Ground truth and your Tracker output data in the form of text files. The code below assumes MOT16 format for the ground truth as well as the tracker ouput. The data is arranged in the following sequence:
A sample ground truth/tracker output file is shown below. If you are using a custom dataset, then it is highly likely that you will have to create your own ground truth file. If you already have a MOT16 format ground truth file, you can use it directly otherwise, you will need a MOT16 annotator tool to create the annotations (ground truth). You can use any tool to create your ground truth data, just make sure it is as per MOT16 format.
453
+
454
+
If you can't find a tool to create your ground truth files, you can use this free MOT16 annotator [tool](https://github.com/khalidw/MOT16_Annotator) to create ground truth for your dataset which can then be used in conjunction with your tracker output to generate the MOT metrics.
455
+
456
+
````
457
+
1,1,763.00,272.00,189.00,38.00,1,-1,-1,-1
458
+
1,2,412.00,265.00,153.00,30.00,1,-1,-1,-1
459
+
2,1,762.00,269.00,185.00,41.00,1,-1,-1,-1
460
+
2,2,413.00,267.00,151.00,26.00,1,-1,-1,-1
461
+
3,1,760.00,272.00,186.00,38.00,1,-1,-1,-1
462
+
````
463
+
464
+
You can read more about MOT16 format [here](https://arxiv.org/abs/1603.00831).
465
+
466
+
Following function loads the ground truth and tracker object files, processes them and produces a set of metrices.
0 commit comments