AntonioJun's picture
Replace data with local workspace contents (part 2)
c9161bc verified
Raw
History Blame Contribute Delete
3.99 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": {
"bed": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "-3.37 meters",
"y coordinate": "1.85 meters",
"height above floor": "0.33 meters"
},
"longest dimension": "2.11 meters"
}
]
},
"table": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "-1.83 meters",
"y coordinate": "3.97 meters",
"height above floor": "0.38 meters"
},
"longest dimension": "1.45 meters"
}
]
},
"toilet": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "0.54 meters",
"y coordinate": "4.14 meters",
"height above floor": "0.42 meters"
},
"longest dimension": "0.82 meters"
}
]
},
"tv": {
"count": 1,
"instances": [
{
"position": {
"x coordinate": "-0.08 meters",
"y coordinate": "1.54 meters",
"height above floor": "1.67 meters"
},
"longest dimension": "0.58 meters"
}
]
}
},
"room": {
"floor area": "20.7 square meters"
},
"closest classes distance meters from": {
"bed": {
"table": {
"distance": "0.94 meters",
"closeness rank": 1
},
"tv": {
"distance": "2.33 meters",
"closeness rank": 2
},
"toilet": {
"distance": "3.07 meters",
"closeness rank": 3
}
},
"table": {
"bed": {
"distance": "0.94 meters",
"closeness rank": 1
},
"toilet": {
"distance": "1.33 meters",
"closeness rank": 2
},
"tv": {
"distance": "2.25 meters",
"closeness rank": 3
}
},
"toilet": {
"table": {
"distance": "1.33 meters",
"closeness rank": 1
},
"tv": {
"distance": "2.25 meters",
"closeness rank": 2
},
"bed": {
"distance": "3.07 meters",
"closeness rank": 3
}
},
"tv": {
"toilet": {
"distance": "2.25 meters",
"closeness rank": 1
},
"table": {
"distance": "2.25 meters",
"closeness rank": 2
},
"bed": {
"distance": "2.33 meters",
"closeness rank": 3
}
}
},
"appearance order": ["bed", "table", "toilet", "tv"]
}