diff --git a/python_examples/face_alignment.py b/python_examples/face_alignment.py index ba3b39f8e..b8e2ca862 100755 --- a/python_examples/face_alignment.py +++ b/python_examples/face_alignment.py @@ -67,7 +67,7 @@ if num_faces == 0: print("Sorry, there were no faces found in '{}'".format(face_file_path)) exit() -# The full object detection object +# Find the 5 face landmarks we need to do the alignment. faces = dlib.full_object_detections() for detection in dets: faces.append(sp(img, detection)) diff --git a/python_examples/requirements.txt b/python_examples/requirements.txt index aa950c107..8fa92c8a0 100644 --- a/python_examples/requirements.txt +++ b/python_examples/requirements.txt @@ -1 +1,3 @@ scikit-image>=0.9.3 +opencv-python +numpy