bug fixes

- license mentioned in setup.py
- face region when detector skipped
This commit is contained in:
Sefik Ilkin Serengil 2024-04-30 21:54:23 +01:00
parent 4c7109d74c
commit 9b11fecfb2
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,
)