habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

generate semantic image in example/viewer.py

Open Hoyyyaard opened this issue 2 years ago • 2 comments

command : python examples/viewer.py --scene /path/to/data/scene_datasets/habitat-test-scenes/skokloster-castle.glb

I set the semantic sensor to True but it doesnot show the semantic image

Hoyyyaard avatar May 13 '22 13:05 Hoyyyaard

how can I generate the semantic image to the screen?

Hoyyyaard avatar May 13 '22 13:05 Hoyyyaard

Hey, @Hoyyyaard. The python viewer is not setup to render semantics or depth images to the canvas at this time. You are welcome to use the C++ viewer for this.

You can enable a semantic sensor in the python viewer code and use the visualization utilities to save the semantic frames if you prefer to stay in python. You are also welcome to try adding this feature and contributing back it you like.

aclegg3 avatar May 16 '22 19:05 aclegg3