Closed zyuanbing closed 3 years ago
yeah I have similar question. I want camera parameters as input tensor . How to realize it ?
the same question.
Hi @hzhao1997 , you can use the projection transform module here: https://github.com/ShichenLiu/SoftRas/blob/0beb8aec26e65bac6fe5d41bb2a265f13b616057/soft_renderer/transform.py#L61-L80
P is the extrinsic parameters and orig_size is the image size.
Hi, I want to import a camera parameter file in json format, which include camera eye position, camera focal position, camera up vector, camera focal length, camera skew and principal point, is there any support for importing this?