| { |
| "spatial code schema": { |
| "objects": { |
| "<object class>": { |
| "count": { |
| "unit": null, |
| "description": "number of instances of this class in the compact spatial code (that schema's per-class oriented-box list length)" |
| }, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": { |
| "unit": "meters", |
| "description": "x coordinate of this instance's compact 3D oriented bounding box center" |
| }, |
| "y coordinate": { |
| "unit": "meters", |
| "description": "y coordinate of this instance's compact 3D oriented bounding box center" |
| }, |
| "height above floor": { |
| "unit": "meters", |
| "description": "height coordinate of this instance's compact 3D oriented bounding box center" |
| } |
| }, |
| "longest dimension": { |
| "unit": "meters", |
| "description": "longest of this instance's compact 3D oriented bounding box dimensions" |
| } |
| } |
| ] |
| } |
| }, |
| "room": { |
| "floor area": { |
| "unit": "square meters", |
| "description": "shoelace area of the compact spatial code's floor boundary polygons, with every interior hole subtracted" |
| } |
| }, |
| "closest classes distance meters from": { |
| "<object class>": { |
| "<other object class>": { |
| "distance": { |
| "unit": "meters", |
| "description": "estimated distance in meters between an object of this class and an object of the other class" |
| }, |
| "closeness rank": { |
| "unit": null, |
| "description": "1 = the nearest other class to this one, 2 = second-nearest, and so on; ranked by nearest-instance proximity, so use the rank (not the distance values) to compare which class is closest" |
| } |
| } |
| } |
| }, |
| "appearance order": { |
| "unit": null, |
| "description": "class names ordered by earliest compact 'first visible time' across all of that class's instances" |
| } |
| }, |
| "objects": { |
| "toilet": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "0.36 meters", |
| "y coordinate": "0.55 meters", |
| "height above floor": "0.42 meters" |
| }, |
| "longest dimension": "0.83 meters" |
| } |
| ] |
| }, |
| "bathtub": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "0.83 meters", |
| "y coordinate": "-0.88 meters", |
| "height above floor": "0.28 meters" |
| }, |
| "longest dimension": "1.55 meters" |
| } |
| ] |
| } |
| }, |
| "room": { |
| "floor area": "10.2 square meters" |
| }, |
| "closest classes distance meters from": { |
| "toilet": { |
| "bathtub": { |
| "distance": "0.93 meters", |
| "closeness rank": 1 |
| } |
| }, |
| "bathtub": { |
| "toilet": { |
| "distance": "0.93 meters", |
| "closeness rank": 1 |
| } |
| } |
| }, |
| "appearance order": ["toilet", "bathtub"] |
| } |