hassony2/manopth

Orientation of the model

linkinSimon opened this issue · 0 comments

Hi, @hassony2 , thanks for sharing the repo.

How can I change the orientation of the hand around the origin without changing the translation?
Because every time I change the first three params (rotation vector) in random_pose in examples/manopth_mindemo.py,
it not only rotate around the origin but it also has some translation.
Is transformation matrix coupled with hand pose in some way ?

EX : examples/manopth_mindemo.py
1.
random_pose = torch.rand(batch_size, ncomps + 3) *0
random_pose[0,0] = 0
random_pose[0,1] = 0
random_pose[0,2] = 0
Screenshot from 2021-12-17 17-00-06

random_pose = torch.rand(batch_size, ncomps + 3) *0
random_pose[0,0] = 0.5
random_pose[0,1] = 0.5
random_pose[0,2] = 0.5
Screenshot from 2021-12-17 17-00-48

Thank you!
Best