AntonioJun's picture
Replace data with local workspace contents (part 2)
c9161bc verified
Raw
History Blame Contribute Delete
4.07 kB
{
"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": {
"refrigerator": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "3.92 meters",
"y coordinate": "1.49 meters",
"height above floor": "1.13 meters"
},
"longest dimension": "2.04 meters"
}
]
},
"microwave": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "0.86 meters",
"y coordinate": "1.73 meters",
"height above floor": "0.93 meters"
},
"longest dimension": "0.53 meters"
}
]
},
"door": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "0.1 meters",
"y coordinate": "0.79 meters",
"height above floor": "1.06 meters"
},
"longest dimension": "2.11 meters"
}
]
},
"heater": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "4.77 meters",
"y coordinate": "0.98 meters",
"height above floor": "0.32 meters"
},
"longest dimension": "1.48 meters"
}
]
}
},
"room": {
"floor area": "9.0 square meters"
},
"closest classes distance meters from": {
"refrigerator": {
"heater": {
"distance": "0.34 meters",
"closeness rank": 1
},
"microwave": {
"distance": "2.34 meters",
"closeness rank": 2
},
"door": {
"distance": "3.31 meters",
"closeness rank": 3
}
},
"microwave": {
"door": {
"distance": "0.51 meters",
"closeness rank": 1
},
"refrigerator": {
"distance": "2.34 meters",
"closeness rank": 2
},
"heater": {
"distance": "3.6 meters",
"closeness rank": 3
}
},
"door": {
"microwave": {
"distance": "0.51 meters",
"closeness rank": 1
},
"refrigerator": {
"distance": "3.31 meters",
"closeness rank": 2
},
"heater": {
"distance": "4.47 meters",
"closeness rank": 3
}
},
"heater": {
"refrigerator": {
"distance": "0.34 meters",
"closeness rank": 1
},
"microwave": {
"distance": "3.6 meters",
"closeness rank": 2
},
"door": {
"distance": "4.47 meters",
"closeness rank": 3
}
}
},
"appearance order": ["refrigerator", "microwave", "door", "heater"]
}