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

How to obtain region bounding boxes in HM3D?

Open frank-gallagher opened this issue 1 year ago • 2 comments

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.

frank-gallagher avatar Feb 21 '24 15:02 frank-gallagher

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).

aclegg3 avatar Feb 21 '24 16:02 aclegg3

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

frank-gallagher avatar Feb 21 '24 18:02 frank-gallagher