From d24aeae030a7f52a229f7462cef7da0012351976 Mon Sep 17 00:00:00 2001 From: Ronald Pereira Date: Thu, 26 Jan 2023 10:56:58 -0300 Subject: [PATCH] updated docstring indentation --- deepface/DeepFace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index 2d0509e..f0e2b8b 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -502,7 +502,7 @@ def represent(img_path, model_name = 'VGG-Face', model = None, enforce_detection Parameters: img_path (string): exact image path. Alternatively, numpy array (BGR) or based64 encoded images could be passed. - model_name (string): VGG-Face, Facenet, Facenet512, OpenFace, DeepFace, DeepID, Dlib, ArcFace, SFace + model_name (string): VGG-Face, Facenet, Facenet512, OpenFace, DeepFace, DeepID, Dlib, ArcFace, SFace model: Built deepface model. A face recognition model is built every call of verify function. You can pass pre-built face recognition model optionally if you will call verify function several times. Consider to pass model if you are going to call represent function in a for loop. @@ -513,7 +513,7 @@ def represent(img_path, model_name = 'VGG-Face', model = None, enforce_detection detector_backend (string): set face detector backend to opencv, retinaface, mtcnn, ssd, dlib or mediapipe - align (boolean): alignment according to the eye positions. + align (boolean): alignment according to the eye positions. normalization (string): normalize the input image before feeding to model