From bd0a3ec17e8ae39026844d04a03ca914ae136e19 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sat, 16 Dec 2023 20:11:23 +0000 Subject: [PATCH] yunet alignment issue sorted --- deepface/detectors/YunetWrapper.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deepface/detectors/YunetWrapper.py b/deepface/detectors/YunetWrapper.py index caa65b5f..da34c0b8 100644 --- a/deepface/detectors/YunetWrapper.py +++ b/deepface/detectors/YunetWrapper.py @@ -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 diff --git a/setup.py b/setup.py index d483a9b4..ab265ee3 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ 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",