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

Why the pitch always -90 #1

Open
lzghades opened this issue Sep 7, 2021 · 3 comments
Open

Why the pitch always -90 #1

lzghades opened this issue Sep 7, 2021 · 3 comments

Comments

@lzghades
Copy link

lzghades commented Sep 7, 2021

image

I print the pitch value, it always -90. How to fix it?

@mmmmmm44
Copy link
Owner

Sorry for the late reply
I did not face this problem during development. But sometimes when I left my head from the camera and came back, the angles will be off quite far, in which I had to restart the application.

Maybe you can try tweak the algorithms in the pose_estimator.py (in the init part). But sorry that I cannot offer any good sounding assistance

@chanjuanN
Copy link

@lzghades
Hi,there!
I want to ask whether you solve this problem? I also have such a problem, but I don't know how to solve it.
Thank you for reply!

@a1445605672
Copy link

Hello, gays. This algorithm has been solved by me. This issue is triggered by out-of-bounds data. The result of np.degrees(steady pose[0][0]) is always positive and larger than 90. So I multiply it by -180 to make the data match the standards.
图片

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

4 participants