faze_preprocess
faze_preprocess copied to clipboard
Euler Angles of Headpose
https://github.com/swook/faze_preprocess/blob/5c33caaa1bc271a8d6aad21837e334108f293683/create_hdf_files_for_faze.py#L214
Hello Swook,
Thank you very much for sharing your excellent work. I am confused about the transformation between the rotation matrix and Euler angles.
When you transform the rotation matrix to Euler angles, as for the pitch component, it should be np.arcsin(-head_mat[1, 2]). However, I found the sign is missing in the code. Can I ask why the negative sign can be ignored?
Thank you for your answer in advance.