You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the headpose.py. It uses caffe model. It is very slow on i5 with 16 GB RAM.
It can be faster, if use the dnn from tensorflow provided by opencv(\samples\dnn\face_detector\opencv_face_detector.pbtxt).
Added the following lines in init in class FaceDetector:.
So this looks like a quantized version of the one used. An additional boolean argument of quantized can be added in the get_face_model() of face_detector.py so the user whether they want to use the original or this based on their requirements trade-off for speed and accuracy.
If you want to add this feature you can start a pull request, or otherwise, I will add it.
I checked the headpose.py. It uses caffe model. It is very slow on i5 with 16 GB RAM.
It can be faster, if use the dnn from tensorflow provided by opencv(\samples\dnn\face_detector\opencv_face_detector.pbtxt).
Added the following lines in init in class FaceDetector:.
I hope this may helpful for someone....
The text was updated successfully, but these errors were encountered: