yunet alignment issue sorted

This commit is contained in:
Sefik Ilkin Serengil 2023-12-16 20:11:23 +00:00
parent 64e6aceff0
commit bd0a3ec17e
2 changed files with 2 additions and 2 deletions

View File

@ -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
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

View File

@ -8,7 +8,7 @@ with open("requirements.txt", "r", encoding="utf-8") as f:
setuptools.setup(
name="deepface",
version="0.0.80",
version="0.0.81",
author="Sefik Ilkin Serengil",
author_email="serengil@gmail.com",
description="A Lightweight Face Recognition and Facial Attribute Analysis Framework (Age, Gender, Emotion, Race) for Python",