GAP-LAB-CUHK-SZ / Total3DUnderstanding

Implementation of CVPR'20 Oral: Total3DUnderstanding: Joint Layout, Object Pose and Mesh Reconstruction for Indoor Scenes from a Single Image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vtk headless mode

nikhilaravi opened this issue · comments

Is it possible to run the demo code without requiring a display for vtk for visualization?

If I understand you correctly, I think you should be able to just comment out the last two lines (or more) from demo.py. You should be able to ship all of the generated assets (demo/outputs/{1-5}) to object storage for later review.

Hi,

You can use the offscreen rendering with vtk. check render_window.SetOffScreenRendering(True) and vtk.vtkWindowToImageFilter() for rendering. A rendering demo.py in our new project is at https://github.com/yinyunie/RfDNet.

Best,
Yinyu