Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python API? Speedup? #21

Open
lars-ek opened this issue Jul 30, 2020 · 2 comments
Open

Python API? Speedup? #21

lars-ek opened this issue Jul 30, 2020 · 2 comments

Comments

@lars-ek
Copy link

lars-ek commented Jul 30, 2020

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.

@lars-ek
Copy link
Author

lars-ek commented Oct 4, 2020

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

@vincentgong7
Copy link
Owner

vincentgong7 commented Oct 4, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants