mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
yunet alignment issue sorted
This commit is contained in:
parent
64e6aceff0
commit
bd0a3ec17e
@ -85,5 +85,5 @@ def detect_face(detector, image, align=True, score_threshold=0.9):
|
|||||||
|
|
||||||
# x_re, y_re, x_le, y_le stands for the coordinates of right eye, left eye
|
# x_re, y_re, x_le, y_le stands for the coordinates of right eye, left eye
|
||||||
def yunet_align_face(img, x_re, y_re, x_le, y_le):
|
def yunet_align_face(img, x_re, y_re, x_le, y_le):
|
||||||
img = FaceDetector.alignment_procedure(img, (x_le, y_le), (x_re, y_re))
|
img = FaceDetector.alignment_procedure(img, (x_re, y_re), (x_le, y_le))
|
||||||
return img
|
return img
|
||||||
|
2
setup.py
2
setup.py
@ -8,7 +8,7 @@ with open("requirements.txt", "r", encoding="utf-8") as f:
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="deepface",
|
name="deepface",
|
||||||
version="0.0.80",
|
version="0.0.81",
|
||||||
author="Sefik Ilkin Serengil",
|
author="Sefik Ilkin Serengil",
|
||||||
author_email="serengil@gmail.com",
|
author_email="serengil@gmail.com",
|
||||||
description="A Lightweight Face Recognition and Facial Attribute Analysis Framework (Age, Gender, Emotion, Race) for Python",
|
description="A Lightweight Face Recognition and Facial Attribute Analysis Framework (Age, Gender, Emotion, Race) for Python",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user