mmmmmm44/VTuber-Python-Unity

Why the pitch always -90

lzghades opened this issue · 3 comments

image

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

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

@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!

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.
图片