Run step
1. Download YOLOv3 weights from YOLO official website
wget https://pjreddie.com/media/files/yolov3.weights
The download process is shown in the figure:
2. Convert Darknet YOLO model to Keras model
python convert.py yolov3.cfg yolov3.weights model_data/yolo.h5
The conversion process is shown in the figure:
3. Run YOLO target detection
python yolo.py
You need to download an image, and then enter the name of the image, as shown:
I didn't use the classic picture, I just found one from the Internet, see the image watermark for the source:
Recognition effect:
Project address: https://github.com/qqwweee/keras-yolo3
Tutorial from: http://objectdetection.cn/