This project combines YOLOv2(reference) and seq-nms(reference) to realise real time video detection.
makethe project;- Download
yolo.weightsandtiny-yolo.weightsby runningwget https://pjreddie.com/media/files/yolo.weightsandwget https://pjreddie.com/media/files/tiny-yolo-voc.weights; - Copy a video file to the video folder, for example,
input.mp4; - In the video folder, run
python video2img.py -i input.mp4and thenpython get_pkllist.py; - Return to root floder and run
python yolo_seqnms.pyto generate output images invideo/output; - If you want to reconstruct a video from these output images, you can go to the video folder and run
python img2video.py -i output
And you will see detection results in video/output
This project copies lots of code from darknet , Seq-NMS and models.
