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

Passing batch of images for faster processing #9

Open
Neltherion opened this issue May 15, 2018 · 9 comments
Open

Passing batch of images for faster processing #9

Neltherion opened this issue May 15, 2018 · 9 comments

Comments

@Neltherion
Copy link

Hi, First of all thanks so much for your effort in bringing MTCNN to Python in an easy usable way.

I wanted to know if there is a way to pass a batch of images (instead of just one image) to the GPU to increase the overall speed of face detections for lots of images.

Thanks again

@ipazc
Copy link
Owner

ipazc commented May 17, 2018

Hello @Neltherion . Right now there isn't a way to process a batch of images, but I'll work on it.
Thank you for the suggestion!

@Neltherion
Copy link
Author

@ipazc Thanks. I'll be watching your progress...

@Vermeille
Copy link

I'm curious, how fast is it on GPU, without batches?

@YaroslavSchubert
Copy link

@Vermeille something like 40-60ms on 1920x1080

@SuperBo
Copy link

SuperBo commented Oct 14, 2019

I also want this features, when will batch of images support be available?

@hbellafkir
Copy link

@ipazc are you still woking on it, or its a dead thing ?

@chaudharyachint08
Copy link

chaudharyachint08 commented Feb 7, 2021

@Vermeille something like 40-60ms on 1920x1080

I tried on GPU instance on Google-colab. For 1280x720 image it took around a second, not at all fast as I was expecting initially

%time _ = face_detector.detect_faces(image)

CPU times: user 1.11 s, sys: 56.2 ms, total: 1.17 s
Wall time: 939 ms

Is it ok to have this high number??

@Vinayrraj
Copy link

Hello @Neltherion . Right now there isn't a way to process a batch of images, but I'll work on it.
Thank you for the suggestion!

Hi @ipazc, if possible will you be able to suggest by when we can expect this feature?

@chaudharyachint08
Copy link

@ipazc Still waiting for Batch level implementation, see if you can help

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

8 participants