| { |
| "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": { |
| "sofa": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "-2.21 meters", |
| "y coordinate": "0.62 meters", |
| "height above floor": "0.36 meters" |
| }, |
| "longest dimension": "1.81 meters" |
| } |
| ] |
| }, |
| "table": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "-0.41 meters", |
| "y coordinate": "3.0 meters", |
| "height above floor": "0.39 meters" |
| }, |
| "longest dimension": "1.07 meters" |
| } |
| ] |
| }, |
| "chair": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "0.09 meters", |
| "y coordinate": "3.65 meters", |
| "height above floor": "0.43 meters" |
| }, |
| "longest dimension": "0.82 meters" |
| } |
| ] |
| }, |
| "fireplace": { |
| "count": 1, |
| "instances": [ |
| { |
| "position": { |
| "x coordinate": "-3.65 meters", |
| "y coordinate": "1.66 meters", |
| "height above floor": "0.69 meters" |
| }, |
| "longest dimension": "1.61 meters" |
| } |
| ] |
| } |
| }, |
| "room": { |
| "floor area": "21.4 square meters" |
| }, |
| "closest classes distance meters from": { |
| "sofa": { |
| "fireplace": { |
| "distance": "0.39 meters", |
| "closeness rank": 1 |
| }, |
| "table": { |
| "distance": "1.54 meters", |
| "closeness rank": 2 |
| }, |
| "chair": { |
| "distance": "2.58 meters", |
| "closeness rank": 3 |
| } |
| }, |
| "table": { |
| "chair": { |
| "distance": "0.0 meters", |
| "closeness rank": 1 |
| }, |
| "sofa": { |
| "distance": "1.54 meters", |
| "closeness rank": 2 |
| }, |
| "fireplace": { |
| "distance": "2.63 meters", |
| "closeness rank": 3 |
| } |
| }, |
| "chair": { |
| "table": { |
| "distance": "0.0 meters", |
| "closeness rank": 1 |
| }, |
| "sofa": { |
| "distance": "2.58 meters", |
| "closeness rank": 2 |
| }, |
| "fireplace": { |
| "distance": "3.54 meters", |
| "closeness rank": 3 |
| } |
| }, |
| "fireplace": { |
| "sofa": { |
| "distance": "0.39 meters", |
| "closeness rank": 1 |
| }, |
| "table": { |
| "distance": "2.63 meters", |
| "closeness rank": 2 |
| }, |
| "chair": { |
| "distance": "3.54 meters", |
| "closeness rank": 3 |
| } |
| } |
| }, |
| "appearance order": ["sofa", "table", "chair", "fireplace"] |
| } |