Pytorch3d: How to get the depth image?

Created on 2 Apr 2020  ·  3Comments  ·  Source: facebookresearch/pytorch3d

❓ Questions on how to use PyTorch3D

when i use pytorch3d to render a model, i want to get the depth image, how to do?

NOTE:

  1. If you encountered any errors or unexpected issues while using PyTorch3D and need help resolving them,
    please use the "Bugs / Unexpected behaviors" issue template.

  2. We do not answer general machine learning / computer vision questions that are not specific to
    PyTorch3D, such as how a model works or what algorithm/methods can be
    used to achieve X.

how to

Most helpful comment

Hi @ldepn!
We provide really detailed tutorials, notes and API documentation on the rendering tools. This information should be more than enough to allow you to navigate around the tools in PyTorch3D. In addition to that, some fellow users have also raised similar questions, e.g. this issue https://github.com/facebookresearch/pytorch3d/issues/35 should be of help.

All 3 comments

Hi @ldepn!
We provide really detailed tutorials, notes and API documentation on the rendering tools. This information should be more than enough to allow you to navigate around the tools in PyTorch3D. In addition to that, some fellow users have also raised similar questions, e.g. this issue https://github.com/facebookresearch/pytorch3d/issues/35 should be of help.

@gkioxari thanks !

We are landing a change now that introduces MeshRendererWithFragments that returns images, fragments into the renderer library which you can use in the future.

Was this page helpful?
0 / 5 - 0 ratings