serengil / deepface

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python
https://www.youtube.com/watch?v=WnUVYQP4h44&list=PLsS_1RYmYQQFdWqxQggXHynP1rqaYXv_E&index=1
MIT License
10.85k stars 1.91k forks source link

[BUG]: <How to speed up face recognition time on cpu> #1260

Closed ybshaw closed 2 weeks ago

ybshaw commented 2 weeks ago

Before You Report a Bug, Please Confirm You Have Done The Following...

DeepFace's version

0.0.92

Python version

3.8

Operating System

windows10

Dependencies

deepface==0.0.92

Reproducible example

I have already deployed it on windows10 system, and it takes more than 4s to extract features when use `DeepFace.represent` , and 2s when ssd model is used. Is there any way to accelerate it within 500ms. Thank you

Relevant Log Output

No response

Expected Result

No response

What happened instead?

No response

Additional Info

No response

serengil commented 2 weeks ago

You may consider to buy a GPU.