Open mibrahimy opened 5 years ago
@ibrahimsherdil
The function dlib.shape_predictor()
accepts
shape_predictor_face_landmarks.dat file
Only one image as numpy ndarray
as its arguments.
But we cannot pass a list of images to predict the landmarks.
For more explanation in documentation I prefer you to read this link
I am trying to use 5 pt shape predictor for batch inference. I have a batch of face crops let says 50, and I want to get their landmarks returned in a single go.
What I Did
I tried passing the dlib.shape_predictor() function the list of images as first argument and list of respective detections as second. But it returned the following error: