yhw-yhw / SHOW

This is the codebase for SHOW in Generating Holistic 3D Human Motion from Speech [CVPR2023],
Other
211 stars 26 forks source link

Can I set focal length? #21

Open LuckyOne09 opened 1 year ago

LuckyOne09 commented 1 year ago

Hello, @yhw-yhw
I observed that SHOW has set the initial focal length to 5000. Could this value vary? I ask because I intend to utilize the pre-calibrated camera intrinsics.

LuckyOne09 commented 1 year ago

I discovered that I can pass focal into modules.PIXIE.demos.api_multi_pixie.api_multi_body function as shown in the following links: https://github.com/yhw-yhw/SHOW/blob/main/SHOW/datasets/op_dataset.py#L341C36-L341C36. https://github.com/yhw-yhw/SHOW/blob/main/modules/PIXIE/demos/api_multi_pixie.py#L32 I believe this could be a possible approach, and I have confirmed that it works. However, it may not be the correct method. If anyone notices any mistakes or can suggest an alternative approach, please let me know.