Merge pull request #1044 from DriesVerachtert/fix_types_doc_represent

Correct info about returned types for the represent method
This commit is contained in:
Sefik Ilkin Serengil 2024-02-26 15:53:26 +00:00 committed by GitHub
commit 7544b46a0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ def represent(
results (List[Dict[str, Any]]): A list of dictionaries, each containing the results (List[Dict[str, Any]]): A list of dictionaries, each containing the
following fields: 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 The number of dimensions varies based on the reference model
(e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions). (e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions).

View File

@ -47,7 +47,7 @@ def represent(
results (List[Dict[str, Any]]): A list of dictionaries, each containing the results (List[Dict[str, Any]]): A list of dictionaries, each containing the
following fields: 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 The number of dimensions varies based on the reference model
(e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions). (e.g., FaceNet returns 128 dimensions, VGG-Face returns 4096 dimensions).
- facial_area (dict): Detected facial area by face detection in dictionary format. - facial_area (dict): Detected facial area by face detection in dictionary format.