diff --git a/bob/ip/facelandmarks/script/detect_landmarks.py b/bob/ip/facelandmarks/script/detect_landmarks.py index d468a26d363b00b275c30745204a25ea4175e095..5e771961181c4a77277e6eacca5ba5ebab61c803 100644 --- a/bob/ip/facelandmarks/script/detect_landmarks.py +++ b/bob/ip/facelandmarks/script/detect_landmarks.py @@ -87,7 +87,7 @@ def main(user_input=None): if args['--verbose'] == 1: logging.getLogger().setLevel(logging.INFO) elif args['--verbose'] >= 2: logging.getLogger().setLevel(logging.DEBUG) - from bob.ip.facelandmarks.utils import detect_landmarks, draw_landmarks, save_landmarks + from ..utils import detect_landmarks, draw_landmarks, save_landmarks data = bob.io.base.load(args['<input>']) top = int(args['--limit-to']) diff --git a/bob/ip/facelandmarks/test.py b/bob/ip/facelandmarks/test.py index 1cda85c094800bed825fe4ca37884529a0be7427..734625b02224702e14f048ba1966eb6d390fcb33 100644 --- a/bob/ip/facelandmarks/test.py +++ b/bob/ip/facelandmarks/test.py @@ -13,8 +13,8 @@ import pkg_resources import bob.io.base import bob.io.base.test_utils -from bob.ip.facelandmarks.utils import detect_landmarks, draw_landmarks, save_landmarks, Result -from bob.ip.facelandmarks.utils import detect_landmarks_on_boundingbox +from .utils import detect_landmarks, draw_landmarks, save_landmarks, Result +from .utils import detect_landmarks_on_boundingbox from .script.detect_landmarks import main as app