mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 12:35:22 +00:00
Merge pull request #1044 from DriesVerachtert/fix_types_doc_represent
Correct info about returned types for the represent method
This commit is contained in:
commit
7544b46a0a
@ -345,7 +345,7 @@ def represent(
|
||||
results (List[Dict[str, Any]]): A list of dictionaries, each containing the
|
||||
following fields:
|
||||
|
||||
- embedding (np.array): Multidimensional vector representing facial features.
|
||||
- embedding (List[float]): Multidimensional vector representing facial features.
|
||||
The number of dimensions varies based on the reference model
|
||||
(e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions).
|
||||
|
||||
|
@ -47,7 +47,7 @@ def represent(
|
||||
results (List[Dict[str, Any]]): A list of dictionaries, each containing the
|
||||
following fields:
|
||||
|
||||
- embedding (np.array): Multidimensional vector representing facial features.
|
||||
- embedding (List[float]): Multidimensional vector representing facial features.
|
||||
The number of dimensions varies based on the reference model
|
||||
(e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions).
|
||||
- facial_area (dict): Detected facial area by face detection in dictionary format.
|
||||
|
Loading…
x
Reference in New Issue
Block a user