This repository is based on pytorch-yolo-v3
- Python 3.5
- OpenCV
- PyTorch 0.4
sudo -H pip3 install torch==0.4.0
Using PyTorch 0.3 will break the detector.
Clone, and cd
into the repo directory.
python3 video_demo.py --cfg cfg/DroNet_car.cfg --weights cfg/DroNet_car.weights --video Car_Parking.mov --classes 1
python3 video_demo.py --cfg cfg/DroNetV3_car.cfg --weights cfg/DroNetV3_car.weights --video Car_Parking.mov --classes 2
python3 video_demo.py --cfg cfg/DroNetV3_car.cfg --weights cfg/DroNetV3_car.weights --video Car_Crossroad.mp4 --classes 2 --reso 1024