From 154f435427e44f6dd23ea4a7df03445d13b68953 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 7 Mar 2015 14:14:47 -0500 Subject: [PATCH] Added notes about installing skimage. --- python_examples/face_detector.py | 5 +++++ python_examples/face_landmark_detection.py | 6 ++++++ python_examples/find_candidate_object_locations.py | 6 ++++++ python_examples/train_object_detector.py | 6 ++++++ python_examples/train_shape_predictor.py | 6 ++++++ 5 files changed, 29 insertions(+) diff --git a/python_examples/face_detector.py b/python_examples/face_detector.py index 9dd3fbfd1..963a96a71 100755 --- a/python_examples/face_detector.py +++ b/python_examples/face_detector.py @@ -28,6 +28,11 @@ # system so long as you have CMake and boost-python installed. # On Ubuntu, this can be done easily by running the command: # sudo apt-get install libboost-python-dev cmake +# +# Also note that this example requires scikit-image which can be installed +# via the command: +# pip install -U scikit-image +# Or downloaded from http://scikit-image.org/download.html. import sys diff --git a/python_examples/face_landmark_detection.py b/python_examples/face_landmark_detection.py index 9c20e1c13..3206c6f71 100755 --- a/python_examples/face_landmark_detection.py +++ b/python_examples/face_landmark_detection.py @@ -28,6 +28,12 @@ # system so long as you have CMake and boost-python installed. # On Ubuntu, this can be done easily by running the command: # sudo apt-get install libboost-python-dev cmake +# +# Also note that this example requires scikit-image which can be installed +# via the command: +# pip install -U scikit-image +# Or downloaded from http://scikit-image.org/download.html. + import sys import os import dlib diff --git a/python_examples/find_candidate_object_locations.py b/python_examples/find_candidate_object_locations.py index 4f0a91bd7..72038dcd9 100755 --- a/python_examples/find_candidate_object_locations.py +++ b/python_examples/find_candidate_object_locations.py @@ -12,6 +12,12 @@ # the false alarms. Since find_candidate_object_locations() will only generate # a few thousand rectangles it is much faster than scanning all possible # rectangles inside an image. +# +# Also note that this example requires scikit-image which can be installed +# via the command: +# pip install -U scikit-image +# Or downloaded from http://scikit-image.org/download.html. + import dlib diff --git a/python_examples/train_object_detector.py b/python_examples/train_object_detector.py index b11a07268..4ad7935de 100755 --- a/python_examples/train_object_detector.py +++ b/python_examples/train_object_detector.py @@ -15,6 +15,12 @@ # system so long as you have CMake and boost-python installed. # On Ubuntu, this can be done easily by running the command: # sudo apt-get install libboost-python-dev cmake +# +# Also note that this example requires scikit-image which can be installed +# via the command: +# pip install -U scikit-image +# Or downloaded from http://scikit-image.org/download.html. + import os import sys import glob diff --git a/python_examples/train_shape_predictor.py b/python_examples/train_shape_predictor.py index 055b75996..eddcd044d 100755 --- a/python_examples/train_shape_predictor.py +++ b/python_examples/train_shape_predictor.py @@ -24,6 +24,12 @@ # system so long as you have CMake and boost-python installed. # On Ubuntu, this can be done easily by running the command: # sudo apt-get install libboost-python-dev cmake +# +# Also note that this example requires scikit-image which can be installed +# via the command: +# pip install -U scikit-image +# Or downloaded from http://scikit-image.org/download.html. + import os import sys import glob