mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 03:55:21 +00:00
updated docstring indentation
This commit is contained in:
parent
e14d7d6afc
commit
d24aeae030
@ -502,7 +502,7 @@ def represent(img_path, model_name = 'VGG-Face', model = None, enforce_detection
|
|||||||
Parameters:
|
Parameters:
|
||||||
img_path (string): exact image path. Alternatively, numpy array (BGR) or based64 encoded images could be passed.
|
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.
|
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
|
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
|
normalization (string): normalize the input image before feeding to model
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user