zju3dv / EasyMocap

Make human motion capture easier.
Other
3.73k stars 457 forks source link

Estimate Camera Parameters #365

Open jamesyoung0623 opened 1 year ago

jamesyoung0623 commented 1 year ago

Hello, Thanks for sharing the great work! I am now trying to run on monocular videos: https://chingswy.github.io/easymocap-public-doc/develop/03_fitsmpl_monocular.html#try-the-code I got the estimated smpl parameters, but I don't know how to get the corresponding camera parameters. Is there any way to get the estimated camera parameters? Thank you!

Dipankar1997161 commented 1 year ago

Hello,

I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

gushengbo commented 1 year ago

Hello,

I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Dipankar1997161 commented 1 year ago

Hello, I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Sorry, for multi view videos, u need to pass your own camera parameters, otherwise the triangulation won't work. Blank camera only done for monocular.

That's the necessity for multi-view

gushengbo commented 1 year ago

Hello, I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Sorry, for multi view videos, u need to pass your own camera parameters, otherwise the triangulation won't work. Blank camera only done for monocular.

That's the necessity for multi-view

OK, thank you very much!

gushengbo commented 1 year ago

Hello, I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Sorry, for multi view videos, u need to pass your own camera parameters, otherwise the triangulation won't work. Blank camera only done for monocular.

That's the necessity for multi-view

Hello, could you tell me the detail format of camera parameters in extri.yml and intri.yml?

Dipankar1997161 commented 1 year ago

Hello, I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Sorry, for multi view videos, u need to pass your own camera parameters, otherwise the triangulation won't work. Blank camera only done for monocular. That's the necessity for multi-view

Hello, could you tell me the detail format of camera parameters in extri.yml and intri.yml?

For intri you need focal length, camera centers. And distortion( optional ) For extri, you need Roation, translation and Rodriguez

Regarding the file format, please check any create_camera.py in this repo. Or check Easymocap Web page, there also they covered the structure of these files in yaml format

gushengbo commented 1 year ago

Hello, I think for monocular videos and images, the camera files generated is created through the following file: apps/calibration/create_blank_camera.py

Hello, when I run on multi view videos, whether the camera files will be created?

Sorry, for multi view videos, u need to pass your own camera parameters, otherwise the triangulation won't work. Blank camera only done for monocular. That's the necessity for multi-view

Hello, could you tell me the detail format of camera parameters in extri.yml and intri.yml?

For intri you need focal length, camera centers. And distortion( optional ) For extri, you need Roation, translation and Rodriguez

Regarding the file format, please check any create_camera.py in this repo. Or check Easymocap Web page, there also they covered the structure of these files in yaml format

I get it. Thank you!

xianrui-luo commented 1 month ago

@jamesyoung0623 Hi does apps/calibration/create_blank_camera.py do the job for you? I tried it but when I want to use the camera parameters and the smpl in training, it does not align.