| { |
| "spatial code schema": { |
| "objects": { |
| "<object class>": [ |
| { |
| "3D oriented bounding box": { |
| "3D oriented bounding box center coordinates": { |
| "components": [ |
| "x", |
| "y", |
| "height above floor" |
| ], |
| "unit": "meters", |
| "description": "center of the 3D oriented bounding box in the shared room coordinate system" |
| }, |
| "3D oriented bounding box dimensions": { |
| "components": [ |
| "dimension 1", |
| "dimension 2", |
| "dimension 3" |
| ], |
| "unit": "meters", |
| "description": "full lengths of the 3D oriented bounding box along the corresponding orientation unit vectors" |
| }, |
| "3D oriented bounding box orientation unit vectors": { |
| "components": [ |
| [ |
| "x", |
| "y", |
| "height" |
| ], |
| [ |
| "x", |
| "y", |
| "height" |
| ], |
| [ |
| "x", |
| "y", |
| "height" |
| ] |
| ], |
| "unit": null, |
| "description": "three perpendicular directions corresponding in order to the three 3D oriented bounding box dimensions" |
| } |
| }, |
| "first visible time": { |
| "unit": "seconds", |
| "description": "earliest time at which this object instance is visibly observed" |
| } |
| } |
| ] |
| }, |
| "room": { |
| "floor boundary polygons": [ |
| { |
| "outer boundary coordinates": { |
| "components": [ |
| [ |
| "x", |
| "y" |
| ], |
| [ |
| "x", |
| "y" |
| ] |
| ], |
| "unit": "meters", |
| "description": "ordered vertices enclosing one floor region" |
| }, |
| "interior hole boundary coordinates": { |
| "components": [ |
| [ |
| [ |
| "x", |
| "y" |
| ], |
| [ |
| "x", |
| "y" |
| ] |
| ] |
| ], |
| "unit": "meters", |
| "description": "ordered boundaries enclosing regions excluded from the floor area" |
| } |
| } |
| ] |
| } |
| }, |
| "objects": { |
| "ceiling light": [ |
| { |
| "3D oriented bounding box": { |
| "3D oriented bounding box center coordinates": [ |
| 1.65, |
| 1.56, |
| 2.34 |
| ], |
| "3D oriented bounding box dimensions": [ |
| 0.06, |
| 0.07, |
| 0.06 |
| ], |
| "3D oriented bounding box orientation unit vectors": [ |
| [ |
| -0.61, |
| -0.79, |
| 0.0 |
| ], |
| [ |
| 0.0, |
| 0.0, |
| 1.0 |
| ], |
| [ |
| -0.79, |
| 0.61, |
| 0.0 |
| ] |
| ] |
| }, |
| "first visible time": null |
| } |
| ], |
| "toilet": [ |
| { |
| "3D oriented bounding box": { |
| "3D oriented bounding box center coordinates": [ |
| 1.96, |
| 0.64, |
| 0.29 |
| ], |
| "3D oriented bounding box dimensions": [ |
| 0.71, |
| 0.41, |
| 0.39 |
| ], |
| "3D oriented bounding box orientation unit vectors": [ |
| [ |
| -0.84, |
| 0.54, |
| 0.0 |
| ], |
| [ |
| 0.0, |
| 0.0, |
| 1.0 |
| ], |
| [ |
| 0.54, |
| 0.84, |
| 0.0 |
| ] |
| ] |
| }, |
| "first visible time": null |
| } |
| ], |
| "door": [ |
| { |
| "3D oriented bounding box": { |
| "3D oriented bounding box center coordinates": [ |
| 0.51, |
| 0.91, |
| 1.14 |
| ], |
| "3D oriented bounding box dimensions": [ |
| 1.0, |
| 2.28, |
| 0.13 |
| ], |
| "3D oriented bounding box orientation unit vectors": [ |
| [ |
| 0.88, |
| -0.48, |
| 0.0 |
| ], |
| [ |
| 0.0, |
| 0.0, |
| 1.0 |
| ], |
| [ |
| -0.48, |
| -0.88, |
| 0.0 |
| ] |
| ] |
| }, |
| "first visible time": null |
| } |
| ] |
| }, |
| "room": { |
| "floor boundary polygons": [ |
| { |
| "outer boundary coordinates": [ |
| [ |
| 0.45, |
| 0.4 |
| ], |
| [ |
| 2.76, |
| 0.4 |
| ], |
| [ |
| 2.76, |
| 2.71 |
| ], |
| [ |
| 0.45, |
| 2.71 |
| ] |
| ], |
| "interior hole boundary coordinates": [] |
| } |
| ] |
| } |
| } |