1+ [ output_video ] : ./assets/sample-output.gif " Sample Output "
2+
13# multi-object-tracker
2- object detection using deep learning and multi-object tracking
4+ object detection using deep learning and multi-object tracking
35
46The work here is based on the following literature available:
571 . http://elvera.nue.tu-berlin.de/files/1517Bochinski2017.pdf
6- 2 . https://www.pyimagesearch.com/2018/07/23/simple-object-tracking-with-opencv/
7- 3 . https://github.com/Wenuka/correlationTracker
8+ 2 . Pyimagesearch [ 1 ] ( https://www.pyimagesearch.com/2018/07/23/simple-object-tracking-with-opencv/ ) , [ 2 ] ( https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/ )
9+ 3 . [ correlationTracker ] ( https://github.com/Wenuka/correlationTracker )
8104 . [ Caffemodel zoo] ( http://caffe.berkeleyvision.org/model_zoo.html )
9115 . [ Caffemodel zoo GitHub] ( https://github.com/BVLC/caffe/tree/master/models )
12+ 6 . [ YOLO v3] ( https://pjreddie.com/media/files/papers/YOLOv3.pdf )
1013
1114Use the caffemodel zoo from the reference [ 4,5] mentioned above to vary the CNN models and Play around with the codes.
1215
@@ -15,9 +18,27 @@ Pip install for OpenCV (version 3.4.3 or later) is available [here](https://pypi
1518
1619` pip install opencv-contrib-python `
1720
21+ ### Run with YOLO
22+
23+ 1 . Open the terminal
24+ 2 . Go to ` yolo_dir ` in this repository: ` cd ./yolo_dir `
25+ 3 . Run: ` sudo chmod +x ./get_yolo.sh `
26+ 4 . Run: ` ./get_yolo.sh `
27+
28+ The model and the config files will be downloaded in ` ./yolo_dir ` . These will be used ` tracking-yolo-model.ipynb ` .
29+
30+ - The video input can be specified in the cell named ` Initiate opencv video capture object ` in the notebook.
31+ - To make the source as the webcam, use ` video_src=0 ` else provide the path of the video file (example: ` video_src="/path/of/videofile.mp4" ` ).
1832
33+ Example video link: https://flic.kr/p/L6qyxj
1934
35+ Output of the example video:
2036
21- NOTE: The algorithm shared in this repository was programmed and tested on Windows PC.
37+ ![ Output Sample ] [ output_video ]
2238
2339
40+ ### Run with Caffemodel
41+ - You have to use ` tracking-caffe-model.ipynb ` .
42+ - The model for use is provided in the folder named ` caffemodel_dir ` .
43+ - The video input can be specified in the cell named ` Initiate opencv video capture object ` in the notebook.
44+ - To make the source as the webcam, use ` video_src=0 ` else provide the path of the video file (example: ` video_src="/path/of/videofile.mp4" ` ).
0 commit comments