diff --git a/deepface/modules/detection.py b/deepface/modules/detection.py index e3a0748..1e96b05 100644 --- a/deepface/modules/detection.py +++ b/deepface/modules/detection.py @@ -180,7 +180,8 @@ def extract_faces( if len(resp_objs) == 0 and enforce_detection == True: raise ValueError( - f"Detected face shape is {img.shape}. Consider to set enforce_detection arg to False." + f"Exception while extracting faces from {img_name}." + "Consider to set enforce_detection arg to False." ) return resp_objs diff --git a/tests/dataset/img39.jpg b/tests/dataset/img39.jpg deleted file mode 100644 index 751b664..0000000 Binary files a/tests/dataset/img39.jpg and /dev/null differ