diff --git a/deepface/detectors/FaceDetector.py b/deepface/detectors/FaceDetector.py index dffa854..c37f546 100644 --- a/deepface/detectors/FaceDetector.py +++ b/deepface/detectors/FaceDetector.py @@ -48,8 +48,8 @@ def detect_face(face_detector, detector_backend, img, align=True): if len(obj) > 0: face, region, confidence = obj[0] # discard multiple faces - # If no face detected, return, set face to None, - # image region to full image, confidence to 0 + # If no face is detected, set face to None, + # image region to full image, and confidence to 0. else: # len(obj) == 0 face = None region = [0, 0, img.shape[1], img.shape[0]]