Correct info about returned types for the represent method

This commit is contained in:
Dries Verachtert 2024-02-26 07:49:13 +01:00
parent ca8a149732
commit 07e695924b
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.