mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 12:35:22 +00:00
Update MediapipeWrapper.py
This commit is contained in:
parent
ba118effe5
commit
4fc81fd2ef
@ -63,8 +63,8 @@ def detect_face(face_detector, img, align=True):
|
|||||||
if align:
|
if align:
|
||||||
left_eye=(leye_x,leye_y)
|
left_eye=(leye_x,leye_y)
|
||||||
right_eye=(reye_x,reye_y)
|
right_eye=(reye_x,reye_y)
|
||||||
print(left_eye)
|
#print(left_eye)
|
||||||
print(right_eye)
|
#print(right_eye)
|
||||||
detected_face = FaceDetector.alignment_procedure(detected_face, left_eye, right_eye)
|
detected_face = FaceDetector.alignment_procedure(detected_face, left_eye, right_eye)
|
||||||
resp.append((detected_face,img_region))
|
resp.append((detected_face,img_region))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user