Open qmj123 opened 5 years ago
Try this file, replace top 3 lines of get_head_pose
function with
image_pts = np.float32([shape[33], shape[38], shape[50], shape[46], shape[60],
shape[64], shape[68], shape[72], shape[55], shape[59],
shape[76], shape[82], shape[85], shape[16]])
And then
reprojectdst, euler_angle = get_head_pose(landmarks)
draw_head_pose_box(frame, reprojectdst)
https://www.cnblogs.com/as3asddd/p/7257820.html https://new.qq.com/omn/20180808/20180808G0693D.html compare the difference point order, and replace the new point index in above code
Hi, Can this project calculate the head posture? This is very important to me. Thank you very much!