[Feature Request] Used CPU cores & GPU
For face detection and recognizing people
- Add an option to switch between CPU or GPU
- Add an option to set number of used cores (my laptop's temperature becomes 93 degree because it uses all my CPU cores)
Hi @mbnoimi. Thank you for your feature request.
I don't know how to use the GPU for face detection without using an NVidia GPU. I don't have an NVidia GPU and I don't want to try and add GPU acceleration if it is only for NVidia GPUs. Also, the face detection library I use looks abandoned :cry: and I'll probably have to re-write face detection to use a different library for it to improve. I've had a look at both Hugging Face Candle and OpenCV, both of which I think support various GPU acceleration modes, but I haven't really had the time to try either out.
Using fewer cores would be a good idea--my laptop gets too hot to touch when I test thumbnail generation and face detection over my library!