YOLO9000 is a high speed, real time detection algorithm that can detect on OVER 9000! (object categories). Read more
- Python 3.5 or 3.6. Download here
- Tensorflow. Download here
- OpenCV Download here
pip install opencv-python- Download ZIP
- Extract.
- Cd to
darkflow-masterfolder that just extracted. - Open terminal & Run:
python setup.py build_ext --inplaceor
pip install -e .- Create
binfolder insidedarkflow-masterfolder. - Download the YOLOv2 608x608 weights file here.
- Put the
weightsfile insidebinfolder.
- Put the video into
darkflow-masterfolder. - Open terminal & Run:
- Without GPU version of tensorflow:
python flow --model cfg/yolo.cfg --load bin/yolov2.weights --demo video_file_name.mp4 --saveVideo- GPU version of tensorflow:
python flow --model cfg/yolo.cfg --load bin/yolov2.weights --demo video_file_name.mp4 --gpu 1.0 --saveVideo*NOTE:
-
video_file_name.mp4 changes to your video name.
-
--saveVideo indicates to save a name video file, which has the boxes around objects
