pip install -r requirements.txt
cd detector/YOLOv3/weight/
wget https://pjreddie.com/media/files/yolov3.weights
wget https://pjreddie.com/media/files/yolov3-tiny.weights
cd ../../../
cd deep_sort/deep/checkpoint
# download ckpt.t7 from
https://drive.google.com/drive/folders/1xhG0kRH1EX5B9_Iz8gQJb7UNnn_riXi6 to this folder
cd ../../../
cd detector/YOLOv3/nms
sh build.sh
cd ../../..
pip install face_recognition
usage: face_database.py(dont't forget to change face database path in the python file)
(for RGB-D video)
usage: python yolov3_deepsort.py RGB_VIDEO_PATH DEPTH_VIDEO_PATH FACE_DATA_PATH
[--help]
[--frame_interval FRAME_INTERVAL]
[--config_detection CONFIG_DETECTION]
[--config_deepsort CONFIG_DEEPSORT]
[--display]
[--display_width DISPLAY_WIDTH]
[--display_height DISPLAY_HEIGHT]
[--save_path SAVE_PATH]
[--cpu]
(for RGB video)
usage: python yolov3_deepsort_rgb.py RGB_VIDEO_PATH FACE_DATA_PATH
[--help]
[--frame_interval FRAME_INTERVAL]
[--config_detection CONFIG_DETECTION]
[--config_deepsort CONFIG_DEEPSORT]
[--display]
[--display_width DISPLAY_WIDTH]
[--display_height DISPLAY_HEIGHT]
[--save_path SAVE_PATH]
[--cpu]
You will find more details in industry_test.ipynb