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

How to get Yaw, Pitch, Roll? #1

Open
mohammad-saber opened this issue May 9, 2020 · 1 comment
Open

How to get Yaw, Pitch, Roll? #1

mohammad-saber opened this issue May 9, 2020 · 1 comment

Comments

@mohammad-saber
Copy link

Thank you very much for sharing your great work.
Is there any way to get Yaw, Pitch, Roll of of head?

@JianliZh429
Copy link
Owner

Sorry for replying to you so late, I hadn't been doing the work for months. As shown by the image below, if we assume that there's a three-dimensional coordinate in the head position, and the origin is at the nose position, the axis X points right towards the observer, the axis Y is horizontal, the axis Z points up, so, Yaw represents the degree in the xy-plane, Pitch represents the degree in the xz-plane, Roll represents the degree in the yz-plane.
head_pose

Hope it can help you. You can also see the PnP algorithm to get more details.

  1. https://en.wikipedia.org/wiki/Perspective-n-Point
  2. https://docs.opencv.org/4.5.2/dc/d2c/tutorial_real_time_pose.html

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

2 participants