Python API? Speedup?
lars-ek opened this issue · comments
Hi,
I have a question: I want to detect the frames of two cameras simultaneously and currently use the darknet python wrapper (AlexeyAB-Version) and just feed one frame to the network at once. Is it possible to speed up the detection by using batch detection (batch=2) within python wrapper (e.g. darknet_video.py)? How does the speed compare (2 frames with batch=1 vs. batch=2)?
Thank you.
@vincentgong7 Sorry to ask again, but do you have any hint if there is an speedup using batch detection? In AlexeyAB-Version, the batch-inference function does not offer any performance gain. Is it different with your fork?
Thank you.