AttributeError: 'module' Object Has No Attribute 'get_frontal_face_detector'
I was trying to use python's dlib library to detect the facial landmarks. I was using the example given on face detector. I have installed all the dependencies before installing dl
Solution 1:
Rename your file from dlib.py
to something else, say dlib_project.py
.
Your file, named so, is shadowing the dlib
library that has all of the functionality you need, as it is imported instead of the library, being first in the hierarchy.
Post a Comment for "AttributeError: 'module' Object Has No Attribute 'get_frontal_face_detector'"