Merge pull request #1225 from serengil/feat-task-3004-resolving-issues

bug fixes
This commit is contained in:
Sefik Ilkin Serengil 2024-05-01 10:55:44 +01:00 committed by GitHub
commit 15deef6516
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def represent(
img_objs = [
{
"face": img,
"facial_area": {"x": 0, "y": 0, "w": img.shape[1], "h": img.shape[2]},
"facial_area": {"x": 0, "y": 0, "w": img.shape[0], "h": img.shape[1]},
"confidence": 0,
}
]

View File

@ -33,5 +33,6 @@ setuptools.setup(
"console_scripts": ["deepface = deepface.DeepFace:cli"],
},
python_requires=">=3.7",
license="MIT",
install_requires=requirements,
)