Datasets:
rgb_image
imagewidth (px) 5.15k
5.15k
| rgb_width
int64 5.15k
5.15k
| rgb_height
int64 3.86k
3.86k
| xray_images
images listlengths 5
5
| xray_width
int64 159
1.18k
| xray_height
int64 580
580
| objects
dict |
---|---|---|---|---|---|---|
5,152 | 3,864 | 856 | 580 | {
"rgb_bbox": [
[
1624.64,
1142.6,
1582.06,
1583.9
]
],
"xray_bbox": [
[
259.1,
171.7,
320.3,
295.5
]
],
"categories": [
"plate"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"923"
],
"WN_ids": [
"n07579787"
]
} |
||
5,152 | 3,864 | 854 | 580 | {
"rgb_bbox": [
[
1769.2,
1140.9,
1536.5,
1530.3
]
],
"xray_bbox": [
[
256.08,
147.3,
320.92,
311.8
]
],
"categories": [
"plate"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"923"
],
"WN_ids": [
"n07579787"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
1701.02,
2048.8,
1826.53,
1412.7
]
],
"xray_bbox": [
[
266.1,
320.4,
319.9,
223.3
]
],
"categories": [
"plate"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"923"
],
"WN_ids": [
"n07579787"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
1354.8,
1280,
2355,
1323.3
]
],
"xray_bbox": [
[
200,
192.7,
465,
268.2
]
],
"categories": [
"violin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"889"
],
"WN_ids": [
"n04536866"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
1331.29,
1150.7,
2183.81,
1730.6
]
],
"xray_bbox": [
[
201.62,
159,
415.48,
340.7
]
],
"categories": [
"violin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"889"
],
"WN_ids": [
"n04536866"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
1306,
2398.9,
2636.3,
500.2
]
],
"xray_bbox": [
[
208.19,
411.8,
497.61,
80.7
]
],
"categories": [
"violin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"889"
],
"WN_ids": [
"n04536866"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
2103.3,
826,
871,
2607.2
]
],
"xray_bbox": [
[
337.4,
106.9,
166.1,
445.9
]
],
"categories": [
"violin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"889"
],
"WN_ids": [
"n04536866"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2399.6,
1357.6,
369.1,
1197.4
]
],
"xray_bbox": [
[
382.9,
225.72,
79.46,
238.28
]
],
"categories": [
"book"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02870092"
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
1962.8,
1452.1,
1325.7,
1075.8
]
],
"xray_bbox": [
[
303.6,
226.6,
256.8,
210.5
]
],
"categories": [
"book"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02870092"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2087.1,
1504.4,
866.1,
856.14
]
],
"xray_bbox": [
[
348.7,
276.9,
136.02,
172.89
]
],
"categories": [
"book"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02870092"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2330.4,
1701.21,
125,
408.59
]
],
"xray_bbox": [
[
427.4,
256.4,
29.5,
93.7
]
],
"categories": [
"lipstick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"629"
],
"WN_ids": [
"n03676483"
]
} |
||
5,152 | 3,864 | 844 | 580 | {
"rgb_bbox": [
[
2174.3,
1774.97,
401.2,
301.93
]
],
"xray_bbox": [
[
351.92,
289.61,
81.55,
66.49
]
],
"categories": [
"lipstick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"629"
],
"WN_ids": [
"n03676483"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
2480.5,
2474.6,
134.7,
172.2
]
],
"xray_bbox": [
[
419.9,
411.7,
26.2,
44.3
]
],
"categories": [
"lipstick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"629"
],
"WN_ids": [
"n03676483"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
1714.3,
1304.7,
1551.4,
1148.2
]
],
"xray_bbox": [
[
259.35,
196.2,
322.85,
231.1
]
],
"categories": [
"tray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"868"
],
"WN_ids": [
"n04476259"
]
} |
||
5,152 | 3,864 | 856 | 580 | {
"rgb_bbox": [
[
1783.1,
1077.8,
1634.6,
1717.1
]
],
"xray_bbox": [
[
263.1,
128.4,
343.5,
344
]
],
"categories": [
"tray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"868"
],
"WN_ids": [
"n04476259"
]
} |
||
5,152 | 3,864 | 890 | 580 | {
"rgb_bbox": [
[
1628.7,
2636.4,
1990.1,
678.2
]
],
"xray_bbox": [
[
322.9,
439,
319,
97.9
]
],
"categories": [
"tray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"868"
],
"WN_ids": [
"n04476259"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
1767.19,
1544.3,
1363.31,
850.1
]
],
"xray_bbox": [
[
279.7,
231,
258,
174.3
]
],
"categories": [
"pasta"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n07698915"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
1822.9,
1588.9,
1337,
686.3
]
],
"xray_bbox": [
[
300.6,
257.1,
243.4,
142
]
],
"categories": [
"pasta"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n07698915"
]
} |
||
5,152 | 3,864 | 952 | 580 | {
"rgb_bbox": [
[
2076.8,
1624.3,
910.6,
745.3
]
],
"xray_bbox": [
[
470.5,
261.9,
145.6,
171.4
]
],
"categories": [
"pasta"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n07698915"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2151.8,
1711.1,
915.4,
498.1
]
],
"xray_bbox": [
[
344.6,
276.39,
183.9,
100.01
]
],
"categories": [
"torch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"862"
],
"WN_ids": [
"n04456115"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2436.42,
1484.25,
277.88,
925.45
]
],
"xray_bbox": [
[
399.1,
185.8,
58.5,
200.4
]
],
"categories": [
"torch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"862"
],
"WN_ids": [
"n04456115"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2362.05,
2633.9,
302.25,
397.6
]
],
"xray_bbox": [
[
389.5,
410.8,
50.9,
75
]
],
"categories": [
"torch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"862"
],
"WN_ids": [
"n04456115"
]
} |
||
5,152 | 3,864 | 858 | 580 | {
"rgb_bbox": [
[
1866.7,
1638.5,
1224.2,
537
]
],
"xray_bbox": [
[
279.2,
260.7,
242.4,
101.1
]
],
"categories": [
"lotion"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"631"
],
"WN_ids": [
"n03690938"
]
} |
||
5,152 | 3,864 | 854 | 580 | {
"rgb_bbox": [
[
2399.4,
1430.8,
269.9,
614.2
]
],
"xray_bbox": [
[
403.7,
243.7,
45.2,
166.3
]
],
"categories": [
"lotion"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"631"
],
"WN_ids": [
"n03690938"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
1884.6,
2777.02,
1310.31,
309.88
]
],
"xray_bbox": [
[
301.7,
470.8,
242.6,
51
]
],
"categories": [
"lotion"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"631"
],
"WN_ids": [
"n03690938"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2105.1,
1396.54,
962.37,
1151.26
]
],
"xray_bbox": [
[
329.4,
209.7,
194.2,
226.3
]
],
"categories": [
"hair spray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"585"
],
"WN_ids": [
"n03476991"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
2432.7,
2242.7,
398.5,
1112.02
]
],
"xray_bbox": [
[
415.4,
368,
58.9,
174.7
]
],
"categories": [
"hair spray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"585"
],
"WN_ids": [
"n03476991"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
2357.26,
1584.93,
366.24,
367.67
]
],
"xray_bbox": [
[
395.7,
274.3,
59.3,
135.9
]
],
"categories": [
"hair spray"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"585"
],
"WN_ids": [
"n03476991"
]
} |
||
5,152 | 3,864 | 860 | 580 | {
"rgb_bbox": [
[
2308.5,
1755.2,
599.7,
161.3
]
],
"xray_bbox": [
[
375,
261,
121.4,
45.8
]
],
"categories": [
"harmonica"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"593"
],
"WN_ids": [
"n03494278"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
2544.53,
1568.4,
121.07,
612.9
]
],
"xray_bbox": [
[
411.23,
237.1,
28.37,
130.8
]
],
"categories": [
"harmonica"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"593"
],
"WN_ids": [
"n03494278"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2395.3,
2934.18,
203.2,
229.02
]
],
"xray_bbox": [
[
404.94,
472.81,
32.06,
35.89
]
],
"categories": [
"harmonica"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"593"
],
"WN_ids": [
"n03494278"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
1716.8,
1302.73,
1743.08,
1196.27
]
],
"xray_bbox": [
[
238.5,
175.3,
359.9,
249.6
]
],
"categories": [
"laptop"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"620"
],
"WN_ids": [
"n03642806"
]
} |
||
5,152 | 3,864 | 857 | 580 | {
"rgb_bbox": [
[
1435.1,
2829.63,
2362.78,
498.15
]
],
"xray_bbox": [
[
273.4,
467.3,
354.6,
65.8
]
],
"categories": [
"laptop"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"620"
],
"WN_ids": [
"n03642806"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
1349.4,
851.8,
2182.2,
2088.6
]
],
"xray_bbox": [
[
239.9,
229,
360.1,
251.1
]
],
"categories": [
"laptop"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"620"
],
"WN_ids": [
"n03642806"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2100.3,
1059.83,
1177.93,
1710.77
]
],
"xray_bbox": [
[
308.9,
148.73,
244.1,
347.17
]
],
"categories": [
"laptop"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"620"
],
"WN_ids": [
"n03642806"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
2071.54,
1710.66,
873.38,
446.44
]
],
"xray_bbox": [
[
333.6,
233.6,
182.7,
102.86
]
],
"categories": [
"smartphone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
""
]
} |
||
5,152 | 3,864 | 859 | 580 | {
"rgb_bbox": [
[
2369,
1378.6,
453.7,
866.3
]
],
"xray_bbox": [
[
366.7,
153.4,
121.5,
195.7
]
],
"categories": [
"smartphone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
""
]
} |
||
5,152 | 3,864 | 844 | 580 | {
"rgb_bbox": [
[
2012.11,
2942.8,
978.72,
147.1
]
],
"xray_bbox": [
[
324,
504,
181.3,
18.7
]
],
"categories": [
"smartphone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
""
]
} |
||
5,152 | 3,864 | 903 | 580 | {
"rgb_bbox": [
[
2163.58,
2763.8,
564.22,
505.2
]
],
"xray_bbox": [
[
439.6,
431.7,
95.1,
80.6
]
],
"categories": [
"smartphone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
""
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
2199.7,
1400.9,
917.1,
1138.9
]
],
"xray_bbox": [
[
356.3,
222.8,
186.5,
205.7
]
],
"categories": [
"umbrella"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"879"
],
"WN_ids": [
"n04507155"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2291.13,
2398.3,
503.07,
855.5
]
],
"xray_bbox": [
[
375,
408.6,
98.1,
122.9
]
],
"categories": [
"umbrella"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"879"
],
"WN_ids": [
"n04507155"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
1654.7,
859.2,
2010.7,
2139.3
]
],
"xray_bbox": [
[
287.29,
259.2,
179.21,
181.7
]
],
"categories": [
"umbrella"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"879"
],
"WN_ids": [
"n04507155"
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
1545.2,
1254.9,
2084.4,
1435.3
]
],
"xray_bbox": [
[
328.9,
218.6,
255.8,
206.3
]
],
"categories": [
"umbrella"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"879"
],
"WN_ids": [
"n04507155"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
2165.5,
1690,
815.93,
319.1
]
],
"xray_bbox": [
[
346.2,
261.9,
167,
73.1
]
],
"categories": [
"sunglasses"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"837"
],
"WN_ids": [
"n04356056"
]
} |
||
5,152 | 3,864 | 858 | 580 | {
"rgb_bbox": [
[
2272.95,
1650.2,
302.45,
822.5
]
],
"xray_bbox": [
[
388.07,
255.5,
62.33,
161.6
]
],
"categories": [
"sunglasses"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"837"
],
"WN_ids": [
"n04356056"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
2237.25,
2678.21,
326.71,
492.59
]
],
"xray_bbox": [
[
381,
452.29,
51.9,
71.51
]
],
"categories": [
"sunglasses"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"837"
],
"WN_ids": [
"n04356056"
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
1732.27,
1775.32,
1501.63,
845.58
]
],
"xray_bbox": [
[
263.1,
303.68,
298.7,
146.82
]
],
"categories": [
"high heel"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n04276808"
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
1936.6,
1256.5,
1216.8,
1180.4
]
],
"xray_bbox": [
[
303.7,
213.2,
243.7,
203.5
]
],
"categories": [
"high heel"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n04276808"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
1710.9,
2441.5,
1532.3,
656.1
]
],
"xray_bbox": [
[
284.6,
416.56,
295.21,
110.34
]
],
"categories": [
"high heel"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n04276808"
]
} |
||
5,152 | 3,864 | 878 | 580 | {
"rgb_bbox": [
[
2159,
1803.46,
673.5,
1541.74
]
],
"xray_bbox": [
[
388.5,
304.2,
113,
225.2
]
],
"categories": [
"high heel"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n04276808"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
1795.71,
1090.2,
1242.89,
1120.7
],
[
2133.04,
1454.5,
1214.61,
1162.5
]
],
"xray_bbox": [
[
279.96,
169.7,
241.14,
212.94
],
[
352.9,
242.4,
227.6,
209.2
]
],
"categories": [
"high heel",
"high heel"
],
"rgb_visible": [
true,
true
],
"xray_visible": [
true,
true
],
"dangerous": [
false,
false
],
"IN_ids": [
"",
""
],
"WN_ids": [
"n04276808",
"n04276808"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
1613.3,
1538.8,
1555.2,
686.75
],
[
2038.69,
1082.4,
1032.01,
1334.2
]
],
"xray_bbox": [
[
235.01,
266.6,
292.49,
132.4
],
[
312.3,
164.3,
195.6,
242.5
]
],
"categories": [
"high heel",
"high heel"
],
"rgb_visible": [
true,
true
],
"xray_visible": [
true,
true
],
"dangerous": [
false,
false
],
"IN_ids": [
"",
""
],
"WN_ids": [
"n04276808",
"n04276808"
]
} |
||
5,152 | 3,864 | 929 | 580 | {
"rgb_bbox": [
[
1927.8,
1423.5,
1052.1,
1110.8
]
],
"xray_bbox": [
[
366.8,
196.5,
224.2,
221.6
]
],
"categories": [
"screwdriver"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"784"
],
"WN_ids": [
"n04154565"
]
} |
||
5,152 | 3,864 | 1,082 | 580 | {
"rgb_bbox": [
[
2475.64,
1949.83,
199.86,
1387.07
]
],
"xray_bbox": [
[
641.3,
315.4,
48.4,
225.5
]
],
"categories": [
"screwdriver"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"784"
],
"WN_ids": [
"n04154565"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
1798.2,
2904.34,
1510.1,
212.16
]
],
"xray_bbox": [
[
289.9,
462.9,
307.9,
38.8
]
],
"categories": [
"screwdriver"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"784"
],
"WN_ids": [
"n04154565"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
2054.46,
1738.85,
597.91,
369.42
]
],
"xray_bbox": [
[
345.2,
267.5,
115.15,
83.8
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
2432.2,
1558.41,
95.3,
646.99
]
],
"xray_bbox": [
[
412.9,
253.31,
20.2,
125.69
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2481.1,
2766.28,
163.5,
393.82
]
],
"xray_bbox": [
[
415.74,
457.04,
31.46,
62.36
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2176.09,
1334.5,
609.91,
982.4
]
],
"xray_bbox": [
[
355.5,
169.3,
125.07,
214.4
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2310.4,
1369.7,
608.8,
978.33
]
],
"xray_bbox": [
[
353.7,
185.2,
122.6,
211.9
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
1906.4,
2887.85,
1142.5,
175.85
]
],
"xray_bbox": [
[
308,
503.1,
235.5,
24.9
]
],
"categories": [
"corkscrew"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
true
],
"IN_ids": [
"512"
],
"WN_ids": [
"n03109150"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
2410.43,
1559.5,
281.87,
617
]
],
"xray_bbox": [
[
399.6,
226.7,
60.53,
131.1
]
],
"categories": [
"cellular telephone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"487"
],
"WN_ids": [
"n02992529"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
2282.9,
1747,
612.22,
259.6
]
],
"xray_bbox": [
[
371.77,
261.27,
127.43,
58.73
]
],
"categories": [
"cellular telephone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"487"
],
"WN_ids": [
"n02992529"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2270.49,
2912.35,
639.61,
133.25
]
],
"xray_bbox": [
[
364.1,
472.17,
127.1,
23.83
]
],
"categories": [
"cellular telephone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"487"
],
"WN_ids": [
"n02992529"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2289.2,
2814.5,
296.8,
316.8
]
],
"xray_bbox": [
[
391.64,
478.8,
53.76,
44.6
]
],
"categories": [
"cellular telephone"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"487"
],
"WN_ids": [
"n02992529"
]
} |
||
5,152 | 3,864 | 1,093 | 580 | {
"rgb_bbox": [
[
1633.72,
1091.3,
1848.67,
1553.47
]
],
"xray_bbox": [
[
485.9,
149.4,
366.6,
313.8
]
],
"categories": [
"boardgame"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n00502415"
]
} |
||
5,152 | 3,864 | 859 | 580 | {
"rgb_bbox": [
[
1373.5,
891.5,
2201.5,
2011.5
]
],
"xray_bbox": [
[
208.64,
82.19,
433.96,
398.41
]
],
"categories": [
"boardgame"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n00502415"
]
} |
||
5,152 | 3,864 | 844 | 580 | {
"rgb_bbox": [
[
1362.2,
1043.9,
2591.9,
1418.9
]
],
"xray_bbox": [
[
259.2,
213.1,
352.85,
249.1
]
],
"categories": [
"boardgame"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n00502415"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
1981.6,
1346.8,
1336.6,
1268.4
]
],
"xray_bbox": [
[
294.5,
192.9,
276.1,
234.5
]
],
"categories": [
"cucumber"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"943"
],
"WN_ids": [
"n07718472"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
1743.6,
2712.11,
1782.76,
290.29
]
],
"xray_bbox": [
[
248.2,
446.7,
356.78,
52.8
]
],
"categories": [
"cucumber"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"943"
],
"WN_ids": [
"n07718472"
]
} |
||
5,152 | 3,864 | 1,095 | 580 | {
"rgb_bbox": [
[
2451.78,
1651.06,
332.1,
1675.24
]
],
"xray_bbox": [
[
660,
223,
55.53,
307.7
]
],
"categories": [
"cucumber"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"943"
],
"WN_ids": [
"n07718472"
]
} |
||
5,152 | 3,864 | 921 | 580 | {
"rgb_bbox": [
[
2269.5,
349.8,
382.1,
1817.4
]
],
"xray_bbox": [
[
458.4,
227.5,
69.7,
133.2
]
],
"categories": [
"cucumber"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"943"
],
"WN_ids": [
"n07718472"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
2379.39,
1781.48,
343.45,
297.62
]
],
"xray_bbox": [
[
399.65,
286.3,
67.55,
68.4
]
],
"categories": [
"lemon"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"951"
],
"WN_ids": [
"n07749582"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2289.5,
1756.54,
299.6,
293.62
]
],
"xray_bbox": [
[
379.46,
290.18,
61.04,
69.32
]
],
"categories": [
"lemon"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"951"
],
"WN_ids": [
"n07749582"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
2408.28,
2677.06,
301.52,
337.54
]
],
"xray_bbox": [
[
389.4,
438.3,
60.3,
63.3
]
],
"categories": [
"lemon"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"951"
],
"WN_ids": [
"n07749582"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
2097.6,
1474.91,
846.46,
852.49
]
],
"xray_bbox": [
[
338.5,
205.4,
169.5,
175.6
]
],
"categories": [
"cd drive"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02988156"
]
} |
||
5,152 | 3,864 | 853 | 580 | {
"rgb_bbox": [
[
1958.07,
2785.98,
1070.66,
415.72
]
],
"xray_bbox": [
[
355.8,
473.03,
174.3,
57.67
]
],
"categories": [
"cd drive"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02988156"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
2024.56,
1460,
1003.64,
1007.5
]
],
"xray_bbox": [
[
307.9,
222.3,
209.1,
193.6
]
],
"categories": [
"cd drive"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02988156"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
1863.8,
2669.45,
1254.08,
574.85
]
],
"xray_bbox": [
[
313.4,
451,
213.7,
78.7
]
],
"categories": [
"cd drive"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02988156"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
1330.9,
1205.9,
2306.1,
1708.9
]
],
"xray_bbox": [
[
187.1,
178.4,
449.9,
310
]
],
"categories": [
"joystick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"613"
],
"WN_ids": [
"n03602883"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
1448.34,
627.4,
1879.56,
2360.4
]
],
"xray_bbox": [
[
186.85,
89.93,
392.3,
401.47
]
],
"categories": [
"joystick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"613"
],
"WN_ids": [
"n03602883"
]
} |
||
5,152 | 3,864 | 856 | 580 | {
"rgb_bbox": [
[
1481.1,
673.1,
2011.7,
2211.2
]
],
"xray_bbox": [
[
198.17,
125.5,
410.83,
376.4
]
],
"categories": [
"joystick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"613"
],
"WN_ids": [
"n03602883"
]
} |
||
5,152 | 3,864 | 856 | 580 | {
"rgb_bbox": [
[
1248.9,
942.8,
2624.5,
2050.8
]
],
"xray_bbox": [
[
159,
120.8,
494.8,
392
]
],
"categories": [
"joystick"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"613"
],
"WN_ids": [
"n03602883"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
2290.38,
1701.52,
622.68,
381.68
]
],
"xray_bbox": [
[
363.2,
264.1,
125.4,
90.6
]
],
"categories": [
"mouse"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"673"
],
"WN_ids": [
"n03793489"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2341.67,
1695,
501.03,
608.6
]
],
"xray_bbox": [
[
384.02,
293.3,
100,
116.9
]
],
"categories": [
"mouse"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"673"
],
"WN_ids": [
"n03793489"
]
} |
||
5,152 | 3,864 | 849 | 580 | {
"rgb_bbox": [
[
2034.7,
2803,
636.2,
274.4
]
],
"xray_bbox": [
[
338.65,
470,
126.55,
46.2
]
],
"categories": [
"mouse"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"673"
],
"WN_ids": [
"n03793489"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
2296.03,
2639.91,
464.37,
443.69
]
],
"xray_bbox": [
[
374.02,
447.64,
87.18,
80.45
]
],
"categories": [
"mouse"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"673"
],
"WN_ids": [
"n03793489"
]
} |
||
5,152 | 3,864 | 848 | 580 | {
"rgb_bbox": [
[
2537.4,
1853.1,
389.45,
175.4
]
],
"xray_bbox": [
[
415.37,
279.3,
81.53,
39.9
]
],
"categories": [
"analog watch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02708433"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
2527.61,
1698.1,
287.29,
358.2
]
],
"xray_bbox": [
[
426.1,
257.4,
53,
79.4
]
],
"categories": [
"analog watch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02708433"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2617.5,
1854.1,
176.6,
182.4
]
],
"xray_bbox": [
[
417.77,
306.2,
36.33,
51.8
]
],
"categories": [
"analog watch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02708433"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2333.8,
1515.5,
582.5,
748.9
]
],
"xray_bbox": [
[
389.96,
209.9,
119.04,
159.3
]
],
"categories": [
"analog watch"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n02708433"
]
} |
||
5,152 | 3,864 | 850 | 580 | {
"rgb_bbox": [
[
1938.4,
1548.37,
1422,
619.23
]
],
"xray_bbox": [
[
301.12,
219.33,
294.48,
137.55
]
],
"categories": [
"glove"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n03441112"
]
} |
||
5,152 | 3,864 | 847 | 580 | {
"rgb_bbox": [
[
2434.53,
2750.09,
701.37,
364.81
]
],
"xray_bbox": [
[
400.16,
457,
132.74,
60.6
]
],
"categories": [
"glove"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n03441112"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
2136.17,
1195.54,
1132.03,
1392.16
]
],
"xray_bbox": [
[
337.04,
146.58,
233.96,
277.55
]
],
"categories": [
"glove"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
""
],
"WN_ids": [
"n03441112"
]
} |
||
5,152 | 3,864 | 852 | 580 | {
"rgb_bbox": [
[
1626.8,
905.4,
2171.2,
1850
]
],
"xray_bbox": [
[
447.84,
368.18,
6.9,
20.3
]
],
"categories": [
"comic book"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"917"
],
"WN_ids": [
"n06596364"
]
} |
||
5,152 | 3,864 | 857 | 580 | {
"rgb_bbox": [
[
2529.9,
1879,
104.7,
130.4
]
],
"xray_bbox": [
[
420.5,
289.6,
21.2,
29.6
]
],
"categories": [
"safety pin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"772"
],
"WN_ids": [
"n04127249"
]
} |
||
5,152 | 3,864 | 855 | 580 | {
"rgb_bbox": [
[
2436.5,
2989.1,
40.3,
47.3
]
],
"xray_bbox": [
[
417.81,
512.54,
9.6,
8.4
]
],
"categories": [
"safety pin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"772"
],
"WN_ids": [
"n04127249"
]
} |
||
5,152 | 3,864 | 851 | 580 | {
"rgb_bbox": [
[
2542.07,
2972.37,
156.57,
28.97
]
],
"xray_bbox": [
[
436.63,
500.38,
33.4,
7.48
]
],
"categories": [
"safety pin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"772"
],
"WN_ids": [
"n04127249"
]
} |
||
5,152 | 3,864 | 845 | 580 | {
"rgb_bbox": [
[
2561.13,
1930.02,
151.37,
106.67
]
],
"xray_bbox": [
[
422.19,
297.3,
32.31,
23.3
]
],
"categories": [
"safety pin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"772"
],
"WN_ids": [
"n04127249"
]
} |
||
5,152 | 3,864 | 846 | 580 | {
"rgb_bbox": [
[
2443.94,
1945.99,
189.13,
162.23
]
],
"xray_bbox": [
[
406,
314.8,
40.2,
37.2
]
],
"categories": [
"safety pin"
],
"rgb_visible": [
true
],
"xray_visible": [
true
],
"dangerous": [
false
],
"IN_ids": [
"772"
],
"WN_ids": [
"n04127249"
]
} |
Superpowering Open-Vocabulary Object Detectors for X-ray Vision
ICCV 2025
Pablo Garcia-Fernandez, Lorenzo Vaquero, Mingxuan Liu, Feng Xue, Daniel Cores, Nicu Sebe, Manuel Mucientes, Elisa Ricci
DET-COMPASS
This is the official repository of Superpowering Open-Vocabulary Object Detectors for X-ray Vision (ICCV'25)

Dataset Summary
Object detection in security X-ray scans has advanced significantly in recent years. However, evaluating Open-vocabulary Object Detectors (OvOD) detectors in this modality remains challenging due to the limited number of annotated object categories in existing X-ray benchmarks. This limitation severely constrains the comprehensive evaluation of OvOD methods, which require a broad and diverse category set to assess generalization to unseen object semantics. To address this gap, we introduce DET-COMPASS, a novel benchmark that repurposes the COMPASS-XP classification dataset for object detection through meticulous bounding box annotation. DET-COMPASS comprises 370 distinct object classes, offering an order-of-magnitude increase in vocabulary size over previous X-ray detection benchmarks. Additionally, it provides pixel-aligned RGB images, ensuring precise spatial correspondence across modalities and facilitating the development of multimodal models. Each object is also labeled with a visibility attribute, indicating whether it produces a discernible signature in the X-ray spectrum.
Dataset Structure
DET-COMPASS is provided in two configurations:
- default: The entire dataset is used in a zero-shot setting, where only text labels are available for each object. This configuration is suitable for evaluating open-vocabulary object detectors without access to any visual prototypes.
- raxo: This configuration replicates the setting in the RAXO paper, where a subset of x-ray prototypes for the objects is available. It is intended for experiments that leverage a small number of visual examples per class.
Each sample in the dataset has the following structure:
{
"rgb_image": PIL.Image, // loaded RGB image
"rgb_width": int,
"rgb_height": int,
"xray_images": [ // list of 5 loaded images, order: Colour, Grey, High, Low, Density
PIL.Image, PIL.Image, PIL.Image, PIL.Image, PIL.Image
],
"xray_width": int,
"xray_height": int,
"objects": {
"rgb_bbox": [ [float, float, float, float], ... ], // list of [x_min, y_min, width, height]
"xray_bbox": [ [float, float, float, float], ... ], // list of [x_min, y_min, width, height]
"categories": [ string, ... ], // list of text labels
"rgb_visible": [ bool, ... ], // list of booleans
"xray_visible": [ bool, ... ], // list of booleans
"dangerous": [ bool, ... ], // list of booleans
"IN_ids": [ string, ... ], // list of ImageNet IDs (may be empty)
"WN_ids": [ string, ... ] // list of WordNet synset IDs (may be empty)
}
}
- The
xray_images
list always follows this order: Colour, Grey, High, Low, Density. - All bounding boxes are in
[x_min, y_min, width, height]
format. - The
categories
field contains the text label for each object. - The
IN_ids
andWN_ids
fields provide ImageNet and WordNet synset IDs when available. - All lists within the
objects
field are aligned by index: for any indexi
, the elementsrgb_bbox[i]
,xray_bbox[i]
,categories[i]
,rgb_visible[i]
,xray_visible[i]
,dangerous[i]
,IN_ids[i]
, andWN_ids[i]
all correspond to the same object instance in the image.
The repository also includes a classes.csv
file listing all classes present in the dataset. This file has the following columns:
class
: Class name (string)IN_id
: ImageNet class ID (string, may be empty)WN_id
: WordNet synset ID (string, may be empty)dangerous
: Whether the class is considered dangerous (boolean)
This structure supports both zero-shot and prototype-based open-vocabulary object detection experiments.
Usage
from datasets import load_dataset
import matplotlib.pyplot as plt
import matplotlib.patches as patches
# 1. Load the dataset
ds = load_dataset("PAGF/DET-COMPASS", name="default", split="test")
# 2. Select a sample
sample = ds[739]
# 3. Get the images
rgb_img = sample["rgb_image"]
xray_colour_img = sample["xray_images"][0]
xray_grey_img = sample["xray_images"][1]
xray_high_img = sample["xray_images"][2]
xray_low_img = sample["xray_images"][3]
xray_density_img = sample["xray_images"][4]
# 4. Get the bounding boxes ([x_min, y_min, width, height])
rgb_bboxes = sample["objects"]["rgb_bbox"]
xray_bboxes = sample["objects"]["xray_bbox"]
# 5. Get the classes
classes = sample["objects"]["categories"]
# 6. Draw bounding boxes
def plot_image(ax, img, bboxes, classes, name=""):
ax.imshow(img)
for bbox, cls in zip(bboxes, classes):
rect = patches.Rectangle(
(bbox[0], bbox[1]),
bbox[2], bbox[3],
linewidth=2, edgecolor='r', facecolor='none'
)
ax.add_patch(rect)
# Draw class name at the top-left corner of the bbox
ax.text(
bbox[0], bbox[1] - 5, # Slightly above the bbox
cls,
color='yellow', fontsize=10, weight='bold',
bbox=dict(facecolor='black', alpha=0.5, edgecolor='none', pad=1)
)
ax.set_title(name)
ax.axis("off")
fig, axs = plt.subplots(3, 2, figsize=(12, 6))
plot_image(ax=axs[0,0], img=rgb_img, bboxes=rgb_bboxes, classes=classes, name="RGB")
plot_image(ax=axs[0,1], img=xray_colour_img, bboxes=xray_bboxes, classes=classes, name="X-ray Colour")
plot_image(ax=axs[1,0], img=xray_grey_img, bboxes=xray_bboxes, classes=classes, name="X-ray Grey")
plot_image(ax=axs[1,1], img=xray_high_img, bboxes=xray_bboxes, classes=classes, name="X-ray High")
plot_image(ax=axs[2,0], img=xray_low_img, bboxes=xray_bboxes, classes=classes, name="X-ray Low")
plot_image(ax=axs[2,1], img=xray_density_img, bboxes=xray_bboxes, classes=classes, name="X-ray Density")
plt.tight_layout()
plt.show()

Citation
If you use DET-COMPASS in your research, please cite:
@inproceedings{garcia2025superpowering,
title={Superpowering Open-Vocabulary Object Detectors for X-ray Vision},
author={Pablo Garcia{-}Fernandez and Lorenzo Vaquero and Mingxuan Liu and Feng Xue and Daniel Cores and Nicu Sebe and Manuel Mucientes and Elisa Ricci},
booktitle={Int. Conf. Comput. Vis. ({ICCV})},
year={2025},
}
- Downloads last month
- 707