HybrIK
HybrIK copied to clipboard
Question about demo_image.py
Thanks for your great work. There are several question about demo_image.py:
- I find that you directly set 'focal=1000' and then 'focal = focal / 256 * bbox_xywh[2]'. Could you tell me why the focal length is calculated by this way?
- The point of view of the demo is from the front of the image, I wonder how to change other views. I checked the documentation on the official website, but could not find the relevant explanation. Maybe my question was very stupid, but I really hope for your help.
Hi @383029372,
- We assume a fixed focal length in the cropped box during training and inference, i.e., focal=1000. Therefore, to project the result to the original image, we follow the perspective project to change the focal length.
- To render the pose to other views, you can apply a global orientation to the predicted vertices.