RainChow's picture
Rename spatial_relations to intermediate_spatial_representations
329b03f
{
"scene_id": "114e349224",
"dataset": "scannetpp",
"small_items": [
{
"object_id": 79,
"label": "power strip",
"centroid": [
0.2386,
1.5093,
1.6621
],
"nearby_objects": [
{
"object_id": 73,
"label": "light switch",
"centroid": [
0.2062,
1.4995,
1.1597
],
"centroid_distance_m": 0.5035,
"spatial_3d": {
"edge_distance_cm": 20.84,
"center_distance_cm": 50.35,
"nearest_point_small": [
0.2328,
1.5126,
1.4086
],
"nearest_point_nearby": [
0.2005,
1.5197,
1.2029
],
"direction_unit_vector": [
-0.0644,
-0.0195,
-0.9977
],
"vertical_relation": "above",
"vertical_offset_cm": 50.24,
"horizontal_distance_cm": 3.39
}
},
{
"object_id": 36,
"label": "kitchen utensils",
"centroid": [
0.3603,
1.7066,
1.0718
],
"centroid_distance_m": 0.6342,
"spatial_3d": {
"edge_distance_cm": 27.44,
"center_distance_cm": 63.42,
"nearest_point_small": [
0.2328,
1.5126,
1.4086
],
"nearest_point_nearby": [
0.3322,
1.6533,
1.1951
],
"direction_unit_vector": [
0.192,
0.3112,
-0.9308
],
"vertical_relation": "above",
"vertical_offset_cm": 59.03,
"horizontal_distance_cm": 23.19
}
},
{
"object_id": 37,
"label": "kitchen utensils",
"centroid": [
0.4441,
1.6068,
1.0683
],
"centroid_distance_m": 0.6359,
"spatial_3d": {
"edge_distance_cm": 33.27,
"center_distance_cm": 63.59,
"nearest_point_small": [
0.2328,
1.5126,
1.4086
],
"nearest_point_nearby": [
0.38,
1.6055,
1.1251
],
"direction_unit_vector": [
0.3232,
0.1533,
-0.9338
],
"vertical_relation": "above",
"vertical_offset_cm": 59.38,
"horizontal_distance_cm": 22.75
}
},
{
"object_id": 38,
"label": "spray bottle",
"centroid": [
0.2661,
1.7907,
1.082
],
"centroid_distance_m": 0.6453,
"spatial_3d": {
"edge_distance_cm": 31.83,
"center_distance_cm": 64.53,
"nearest_point_small": [
0.2109,
1.543,
1.4222
],
"nearest_point_nearby": [
0.2483,
1.7318,
1.1688
],
"direction_unit_vector": [
0.0427,
0.4361,
-0.8989
],
"vertical_relation": "above",
"vertical_offset_cm": 58.01,
"horizontal_distance_cm": 28.28
}
},
{
"object_id": 62,
"label": "power socket",
"centroid": [
0.2372,
2.0614,
1.1539
],
"centroid_distance_m": 0.7504,
"spatial_3d": {
"edge_distance_cm": 49.56,
"center_distance_cm": 75.04,
"nearest_point_small": [
0.2109,
1.543,
1.4222
],
"nearest_point_nearby": [
0.2359,
1.9817,
1.1931
],
"direction_unit_vector": [
-0.0018,
0.7358,
-0.6772
],
"vertical_relation": "above",
"vertical_offset_cm": 50.82,
"horizontal_distance_cm": 55.21
}
},
{
"object_id": 63,
"label": "doorframe",
"centroid": [
0.1301,
0.6794,
1.5604
],
"centroid_distance_m": 0.843,
"spatial_3d": {
"edge_distance_cm": 9.05,
"center_distance_cm": 84.3,
"nearest_point_small": [
0.198,
1.4873,
1.4604
],
"nearest_point_nearby": [
0.1987,
1.397,
1.4551
],
"direction_unit_vector": [
-0.1287,
-0.9843,
-0.1206
],
"vertical_relation": "above",
"vertical_offset_cm": 10.17,
"horizontal_distance_cm": 83.69
}
},
{
"object_id": 64,
"label": "door",
"centroid": [
0.0406,
0.8821,
1.1089
],
"centroid_distance_m": 0.8595,
"spatial_3d": {
"edge_distance_cm": 18.57,
"center_distance_cm": 85.95,
"nearest_point_small": [
0.1978,
1.4885,
1.4856
],
"nearest_point_nearby": [
0.0623,
1.3621,
1.497
],
"direction_unit_vector": [
-0.2304,
-0.7298,
-0.6437
],
"vertical_relation": "above",
"vertical_offset_cm": 55.32,
"horizontal_distance_cm": 65.78
}
},
{
"object_id": 34,
"label": "kitchen cloth",
"centroid": [
0.5394,
1.9632,
0.96
],
"centroid_distance_m": 0.8886,
"spatial_3d": {
"edge_distance_cm": 58.76,
"center_distance_cm": 88.86,
"nearest_point_small": [
0.2322,
1.5414,
1.4265
],
"nearest_point_nearby": [
0.4404,
1.8727,
0.9882
],
"direction_unit_vector": [
0.3386,
0.5108,
-0.7902
],
"vertical_relation": "above",
"vertical_offset_cm": 70.21,
"horizontal_distance_cm": 54.46
}
},
{
"object_id": 24,
"label": "microwave",
"centroid": [
0.4871,
2.3703,
1.7117
],
"centroid_distance_m": 0.8976,
"spatial_3d": {
"edge_distance_cm": 61.96,
"center_distance_cm": 89.76,
"nearest_point_small": [
0.2578,
1.5536,
1.8203
],
"nearest_point_nearby": [
0.5315,
2.1094,
1.8318
],
"direction_unit_vector": [
0.2768,
0.9593,
0.0552
],
"vertical_relation": "same_level",
"vertical_offset_cm": -4.96,
"horizontal_distance_cm": 89.62
}
},
{
"object_id": 67,
"label": "kitchen cabinet",
"centroid": [
0.507,
2.3701,
1.7762
],
"centroid_distance_m": 0.9089,
"spatial_3d": {
"edge_distance_cm": 0.16,
"center_distance_cm": 90.89,
"nearest_point_small": [
0.2439,
1.5498,
1.6674
],
"nearest_point_nearby": [
0.2426,
1.5508,
1.6675
],
"direction_unit_vector": [
0.2953,
0.9471,
0.1255
],
"vertical_relation": "below",
"vertical_offset_cm": -11.41,
"horizontal_distance_cm": 90.17
}
},
{
"object_id": 32,
"label": "faucet",
"centroid": [
0.4224,
2.1602,
0.998
],
"centroid_distance_m": 0.9479,
"spatial_3d": {
"edge_distance_cm": 73.77,
"center_distance_cm": 94.79,
"nearest_point_small": [
0.2334,
1.5468,
1.4329
],
"nearest_point_nearby": [
0.4102,
2.1488,
1.0449
],
"direction_unit_vector": [
0.194,
0.6867,
-0.7006
],
"vertical_relation": "above",
"vertical_offset_cm": 66.41,
"horizontal_distance_cm": 67.64
}
},
{
"object_id": 33,
"label": "dish sponge",
"centroid": [
0.5405,
2.112,
0.9705
],
"centroid_distance_m": 0.9658,
"spatial_3d": {
"edge_distance_cm": 74.1,
"center_distance_cm": 96.58,
"nearest_point_small": [
0.2354,
1.544,
1.4302
],
"nearest_point_nearby": [
0.4873,
2.0784,
0.9829
],
"direction_unit_vector": [
0.3126,
0.624,
-0.7161
],
"vertical_relation": "above",
"vertical_offset_cm": 69.16,
"horizontal_distance_cm": 67.41
}
}
]
},
{
"object_id": 78,
"label": "cable",
"centroid": [
1.6867,
3.1706,
3.8253
],
"nearby_objects": [
{
"object_id": 22,
"label": "object",
"centroid": [
1.4887,
2.2348,
3.8511
],
"centroid_distance_m": 0.9568,
"spatial_3d": {
"edge_distance_cm": 90.27,
"center_distance_cm": 95.68,
"nearest_point_small": [
1.7001,
3.1601,
3.8243
],
"nearest_point_nearby": [
1.5381,
2.2733,
3.8718
],
"direction_unit_vector": [
-0.207,
-0.978,
0.027
],
"vertical_relation": "same_level",
"vertical_offset_cm": -2.59,
"horizontal_distance_cm": 95.65
}
}
]
},
{
"object_id": 38,
"label": "spray bottle",
"centroid": [
0.2661,
1.7907,
1.082
],
"nearby_objects": [
{
"object_id": 36,
"label": "kitchen utensils",
"centroid": [
0.3603,
1.7066,
1.0718
],
"centroid_distance_m": 0.1267,
"spatial_3d": {
"edge_distance_cm": 4.18,
"center_distance_cm": 12.67,
"nearest_point_small": [
0.2865,
1.7552,
0.9569
],
"nearest_point_nearby": [
0.2966,
1.7149,
0.9523
],
"direction_unit_vector": [
0.7436,
-0.6637,
-0.0807
],
"vertical_relation": "same_level",
"vertical_offset_cm": 1.02,
"horizontal_distance_cm": 12.63
}
},
{
"object_id": 37,
"label": "kitchen utensils",
"centroid": [
0.4441,
1.6068,
1.0683
],
"centroid_distance_m": 0.2564,
"spatial_3d": {
"edge_distance_cm": 16.54,
"center_distance_cm": 25.64,
"nearest_point_small": [
0.2928,
1.7565,
0.9722
],
"nearest_point_nearby": [
0.3735,
1.6138,
0.9501
],
"direction_unit_vector": [
0.6944,
-0.7176,
-0.0537
],
"vertical_relation": "same_level",
"vertical_offset_cm": 1.38,
"horizontal_distance_cm": 25.6
}
},
{
"object_id": 62,
"label": "power socket",
"centroid": [
0.2372,
2.0614,
1.1539
],
"centroid_distance_m": 0.2815,
"spatial_3d": {
"edge_distance_cm": 16.46,
"center_distance_cm": 28.15,
"nearest_point_small": [
0.2729,
1.8214,
1.1577
],
"nearest_point_nearby": [
0.2357,
1.9814,
1.1682
],
"direction_unit_vector": [
-0.1026,
0.9614,
0.2554
],
"vertical_relation": "below",
"vertical_offset_cm": -7.19,
"horizontal_distance_cm": 27.22
}
},
{
"object_id": 73,
"label": "light switch",
"centroid": [
0.2062,
1.4995,
1.1597
],
"centroid_distance_m": 0.3074,
"spatial_3d": {
"edge_distance_cm": 18.72,
"center_distance_cm": 30.74,
"nearest_point_small": [
0.238,
1.726,
1.0935
],
"nearest_point_nearby": [
0.2016,
1.5457,
1.1287
],
"direction_unit_vector": [
-0.1951,
-0.9476,
0.2529
],
"vertical_relation": "below",
"vertical_offset_cm": -7.77,
"horizontal_distance_cm": 29.74
}
},
{
"object_id": 34,
"label": "kitchen cloth",
"centroid": [
0.5394,
1.9632,
0.96
],
"centroid_distance_m": 0.3455,
"spatial_3d": {
"edge_distance_cm": 13.48,
"center_distance_cm": 34.55,
"nearest_point_small": [
0.3114,
1.8096,
0.9756
],
"nearest_point_nearby": [
0.4309,
1.872,
0.978
],
"direction_unit_vector": [
0.7911,
0.4993,
-0.3533
],
"vertical_relation": "above",
"vertical_offset_cm": 12.2,
"horizontal_distance_cm": 32.32
}
},
{
"object_id": 32,
"label": "faucet",
"centroid": [
0.4224,
2.1602,
0.998
],
"centroid_distance_m": 0.4099,
"spatial_3d": {
"edge_distance_cm": 30.31,
"center_distance_cm": 40.99,
"nearest_point_small": [
0.2818,
1.834,
0.971
],
"nearest_point_nearby": [
0.3715,
2.1233,
0.9621
],
"direction_unit_vector": [
0.3814,
0.9014,
-0.2049
],
"vertical_relation": "above",
"vertical_offset_cm": 8.4,
"horizontal_distance_cm": 40.12
}
},
{
"object_id": 33,
"label": "dish sponge",
"centroid": [
0.5405,
2.112,
0.9705
],
"centroid_distance_m": 0.4369,
"spatial_3d": {
"edge_distance_cm": 31.47,
"center_distance_cm": 43.69,
"nearest_point_small": [
0.2996,
1.8257,
0.9795
],
"nearest_point_nearby": [
0.4842,
2.0805,
0.9811
],
"direction_unit_vector": [
0.628,
0.7352,
-0.2553
],
"vertical_relation": "above",
"vertical_offset_cm": 11.15,
"horizontal_distance_cm": 42.25
}
},
{
"object_id": 27,
"label": "sink",
"centroid": [
0.4764,
2.1831,
0.9131
],
"centroid_distance_m": 0.4762,
"spatial_3d": {
"edge_distance_cm": 2.11,
"center_distance_cm": 47.62,
"nearest_point_small": [
0.3072,
1.7764,
0.9595
],
"nearest_point_nearby": [
0.3215,
1.7676,
0.9467
],
"direction_unit_vector": [
0.4417,
0.8241,
-0.3546
],
"vertical_relation": "above",
"vertical_offset_cm": 16.89,
"horizontal_distance_cm": 44.52
}
},
{
"object_id": 39,
"label": "dish soap",
"centroid": [
0.3085,
2.3931,
1.0648
],
"centroid_distance_m": 0.6041,
"spatial_3d": {
"edge_distance_cm": 52.21,
"center_distance_cm": 60.41,
"nearest_point_small": [
0.2708,
1.8354,
0.9716
],
"nearest_point_nearby": [
0.3071,
2.3562,
0.9814
],
"direction_unit_vector": [
0.0702,
0.9971,
-0.0285
],
"vertical_relation": "same_level",
"vertical_offset_cm": 1.72,
"horizontal_distance_cm": 60.38
}
},
{
"object_id": 21,
"label": "kitchen counter",
"centroid": [
0.5537,
2.341,
0.9505
],
"centroid_distance_m": 0.6347,
"spatial_3d": {
"edge_distance_cm": 0.16,
"center_distance_cm": 63.47,
"nearest_point_small": [
0.2598,
1.834,
0.9524
],
"nearest_point_nearby": [
0.2601,
1.8354,
0.9516
],
"direction_unit_vector": [
0.4531,
0.8671,
-0.2072
],
"vertical_relation": "above",
"vertical_offset_cm": 13.15,
"horizontal_distance_cm": 62.09
}
},
{
"object_id": 79,
"label": "power strip",
"centroid": [
0.2386,
1.5093,
1.6621
],
"centroid_distance_m": 0.6453,
"spatial_3d": {
"edge_distance_cm": 31.83,
"center_distance_cm": 64.53,
"nearest_point_small": [
0.2483,
1.7318,
1.1688
],
"nearest_point_nearby": [
0.2109,
1.543,
1.4222
],
"direction_unit_vector": [
-0.0427,
-0.4361,
0.8989
],
"vertical_relation": "below",
"vertical_offset_cm": -58.01,
"horizontal_distance_cm": 28.28
}
},
{
"object_id": 66,
"label": "kitchen cabinet",
"centroid": [
0.6815,
2.1655,
0.7104
],
"centroid_distance_m": 0.6716,
"spatial_3d": {
"edge_distance_cm": 0.16,
"center_distance_cm": 67.16,
"nearest_point_small": [
0.2598,
1.834,
0.9524
],
"nearest_point_nearby": [
0.2601,
1.8354,
0.9516
],
"direction_unit_vector": [
0.6184,
0.558,
-0.5533
],
"vertical_relation": "above",
"vertical_offset_cm": 37.16,
"horizontal_distance_cm": 55.94
}
},
{
"object_id": 35,
"label": "mug",
"centroid": [
0.5359,
2.4414,
0.9519
],
"centroid_distance_m": 0.7163,
"spatial_3d": {
"edge_distance_cm": 62.17,
"center_distance_cm": 71.63,
"nearest_point_small": [
0.2882,
1.832,
0.9715
],
"nearest_point_nearby": [
0.5233,
2.4074,
0.982
],
"direction_unit_vector": [
0.3766,
0.9084,
-0.1816
],
"vertical_relation": "above",
"vertical_offset_cm": 13.01,
"horizontal_distance_cm": 70.44
}
},
{
"object_id": 25,
"label": "dishwasher",
"centroid": [
0.8277,
1.7706,
0.6251
],
"centroid_distance_m": 0.7243,
"spatial_3d": {
"edge_distance_cm": 41.93,
"center_distance_cm": 72.43,
"nearest_point_small": [
0.3106,
1.8048,
0.9585
],
"nearest_point_nearby": [
0.6449,
1.8595,
0.7113
],
"direction_unit_vector": [
0.7754,
-0.0277,
-0.6309
],
"vertical_relation": "above",
"vertical_offset_cm": 45.69,
"horizontal_distance_cm": 56.19
}
},
{
"object_id": 65,
"label": "trash can",
"centroid": [
0.5968,
1.3846,
0.5086
],
"centroid_distance_m": 0.7766,
"spatial_3d": {
"edge_distance_cm": 39.73,
"center_distance_cm": 77.66,
"nearest_point_small": [
0.2865,
1.7552,
0.9569
],
"nearest_point_nearby": [
0.4194,
1.5332,
0.6554
],
"direction_unit_vector": [
0.4258,
-0.523,
-0.7384
],
"vertical_relation": "above",
"vertical_offset_cm": 57.34,
"horizontal_distance_cm": 52.37
}
},
{
"object_id": 24,
"label": "microwave",
"centroid": [
0.4871,
2.3703,
1.7117
],
"centroid_distance_m": 0.8839,
"spatial_3d": {
"edge_distance_cm": 51.45,
"center_distance_cm": 88.39,
"nearest_point_small": [
0.2819,
1.8205,
1.1582
],
"nearest_point_nearby": [
0.5261,
2.1067,
1.5091
],
"direction_unit_vector": [
0.25,
0.6558,
0.7124
],
"vertical_relation": "below",
"vertical_offset_cm": -62.97,
"horizontal_distance_cm": 62.03
}
},
{
"object_id": 67,
"label": "kitchen cabinet",
"centroid": [
0.507,
2.3701,
1.7762
],
"centroid_distance_m": 0.9357,
"spatial_3d": {
"edge_distance_cm": 39.05,
"center_distance_cm": 93.57,
"nearest_point_small": [
0.2483,
1.7318,
1.1688
],
"nearest_point_nearby": [
0.268,
1.5584,
1.5182
],
"direction_unit_vector": [
0.2574,
0.6192,
0.7419
],
"vertical_relation": "below",
"vertical_offset_cm": -69.42,
"horizontal_distance_cm": 62.74
}
},
{
"object_id": 64,
"label": "door",
"centroid": [
0.0406,
0.8821,
1.1089
],
"centroid_distance_m": 0.9366,
"spatial_3d": {
"edge_distance_cm": 40.67,
"center_distance_cm": 93.66,
"nearest_point_small": [
0.238,
1.726,
1.0935
],
"nearest_point_nearby": [
0.0593,
1.3609,
1.1087
],
"direction_unit_vector": [
-0.2408,
-0.9701,
0.0287
],
"vertical_relation": "same_level",
"vertical_offset_cm": -2.69,
"horizontal_distance_cm": 93.63
}
}
]
}
]
}