From 67e6957b1e3934bf542afd81b061ade8460ae6f2 Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 22 Sep 2017 21:52:15 -0400 Subject: [PATCH] Clarified comment and updated requirements.txt --- python_examples/face_alignment.py | 2 +- python_examples/requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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