diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index 2f28503..5961b7b 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -424,7 +424,7 @@ def find( dlib, mediapipe or yolov8n. align (boolean): alignment according to the eye positions. - + normalization (string): normalize the input image before feeding to model silent (boolean): disable some logging and progress bars @@ -830,7 +830,7 @@ def detectFace( ): """ Deprecated function. Use extract_faces for same functionality. - + This function applies pre-processing stages of a face recognition pipeline including detection and alignment @@ -855,7 +855,7 @@ def detectFace( Returns: detected and aligned face as numpy array - + """ print("⚠️ Function detectFace is deprecated. Use extract_faces instead.") face_objs = extract_faces( diff --git a/deepface/detectors/OpenCvWrapper.py b/deepface/detectors/OpenCvWrapper.py index 442b452..655b00a 100644 --- a/deepface/detectors/OpenCvWrapper.py +++ b/deepface/detectors/OpenCvWrapper.py @@ -61,7 +61,7 @@ def detect_face(detector, img, align=True): import traceback print(traceback.format_exc()) - + # For each face and associated score, append face, # bounding box, and score to resp for (x, y, w, h), confidence in zip(faces, scores):