-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from tryolabs/remove_dependencies
Make OpenCV and motmetrics optional dependencies
- Loading branch information
Showing
18 changed files
with
672 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[tool.isort] | ||
profile = "black" | ||
multi_line_output = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
# Compute MOTChallenge metrics | ||
|
||
Demo on how to evaluate a Norfair tracker on the [MOTChallenge](https://motchallenge.net). | ||
|
||
## Instructions | ||
|
||
1. Download the [MOT17](https://motchallenge.net/data/MOT17/) dataset running | ||
1. Install Norfair with `pip install norfair[metrics,video]`. | ||
2. Download the [MOT17](https://motchallenge.net/data/MOT17/) dataset running: | ||
|
||
```bash | ||
curl -O https://motchallenge.net/data/MOT17.zip # To download Detections + Ground Truth + Images (5.5GB) | ||
unzip MOT17.zip | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
curl -O https://motchallenge.net/data/MOT17.zip # To download Detections + Ground Truth + Images (5.5GB) | ||
unzip MOT17.zip | ||
``` | ||
or | ||
```bash | ||
curl -O https://motchallenge.net/data/MOT17Labels.zip # To download Detections + Ground Truth (9.7 MB) | ||
unzip MOT17Labels.zip | ||
``` | ||
|
||
```bash | ||
curl -O https://motchallenge.net/data/MOT17Labels.zip # To download Detections + Ground Truth (9.7 MB) | ||
unzip MOT17Labels.zip | ||
``` | ||
Given that the ground truth files for the testing set are not publicly available, you will only be able to use motmetrics4norfair with the training set. | ||
|
||
Given that the ground truth files for the testing set are not publicly available, you will only be able to use motmetrics4norfair with the training set. | ||
3. Display the instructions: | ||
|
||
2. Display the motmetrics4norfair instructions: | ||
```bash | ||
python motmetrics4norfair.py --help | ||
``` | ||
```bash | ||
python motmetrics4norfair.py --help | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .drawing import * | ||
from .tracker import Detection, Tracker | ||
from .utils import print_objects_as_table, get_cutout | ||
from .utils import get_cutout, print_objects_as_table | ||
from .video import Video |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.