I try to use Dlib shape_predictor_68_landmark to mark my photos. I use OpenCV to read and resize photos(all of photos are portrait photographs capture from a video). Then I use those processed photos to run the function dlib.get_frontal_face_detector(). Here is my code: the faces = detector(frame, 0) should output a rectangles[], but when I print it for check, its output
Tag: dlib
Installation of dlib with pip fails on Windows 10
I tried a lot to install pip install dlib but it always shows an error and I reinstalled cmake. I got the error: Answer Here I got the error that line CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage set CMake path into environment variable (As Shown in Figure) Installing Visual Studio build tool