diff --git a/bob/pad/face/utils/face_detection_utils.py b/bob/pad/face/utils/face_detection_utils.py index 7b01c4c26a3d767f4554655c9c092521e7102450..27c2030d0ec12c8ea8437721b7f398cb62670ad3 100644 --- a/bob/pad/face/utils/face_detection_utils.py +++ b/bob/pad/face/utils/face_detection_utils.py @@ -205,9 +205,9 @@ def detect_face_landmarks_in_image(image, method = "dlib"): bounding_box = data[0] - #bounding_box = bounding_box.scale(0.9, True) + bounding_box_scaled = bounding_box.scale(0.95, True) # is ok for dlib - lm=landmark_detection_module.detect_landmarks_on_boundingbox(image, bounding_box) + lm=landmark_detection_module.detect_landmarks_on_boundingbox(image, bounding_box_scaled) if lm is not None: