VTuber-Python-Unity icon indicating copy to clipboard operation
VTuber-Python-Unity copied to clipboard

Why the pitch always -90

Open lzghades opened this issue 2 years ago • 3 comments

image

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

lzghades avatar Sep 07 '21 11:09 lzghades

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

mmmmmm44 avatar Sep 15 '21 13:09 mmmmmm44

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

chanjuanN avatar Apr 24 '22 09:04 chanjuanN

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

a1445605672 avatar Sep 26 '22 13:09 a1445605672