Edit on GitHub; YOLO - object detection ... the option swapBR=True (since OpenCV uses BGR) A blob is a 4D numpy array object (images, channels, width, height). You can also run it on a video file if OpenCV can read the video:./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights