geopavlakos / hamer

HaMeR: Reconstructing Hands in 3D with Transformers
https://geopavlakos.github.io/hamer/
MIT License
326 stars 28 forks source link

3D Mesh to depth map #8

Closed WangYuXuan2022 closed 8 months ago

WangYuXuan2022 commented 8 months ago

Hi, I wonder how to convert the 3D mesh file(.obj) to depth map. Specially, how can I get the extrinsic and intrinsic matrix of the camera in this project, thank you!

geopavlakos commented 8 months ago

Every time we visualize the result, the depth map is also rendered (variable rend_depth here). You can edit the code to get access to this. We don't estimate intrinsics. Instead, we render the result given a predefined focal length.