AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

Batch process images in classifier / classify() #6615

Open JasonWuLLL opened 4 years ago

JasonWuLLL commented 4 years ago

I would like to be able to process images in batch using either provided detect_image function or with a new detect_images function.

lib.network_predict_batch supports YOLO series , but not supports classifier in darknet.py

arnaud-nt2i commented 4 years ago

Not (yet) possible, use yolov4's OpenCV Dnn implementation or tkDNN.

sctrueew commented 4 years ago

@arnaud-nt2i Hi,

Could you give an example for classifying in OpenCV-dnn?

arnaud-nt2i commented 4 years ago

@zpmmehrdad nope, haven't done it myself...