This is the HKUST UROP project: AI meets Big Data (2019 Summer) carried out by SONG Sizhe and supervised by Prof. Shueng-Han Gary Chan. This project focuses on tracking people in the surveillance videos.
This project uses Yolo for people detecting, so you need to install Yolo first.
git clone https://github.com/pjreddie/darknet
cd darknet
make
Clone Yolo and compile using commands above. You may need to modify the <your directory>/darknet/Makefile
to enable a GPU or OpenCV if available on your machine. At the very beginning, set the value to 1 to turn on a tool, and remember to re-compile.
A more detailed instruction can be found on Yolo official page.
After Yolo is installed, copy the scripts in this repo including process_video.py
, coordinate_transform.py
, id_process.py
to Yolo python scripts' folder <your directory>/darknet/python
.
You can find the report of this project here.
Warning: Carefully choose your directory, or you may accidentally DELETE your own files. Please always read the code if you are not sure.