Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about pose #29

Open
qmj123 opened this issue Dec 8, 2018 · 2 comments
Open

about pose #29

qmj123 opened this issue Dec 8, 2018 · 2 comments

Comments

@qmj123
Copy link

qmj123 commented Dec 8, 2018

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

@1996scarlet
Copy link

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

@xuguozhi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants