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
![Cars with YOLO][cars-yolo-output] | ![Cows with tf-SSD][cows-tf-ssd-output]
29
+
Video source: [link](https://flic.kr/p/89KYXt) | Video source: [link](https://flic.kr/p/26WeEWy)
25
30
26
31
27
32
### Installation
@@ -43,54 +48,43 @@ cd multi-object-tracker
43
48
pip install -e .
44
49
```
45
50
46
-
### YOLO
51
+
For using the opencv `dnn`-based object detection modules provided in this repository with GPU, you may have to compile a CUDA enabled version of OpenCV from source.
52
+
53
+
For building opencv from source, you can refer the following: [[link-1](https://docs.opencv.org/master/df/d65/tutorial_table_of_content_introduction.html)], [[link-2](https://www.pyimagesearch.com/2020/02/03/how-to-use-opencvs-dnn-module-with-nvidia-gpus-cuda-and-cudnn/)]
54
+
55
+
### How to use?: Examples
56
+
57
+
Examples for how to use `motrackers` are provided [examples](./examples/) folder of this repository.
58
+
You can clone and run the examples as shown in the [readme](examples/readme.md) inside the [examples](./examples/) folder.
59
+
60
+
### Pretrained Object Detection Models
47
61
48
-
Do the following in the terminal to download a pretrained weights of YOLO:
62
+
You will have to download the pretrained weights for the model. The shell scripts for downloading are provided in [examples](examples/) folder.
63
+
64
+
##### YOLOv3
49
65
```
50
-
cd ./pretrained_models/yolo_weights
66
+
cd ./examples/pretrained_models/yolo_weights
51
67
sudo chmod +x ./get_yolo.sh
52
68
./get_yolo.sh
53
69
```
54
70
55
-
### TensorFlow model
56
-
57
-
Do the following in the terminal to download a pretrained model:
71
+
##### TensorFlow MobileNetSSDv2
58
72
```
59
73
cd ./pretrained_models/tensorflow_weights
60
74
sudo chmod +x ./get_ssd_model.sh
61
75
./get_ssd_model.sh
62
76
```
63
77
64
-
**SSD-Mobilenet_v2_coco_2018_03_29** was used for this example.
65
-
Other networks can be downloaded and ran: Go through `tracking-tensorflow-ssd_mobilenet_v2_coco_2018_03_29.ipynb` for more details.
66
-
67
-
### Caffemodel
68
-
69
-
Do the following in the terminal to download a pretrained model:
78
+
##### Caffemodel
70
79
```
71
80
cd ./pretrained_models/caffemodel_weights
72
81
sudo chmod +x ./get_caffemodel.sh
73
82
./get_caffemodel.sh
74
83
```
75
84
76
-
This is a MobileNet-SSD caffemodel.
77
-
78
-
### Examples and How to use:
79
-
80
-
For examples and how to use this repository, please refer [examples/](examples/) folder.
81
-
82
85
### References and Credits
83
-
This work is based on the following literature:
84
-
1. Bochinski, E., Eiselein, V., & Sikora, T. (2017, August). High-speed tracking-by-detection without using image information. In 2017 14th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS) (pp. 1-6). IEEE. [[paper-pdf](http://elvera.nue.tu-berlin.de/files/1517Bochinski2017.pdf)]
Use the caffemodel zoo from the reference [4,5] mentioned above to vary the CNN models and Play around with the codes.
92
86
93
-
***Suggestion**: If you are looking for speed go for SSD-mobilenet. If you are looking for accurracy and speed go with YOLO. The best way is to train and fine tune your models on your dataset. Although, Faster-RCNN gives more accurate object detections, you will have to compromise on the detection speed as it is slower as compared to YOLO.*
1. Bochinski, E., Eiselein, V., & Sikora, T. (2017, August). High-speed tracking-by-detection without using image information. In 2017 14th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS) (pp. 1-6). IEEE. [[pdf](http://elvera.nue.tu-berlin.de/files/1517Bochinski2017.pdf)]
6
+
2. Bewley, A., Ge, Z., Ott, L., Ramos, F., & Upcroft, B. (2016, September). Simple online and realtime tracking. In 2016 IEEE International Conference on Image Processing (ICIP) (pp. 3464-3468). IEEE. [[arxiv](https://arxiv.org/abs/1602.00763)]
#### Link to `multi-object-tracker`[[webpage](https://adipandas.github.io/multi-object-tracker/)][[GitHub Repo](https://github.com/adipandas/multi-object-tracker)]
0 commit comments