Closed onzie9 closed 2 years ago
This happens because dlib cannot detect a face, happens sometimes when the image looks too different from a human face. One way is to manually crop the face, name it xxx_aligned.png and skip the align_face function. Or maybe just try another image.
I have tried two different images, one with a white background and one with a brown background, but both give the same error below. What are the suggestions for the photo being modified?