Skip to content

Commit

Permalink
Correct info about returned types for the represent method
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesVerachtert committed Feb 26, 2024
1 parent ca8a149 commit 07e6959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepface/DeepFace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion deepface/modules/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 07e6959

Please sign in to comment.