frame processing in windows 10 using dlib
- face_recognition version:1.2.1
- Python version: 3.8
- Operating System: WIndows 10
1.I need to capture the video frames of incoming or outgoing employees of a company & capture their in time & out time So the camera will be continuously running and capturing With CNN model it is extremely slow. It seems sort of OK with HAAR
2.Should i go for Raspberry Pi . I understand from Adrian Rosebrock site that it is not suitable for face_recognition
3.Should i go for CNN or Tensorflow/Keras or any other model for face detection. Pls advise
-
I would like to find how to know if GPU is being used. i have followed the a site and done the cmake build of dlib I used https://github.com/ageitgey/face_recognition/commit/b17901840000e RUN cmake -H/dlib -B/dlib/build -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 to build dlib before this i did conda install of dlib
-
when i execute python setup.py install --yes USE_AVX_INSTRUCTIONS --yes DLIB_USE_CUDA -G "Visual Studio 15 2017 Win64" it says --yes is not recognized
-
Also i have installed Microsoft Visual Studio 2017 and not 2015. I understand from #303 that CUDA do not support vs2017 & we need t install VS2015. Is there any workaround
-
how to use face_recognition_svm.py for training.
-
The nbr of CPU can be influenced using face-recognition in command prompt But i would like to know how to provide this or influence this during the face detection and recognition faces as part of application programming
- I don't think that's a question.
- No, I'd recommend one of the Nvidia Jetson products instead because they have GPU acceleration. Check out my article. If you need more speed than a Jetson Nano, you could upgrade to a more expensive product like the Jetson Xavier.
- I can't comment on how much better or worse other models work. You'd have to test them yourself for your use case. But since the face encoding model in this library is trained against the HOG detection model, that would give you the most consistent results.
- Run
nvidia-smito see if GPU is being used while face recognition is running. It shows what is running on the GPU at any given time. - I don't know.
- I don't know about Windows and Visual Studio unfortunately. I only know about Mac and Linux.
- What's the specific question you have? There are some comments at the top of the file that explain the basic idea.
- You have to write your own Python code to run multiple processes in parallel. Check the source code of the CLI program to see how it works.
for question 5: you can use python setup.py install —set USE_AVX_INSTRUCTIONS=1 —set DLIB_USE_CUDA=1 instead