Closed reddytocode closed 5 years ago
preds = fa.get_landmarks(input_img, detected_faces)[-1] the detected_faces in wich format should be passed?
preds = fa.get_landmarks(input_img, detected_faces)[-1]
[ [x1, y1, x2, y2], ...] (x1,y1) and (x2,y2) represent the top-left and bottom-right corners of the bbox. If None is passed the code will run one of the included detectors SFD or dlib.
Thanks!
Also with score? https://github.com/1adrianb/face-alignment/blob/master/face_alignment/detection/sfd/detect.py#L51
preds = fa.get_landmarks(input_img, detected_faces)[-1]
the detected_faces in wich format should be passed?