facebookresearch / habitat-sim

A flexible, high-performance 3D simulator for Embodied AI research.
https://aihabitat.org/
MIT License
2.48k stars 406 forks source link

How to obtain region bounding boxes in HM3D? #2323

Closed frank-gallagher closed 4 months ago

frank-gallagher commented 5 months ago

Habitat-Sim version

v0.3.0 conda package & built from source main branch

❓ Questions and Help

How do I obtain the region bounding boxes shown in @aclegg3 Region Query API #2317? Is this accessible through the python API? The SemanticRegion.volume_edges property is an empty list.

Any help would be much appreciated.

aclegg3 commented 5 months ago

Hey @frank-gallagher,

Region bounding boxes are not presently annotated for HM3D because regions are annotated per-object rather than global geometry.

If you need these, you can compute them yourself from the objects in each region or manually annotate them and add the config files (see the test assets added with this PR for an example).

frank-gallagher commented 5 months ago

Hi @aclegg3, I appreciate your quick response. Thanks for clearing that up!