-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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:.
dnn_proto_text='models/opencv_face_detector.pbtxt'
dnn_model='models/opencv_face_detector_uint8.pb'
self.face_net = cv2.dnn.readNetFromTensorflow(dnn_model, dnn_proto_text)
I hope this may helpful for someone....
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request