ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
52.8k stars 13.42k forks source link

CNN Model slow. #1271

Open MattPChoy opened 3 years ago

MattPChoy commented 3 years ago

Description

I've created an application which streams a series of images to a 'server' which processes the frames using this face_recognition library. When changing the model from hog to cnn the server just stops processing and almost freezes. Do I need to install any CUDA packages for the library to use the cnn model?

KurtPrice commented 3 years ago

Hey @MattPChoy we will need some more information to really answer this question well.

  1. What do you mean by 'server'?
  2. How large are the images, can you post them for use in troubleshooting?
  3. Does the server ever return processing?
  4. Can you link to the code that you are using when you see this issue?