Using a pre-trained YOLO model for object detection

The following are the steps that you must follow to be able to use the pre-trained model:

  1. Clone this repository: go to, right-click on clone or download, and select the path where you want to download the ZIP. Then unzip the compressed file to YAD2K-master folder.
  1. Download the weights and cfg file from by clicking on the yellow links on the page, marked by red boxes here:

  1. Save the yolov2.cfg and the yolov2.weights files downloaded inside the YAD2K-master folder.
  2. Go inside the YAD2K-master folder, open a command ...

Get Hands-On Image Processing with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.