face detection - Dlib,python,face_detection with neural network -


when ever tried load trained model of cnn based face_detectorin dlib.i got error.


detector = dlib.simple_object_detector('mmod_human_face_detector.dat') traceback (most recent call last): file "/home/hasans/desktop/1/face_recognition1/face_detector.py", line 51, in <module>  detector = dlib.simple_object_detector('mmod_human_face_detector.dat') runtimeerror: unsupported version found when deserializing scan_fhog_pyramid object</br> 


how rid of error?

.

i don't know got code from, cnn-based face-detector used differently, given in this official demo.

init looks like:

cnn_face_detection_model = dlib.cnn_face_detection_model_v1('mmod_human_face_detector.dat') 

(i used successfully)

warning: python-wrapper needed added (18.8.17) , of (3 days later) available within git, not official release!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -