AlexeyAB / darknet

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

Batch process images in detect_image/separate detect_images function #6596

Open mazatov opened 4 years ago

mazatov 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.

I see that there is lib.network_predict_batch andlib.free_batch_detections which makes me think the batch processing is possible + load_network has the ability to add batch_size so it seems like it should be a natural extension to be able to process images in batch.

lars-ek commented 4 years ago

6687