RainChow's picture
Rename spatial_relations to intermediate_spatial_representations
329b03f
{
"scene_id": "10c8ab99f4",
"dataset": "scannetpp",
"small_items": [
{
"object_id": 37,
"label": "bottle",
"centroid": [
1.801,
1.5204,
0.9808
],
"nearby_objects": [
{
"object_id": 38,
"label": "tooth brush",
"centroid": [
1.7149,
1.4896,
1.0036
],
"centroid_distance_m": 0.0941,
"spatial_3d": {
"edge_distance_cm": 1.63,
"center_distance_cm": 9.41,
"nearest_point_small": [
1.7755,
1.4976,
0.9781
],
"nearest_point_nearby": [
1.7646,
1.4855,
0.9786
],
"direction_unit_vector": [
-0.9138,
-0.3266,
0.2413
],
"vertical_relation": "same_level",
"vertical_offset_cm": -2.27,
"horizontal_distance_cm": 9.14
}
},
{
"object_id": 39,
"label": "faucet",
"centroid": [
1.9069,
1.4858,
0.965
],
"centroid_distance_m": 0.1125,
"spatial_3d": {
"edge_distance_cm": 3.22,
"center_distance_cm": 11.25,
"nearest_point_small": [
1.8387,
1.5645,
0.9106
],
"nearest_point_nearby": [
1.8706,
1.5621,
0.9072
],
"direction_unit_vector": [
0.9413,
-0.3066,
-0.141
],
"vertical_relation": "same_level",
"vertical_offset_cm": 1.59,
"horizontal_distance_cm": 11.14
}
},
{
"object_id": 40,
"label": "tooth cleaning product",
"centroid": [
1.9593,
1.5398,
0.9917
],
"centroid_distance_m": 0.1599,
"spatial_3d": {
"edge_distance_cm": 6.53,
"center_distance_cm": 15.99,
"nearest_point_small": [
1.8356,
1.5213,
1.0116
],
"nearest_point_nearby": [
1.9001,
1.5312,
1.0117
],
"direction_unit_vector": [
0.9903,
0.1214,
0.0677
],
"vertical_relation": "same_level",
"vertical_offset_cm": -1.08,
"horizontal_distance_cm": 15.95
}
},
{
"object_id": 18,
"label": "sink",
"centroid": [
1.8742,
1.3636,
0.8505
],
"centroid_distance_m": 0.2166,
"spatial_3d": {
"edge_distance_cm": 0.26,
"center_distance_cm": 21.66,
"nearest_point_small": [
1.8277,
1.5093,
0.9002
],
"nearest_point_nearby": [
1.8286,
1.5073,
0.8989
],
"direction_unit_vector": [
0.3381,
-0.7235,
-0.6018
],
"vertical_relation": "above",
"vertical_offset_cm": 13.04,
"horizontal_distance_cm": 17.3
}
},
{
"object_id": 49,
"label": "soap",
"centroid": [
2.0198,
1.5119,
0.9452
],
"centroid_distance_m": 0.2218,
"spatial_3d": {
"edge_distance_cm": 15.95,
"center_distance_cm": 22.18,
"nearest_point_small": [
1.8371,
1.511,
1.0112
],
"nearest_point_nearby": [
1.994,
1.5103,
0.9823
],
"direction_unit_vector": [
0.9863,
-0.0382,
-0.1605
],
"vertical_relation": "same_level",
"vertical_offset_cm": 3.56,
"horizontal_distance_cm": 21.9
}
},
{
"object_id": 36,
"label": "toilet paper",
"centroid": [
2.1068,
1.5635,
0.969
],
"centroid_distance_m": 0.3091,
"spatial_3d": {
"edge_distance_cm": 22.31,
"center_distance_cm": 30.91,
"nearest_point_small": [
1.8387,
1.5645,
0.9106
],
"nearest_point_nearby": [
2.0615,
1.5721,
0.9033
],
"direction_unit_vector": [
0.9895,
0.1396,
-0.0382
],
"vertical_relation": "same_level",
"vertical_offset_cm": 1.18,
"horizontal_distance_cm": 30.89
}
},
{
"object_id": 48,
"label": "power socket",
"centroid": [
1.7573,
1.5602,
1.3401
],
"centroid_distance_m": 0.3641,
"spatial_3d": {
"edge_distance_cm": 23.92,
"center_distance_cm": 36.41,
"nearest_point_small": [
1.7988,
1.5199,
1.065
],
"nearest_point_nearby": [
1.7898,
1.5661,
1.2996
],
"direction_unit_vector": [
-0.1199,
0.1094,
0.9867
],
"vertical_relation": "below",
"vertical_offset_cm": -35.93,
"horizontal_distance_cm": 5.91
}
},
{
"object_id": 17,
"label": "towel",
"centroid": [
1.4389,
1.3985,
0.9534
],
"centroid_distance_m": 0.383,
"spatial_3d": {
"edge_distance_cm": 21.34,
"center_distance_cm": 38.3,
"nearest_point_small": [
1.7414,
1.5547,
0.9111
],
"nearest_point_nearby": [
1.5693,
1.4285,
0.906
],
"direction_unit_vector": [
-0.9453,
-0.3182,
-0.0717
],
"vertical_relation": "same_level",
"vertical_offset_cm": 2.75,
"horizontal_distance_cm": 38.21
}
},
{
"object_id": 15,
"label": "towel radiator",
"centroid": [
1.4242,
1.4236,
0.9473
],
"centroid_distance_m": 0.3904,
"spatial_3d": {
"edge_distance_cm": 14.15,
"center_distance_cm": 39.04,
"nearest_point_small": [
1.7414,
1.5547,
0.9111
],
"nearest_point_nearby": [
1.6258,
1.4731,
0.9114
],
"direction_unit_vector": [
-0.965,
-0.2478,
-0.0858
],
"vertical_relation": "same_level",
"vertical_offset_cm": 3.35,
"horizontal_distance_cm": 38.9
}
},
{
"object_id": 1,
"label": "towel",
"centroid": [
1.4616,
1.4077,
1.3646
],
"centroid_distance_m": 0.5245,
"spatial_3d": {
"edge_distance_cm": 23.73,
"center_distance_cm": 52.45,
"nearest_point_small": [
1.7933,
1.4668,
1.0606
],
"nearest_point_nearby": [
1.6011,
1.4203,
1.1918
],
"direction_unit_vector": [
-0.647,
-0.2147,
0.7317
],
"vertical_relation": "below",
"vertical_offset_cm": -38.38,
"horizontal_distance_cm": 35.75
}
},
{
"object_id": 46,
"label": "rug",
"centroid": [
1.4432,
1.3633,
0.1252
],
"centroid_distance_m": 0.9407,
"spatial_3d": {
"edge_distance_cm": 71.49,
"center_distance_cm": 94.07,
"nearest_point_small": [
1.8005,
1.4905,
0.8994
],
"nearest_point_nearby": [
1.7853,
1.4393,
0.1865
],
"direction_unit_vector": [
-0.3804,
-0.1669,
-0.9096
],
"vertical_relation": "above",
"vertical_offset_cm": 85.57,
"horizontal_distance_cm": 39.08
}
},
{
"object_id": 43,
"label": "towel",
"centroid": [
2.1255,
0.7815,
0.4792
],
"centroid_distance_m": 0.9502,
"spatial_3d": {
"edge_distance_cm": 81.84,
"center_distance_cm": 95.02,
"nearest_point_small": [
1.8093,
1.4856,
0.9136
],
"nearest_point_nearby": [
1.9858,
0.7723,
0.5531
],
"direction_unit_vector": [
0.3415,
-0.7776,
-0.5279
],
"vertical_relation": "above",
"vertical_offset_cm": 50.16,
"horizontal_distance_cm": 80.7
}
}
]
},
{
"object_id": 49,
"label": "soap",
"centroid": [
2.0198,
1.5119,
0.9452
],
"nearby_objects": [
{
"object_id": 40,
"label": "tooth cleaning product",
"centroid": [
1.9593,
1.5398,
0.9917
],
"centroid_distance_m": 0.0812,
"spatial_3d": {
"edge_distance_cm": 0.34,
"center_distance_cm": 8.12,
"nearest_point_small": [
2.0,
1.5501,
0.9165
],
"nearest_point_nearby": [
1.9982,
1.5512,
0.9192
],
"direction_unit_vector": [
-0.7449,
0.3435,
0.5719
],
"vertical_relation": "same_level",
"vertical_offset_cm": -4.64,
"horizontal_distance_cm": 6.66
}
},
{
"object_id": 36,
"label": "toilet paper",
"centroid": [
2.1068,
1.5635,
0.969
],
"centroid_distance_m": 0.104,
"spatial_3d": {
"edge_distance_cm": 2.96,
"center_distance_cm": 10.4,
"nearest_point_small": [
2.0381,
1.5506,
0.9063
],
"nearest_point_nearby": [
2.067,
1.5559,
0.9023
],
"direction_unit_vector": [
0.8373,
0.4965,
0.2287
],
"vertical_relation": "same_level",
"vertical_offset_cm": -2.38,
"horizontal_distance_cm": 10.12
}
},
{
"object_id": 39,
"label": "faucet",
"centroid": [
1.9069,
1.4858,
0.965
],
"centroid_distance_m": 0.1175,
"spatial_3d": {
"edge_distance_cm": 4.77,
"center_distance_cm": 11.75,
"nearest_point_small": [
1.9976,
1.4931,
0.9552
],
"nearest_point_nearby": [
1.9583,
1.4668,
0.9492
],
"direction_unit_vector": [
-0.9606,
-0.2214,
0.1679
],
"vertical_relation": "same_level",
"vertical_offset_cm": -1.97,
"horizontal_distance_cm": 11.58
}
},
{
"object_id": 37,
"label": "bottle",
"centroid": [
1.801,
1.5204,
0.9808
],
"centroid_distance_m": 0.2218,
"spatial_3d": {
"edge_distance_cm": 15.95,
"center_distance_cm": 22.18,
"nearest_point_small": [
1.994,
1.5103,
0.9823
],
"nearest_point_nearby": [
1.8371,
1.511,
1.0112
],
"direction_unit_vector": [
-0.9863,
0.0382,
0.1605
],
"vertical_relation": "same_level",
"vertical_offset_cm": -3.56,
"horizontal_distance_cm": 21.9
}
},
{
"object_id": 18,
"label": "sink",
"centroid": [
1.8742,
1.3636,
0.8505
],
"centroid_distance_m": 0.2284,
"spatial_3d": {
"edge_distance_cm": 0.26,
"center_distance_cm": 22.84,
"nearest_point_small": [
2.0467,
1.5219,
0.9021
],
"nearest_point_nearby": [
2.0488,
1.5211,
0.9009
],
"direction_unit_vector": [
-0.6374,
-0.6492,
-0.415
],
"vertical_relation": "above",
"vertical_offset_cm": 9.48,
"horizontal_distance_cm": 20.78
}
},
{
"object_id": 38,
"label": "tooth brush",
"centroid": [
1.7149,
1.4896,
1.0036
],
"centroid_distance_m": 0.3112,
"spatial_3d": {
"edge_distance_cm": 22.86,
"center_distance_cm": 31.12,
"nearest_point_small": [
1.9945,
1.5042,
0.9833
],
"nearest_point_nearby": [
1.767,
1.481,
0.984
],
"direction_unit_vector": [
-0.9797,
-0.0715,
0.1874
],
"vertical_relation": "below",
"vertical_offset_cm": -5.83,
"horizontal_distance_cm": 30.57
}
},
{
"object_id": 48,
"label": "power socket",
"centroid": [
1.7573,
1.5602,
1.3401
],
"centroid_distance_m": 0.4766,
"spatial_3d": {
"edge_distance_cm": 36.4,
"center_distance_cm": 47.66,
"nearest_point_small": [
1.9968,
1.5048,
0.9872
],
"nearest_point_nearby": [
1.8244,
1.5723,
1.3006
],
"direction_unit_vector": [
-0.5507,
0.1013,
0.8285
],
"vertical_relation": "below",
"vertical_offset_cm": -39.49,
"horizontal_distance_cm": 26.69
}
},
{
"object_id": 17,
"label": "towel",
"centroid": [
1.4389,
1.3985,
0.9534
],
"centroid_distance_m": 0.5919,
"spatial_3d": {
"edge_distance_cm": 43.15,
"center_distance_cm": 59.19,
"nearest_point_small": [
1.9976,
1.4931,
0.9552
],
"nearest_point_nearby": [
1.5744,
1.4207,
0.9126
],
"direction_unit_vector": [
-0.9814,
-0.1916,
0.0138
],
"vertical_relation": "same_level",
"vertical_offset_cm": -0.82,
"horizontal_distance_cm": 59.19
}
},
{
"object_id": 15,
"label": "towel radiator",
"centroid": [
1.4242,
1.4236,
0.9473
],
"centroid_distance_m": 0.6021,
"spatial_3d": {
"edge_distance_cm": 36.64,
"center_distance_cm": 60.21,
"nearest_point_small": [
1.9945,
1.5042,
0.9833
],
"nearest_point_nearby": [
1.6304,
1.4629,
0.9858
],
"direction_unit_vector": [
-0.9892,
-0.1466,
0.0035
],
"vertical_relation": "same_level",
"vertical_offset_cm": -0.21,
"horizontal_distance_cm": 60.21
}
},
{
"object_id": 1,
"label": "towel",
"centroid": [
1.4616,
1.4077,
1.3646
],
"centroid_distance_m": 0.7059,
"spatial_3d": {
"edge_distance_cm": 45.25,
"center_distance_cm": 70.59,
"nearest_point_small": [
1.9967,
1.493,
0.9846
],
"nearest_point_nearby": [
1.6011,
1.4203,
1.1918
],
"direction_unit_vector": [
-0.7907,
-0.1476,
0.5941
],
"vertical_relation": "below",
"vertical_offset_cm": -41.94,
"horizontal_distance_cm": 56.78
}
},
{
"object_id": 19,
"label": "toilet",
"centroid": [
2.6887,
1.3894,
0.5359
],
"centroid_distance_m": 0.7937,
"spatial_3d": {
"edge_distance_cm": 52.02,
"center_distance_cm": 79.38,
"nearest_point_small": [
2.0474,
1.5009,
0.9019
],
"nearest_point_nearby": [
2.363,
1.3967,
0.5017
],
"direction_unit_vector": [
0.8428,
-0.1543,
-0.5157
],
"vertical_relation": "above",
"vertical_offset_cm": 40.94,
"horizontal_distance_cm": 68.01
}
},
{
"object_id": 41,
"label": "toilet flush",
"centroid": [
2.8507,
1.4183,
0.9991
],
"centroid_distance_m": 0.8378,
"spatial_3d": {
"edge_distance_cm": 77.35,
"center_distance_cm": 83.78,
"nearest_point_small": [
2.0561,
1.5068,
0.9107
],
"nearest_point_nearby": [
2.8287,
1.5176,
0.9471
],
"direction_unit_vector": [
0.9917,
-0.1117,
0.0643
],
"vertical_relation": "below",
"vertical_offset_cm": -5.38,
"horizontal_distance_cm": 83.61
}
},
{
"object_id": 43,
"label": "towel",
"centroid": [
2.1255,
0.7815,
0.4792
],
"centroid_distance_m": 0.8728,
"spatial_3d": {
"edge_distance_cm": 77.96,
"center_distance_cm": 87.28,
"nearest_point_small": [
2.0168,
1.4922,
0.9014
],
"nearest_point_nearby": [
2.1617,
0.8104,
0.5522
],
"direction_unit_vector": [
0.1211,
-0.8368,
-0.5339
],
"vertical_relation": "above",
"vertical_offset_cm": 46.6,
"horizontal_distance_cm": 73.8
}
},
{
"object_id": 47,
"label": "rug",
"centroid": [
2.3424,
1.5587,
0.1207
],
"centroid_distance_m": 0.8866,
"spatial_3d": {
"edge_distance_cm": 74.97,
"center_distance_cm": 88.66,
"nearest_point_small": [
2.0474,
1.5009,
0.9019
],
"nearest_point_nearby": [
2.2309,
1.5102,
0.1751
],
"direction_unit_vector": [
0.3638,
0.0528,
-0.93
],
"vertical_relation": "above",
"vertical_offset_cm": 82.45,
"horizontal_distance_cm": 32.6
}
},
{
"object_id": 42,
"label": "toilet brush",
"centroid": [
2.6239,
1.5848,
0.2773
],
"centroid_distance_m": 0.9036,
"spatial_3d": {
"edge_distance_cm": 72.4,
"center_distance_cm": 90.36,
"nearest_point_small": [
2.0561,
1.5068,
0.9107
],
"nearest_point_nearby": [
2.6347,
1.6084,
0.4874
],
"direction_unit_vector": [
0.6686,
0.0807,
-0.7392
],
"vertical_relation": "above",
"vertical_offset_cm": 66.8,
"horizontal_distance_cm": 60.85
}
}
]
}
]
}