Integrate libtorch-yolov3 with tracking algorithm making this project more engineering. Just a framework.
Many features and details need to be added as required according to demand.Hope to give some help.
This project is inspired by the libtorch-yolov3. Thanks to the author.
- LibTorch v1.0.0+
- Cuda
- OpenCV 3.2 + opencv_contrib
The API below is used in this tracking algorithm, you should know, because there is no such API in the official code, I added it.
CV_WRAP bool updateKCF( const Mat& image, Rect2d& boundingBox ,double& maxVal);
Modified opencv_contrib[vitx] is here
Train yolov3 in Darknet
you can download this weight[vitx] for test.
modify labels_name in main.cpp
./yolo-tracker <your_own_cfg> <your_own_weights> <path_to_video>