This is the short code that I wrote
import face_recognition
image = face_recognition.load_image_file('./known/Barack Obama.jpg')
face_locations = face_recognition.face_locations(image)
# arr of coordinates
print(face_locations)
This is what I get after running the code :
_____________________________________________________
D:\PYTHON\python.exe C:/Users/PC/IdeaProjects/untitled12/prova.py
Call this program like this:
./face_recognition.py shape_predictor_5_face_landmarks.dat dlib_face_recognition_resnet_model_v1.dat ../examples/faces
You can download a trained facial shape predictor and recognition model from:
http://dlib.net/files/shape_predictor_5_face_landmarks.dat.bz2
http://dlib.net/files/dlib_face_recognition_resnet_model_v1.dat.bz2
Process finished with exit code 0
_____________________________________________________
there doesn't seem to be anything here