diff --git a/deepface/detectors/FastMtCnn.py b/deepface/detectors/FastMtCnn.py index 1d6a416..88340c0 100644 --- a/deepface/detectors/FastMtCnn.py +++ b/deepface/detectors/FastMtCnn.py @@ -35,9 +35,13 @@ class FastMtCnnClient(Detector): for current_detection in zip(*detections): x, y, w, h = xyxy_to_xywh(current_detection[0]) confidence = current_detection[1] + left_eye = current_detection[2][0] right_eye = current_detection[2][1] + left_eye = tuple(int(i) for i in left_eye) + right_eye = tuple(int(i) for i in right_eye) + facial_area = FacialAreaRegion( x=x, y=y,