Dear Serengil,
We're encounter an issue according to align parameters in DeepFace detectface function, and we're using RetinaFace to achive the accuracy.
Here how we call the detectface function from DeepFace:
def face_detect(image):
face = DeepFace.detectFace(img_path=image, detector_backend='retinaface', align=True)
return face
we do small experiment with rotated potrait (90 degree both clockwise and counter clockwise). We expect when align set to true, the face will be aligned. When we test both clockwise and counter clockwise, the output just rotating to other side (180 degree).
here is the sample image we get from Google search randomly and we rotate it in PS:
1st:
2nd
Dear Serengil, We're encounter an issue according to align parameters in DeepFace
detectface
function, and we're using RetinaFace to achive the accuracy.Here how we call the
detectface
function from DeepFace:and call it by this codes:
we do small experiment with rotated potrait (90 degree both clockwise and counter clockwise). We expect when align set to true, the face will be aligned. When we test both clockwise and counter clockwise, the output just rotating to other side (180 degree). here is the sample image we get from Google search randomly and we rotate it in PS: 1st: 2nd