Skip to content

Commit

Permalink
yunet alignment issue sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
serengil committed Dec 16, 2023
1 parent 64e6ace commit bd0a3ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepface/detectors/YunetWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bd0a3ec

Please sign in to comment.