Datasets:
Update README.md
#2
by
lorenzovaquero
- opened
README.md
CHANGED
|
@@ -155,50 +155,31 @@ Object detection in security X-ray scans has advanced significantly in recent ye
|
|
| 155 |
|
| 156 |
### Dataset Structure
|
| 157 |
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
- **
|
| 161 |
-
- **
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
"IN_ids": [ string, ... ], // list of ImageNet IDs (may be empty)
|
| 183 |
-
"WN_ids": [ string, ... ] // list of WordNet synset IDs (may be empty)
|
| 184 |
-
}
|
| 185 |
-
}
|
| 186 |
-
```
|
| 187 |
-
|
| 188 |
-
- The `xray_images` list always follows this order: **Colour, Grey, High, Low, Density**.
|
| 189 |
-
- All bounding boxes are in `[x_min, y_min, width, height]` format.
|
| 190 |
-
- The `categories` field contains the text label for each object.
|
| 191 |
-
- The `IN_ids` and `WN_ids` fields provide ImageNet and WordNet synset IDs when available.
|
| 192 |
-
- **All lists within the `objects` field are aligned by index:** for any index `i`, the elements `rgb_bbox[i]`, `xray_bbox[i]`, `categories[i]`, `rgb_visible[i]`, `xray_visible[i]`, `dangerous[i]`, `IN_ids[i]`, and `WN_ids[i]` all correspond to the same object instance in the image.
|
| 193 |
-
|
| 194 |
-
**The repository also includes a `classes.csv` file listing all classes present in the dataset. This file has the following columns:**
|
| 195 |
-
|
| 196 |
-
- `class`: Class name (string)
|
| 197 |
-
- `IN_id`: ImageNet class ID (string, may be empty)
|
| 198 |
-
- `WN_id`: WordNet synset ID (string, may be empty)
|
| 199 |
-
- `dangerous`: Whether the class is considered dangerous (boolean)
|
| 200 |
|
| 201 |
-
This structure supports both zero-shot and prototype-based open-vocabulary object detection experiments.
|
| 202 |
|
| 203 |
### Usage
|
| 204 |
|
|
|
|
| 155 |
|
| 156 |
### Dataset Structure
|
| 157 |
|
| 158 |
+
- ๐ **Low**: Raw 8-bit greyscale data from the scannerโs **low-energy X-ray channel**.
|
| 159 |
+
- ๐ **High**: Raw 8-bit greyscale data from the scannerโs **high-energy X-ray channel**.
|
| 160 |
+
- ๐ **Density**: 8-bit greyscale data representing **inferred material density**, computed by combining the low and high energy channels.
|
| 161 |
+
- ๐ **Grey**: RGB images that blends low and high energy channels with **visual enhancements**. While nominally greyscale, it includes **subtle color details**.
|
| 162 |
+
- ๐ **Colour**: RGB images using a **color palette** to represent material density variations.
|
| 163 |
+
- ๐ **Photo**: RGB images caputred with a RGB camera.
|
| 164 |
+
|
| 165 |
+
- ๐ **meta.txt**: Original metadata from COMPASS-XP, including:
|
| 166 |
+
```
|
| 167 |
+
basename: Shared ID for each image pair
|
| 168 |
+
class: Object class
|
| 169 |
+
instance: An integer identifying the object instance
|
| 170 |
+
pose: An integer identifying the object pose
|
| 171 |
+
scan tray: Either A, indicating that the pose was imaged in a weighted tray, or N indicating it was not
|
| 172 |
+
dangerous: Boolean indicating aviation threat
|
| 173 |
+
IN_id: ImageNet class ID (if available)
|
| 174 |
+
WN_id: WordNet synset ID (if available)
|
| 175 |
+
```
|
| 176 |
+
- ๐ **rgb_compass.json** and ๐**xray_compass.json**: Bounding box annotations for both the X-ray (Low, High, Density, Grey, Colour), and the RGB (Photo) images.
|
| 177 |
+
> Note: The category id/name must be retrieved from `meta.txt` (now there is a dummy 1).
|
| 178 |
+
- ๐ **Raxo_splits**: Train/Test splits used in the [RAXO](https://github.com/PAGF188/RAXO) paper, stored in **COCO format** .
|
| 179 |
+
- ๐ **xray_prot.json**: Used to build the prototypes.
|
| 180 |
+
- ๐ **xray_1image_test.json**: Used for test.
|
| 181 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
|
|
|
|
| 183 |
|
| 184 |
### Usage
|
| 185 |
|