Merge pull request #964 from serengil/feat-task-2101-deepid-represent-bug

incompatible bug for deepid in representation
This commit is contained in:
Sefik Ilkin Serengil 2024-01-21 18:39:06 +00:00 committed by GitHub
commit 6afbfa9fef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ def represent(
if detector_backend != "skip":
img_objs = functions.extract_faces(
img=img_path,
target_size=target_size,
target_size=(target_size[1], target_size[0]),
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,

View File

@ -14,7 +14,7 @@ model_names = [
"Facenet512",
"OpenFace",
"DeepFace",
# "DeepID",
"DeepID",
"Dlib",
"ArcFace",
"SFace",