pcb9382 / FaceAlgorithm

face detection face recognition包含人脸检测(retinaface,yolov5face,yolov7face,yolov8face),人脸检测跟踪(ByteTracker),人脸角度计算(Face_Angle)人脸矫正(Face_Aligner),人脸识别(Arcface),口罩检测(MaskRecognitiion),年龄性别检测(Gender_age),静默活体检测(Silent_Face_Anti_Spoofing),FaceAlignment(106keypoints)
MIT License
295 stars 65 forks source link

How to get 106 landmarks? #10

Open Tallisgo opened 5 months ago

Tallisgo commented 5 months ago

hi, I have some questions about generate the coordinates of keypoints. Why Face_Alignment_prob need to plus1 and then divide 2? What is the meaning of Face_Alignment_prob

alignmentface.landmarks[start]=int((Face_Alignment_prob[start]+1)*img.cols / 2); alignmentface.landmarks[start+1]=int((Face_Alignment_prob[start+1]+1)*img.cols / 2);

Thanks for your help.