LAB icon indicating copy to clipboard operation
LAB copied to clipboard

about pose

Open qmj123 opened this issue 6 years ago • 2 comments

Hi, Can this project calculate the head posture? This is very important to me. Thank you very much!

qmj123 avatar Dec 08 '18 05:12 qmj123

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)

pose

1996scarlet avatar Nov 27 '19 08:11 1996scarlet

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

xuguozhi avatar Mar 26 '20 02:03 xuguozhi