Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,94 @@
|
|
| 1 |
---
|
| 2 |
license: eupl-1.1
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: eupl-1.1
|
| 3 |
+
language:
|
| 4 |
+
- nl
|
| 5 |
---
|
| 6 |
+
# Vuurwerkverkenner
|
| 7 |
+
|
| 8 |
+
This dataset is used by the Vuurwerkverkenner, an application for linking snippets of exploded (heavy) fireworks to the type of firework that they originate from.
|
| 9 |
+
You may find the application at [www.vuurwerkverkenner.nl](https://www.vuurwerkverkenner.nl).
|
| 10 |
+
The dataset consists of different types of fireworks that were investigated in casework by the Netherlands Forensic Institute.
|
| 11 |
+
|
| 12 |
+
## Categories
|
| 13 |
+
|
| 14 |
+
If firework wrappers are very similar in their visual appearance, they may be grouped into categories.
|
| 15 |
+
In most cases, a wrapper is not similar to any other wrapper, and a category simply consists of one unique wrapper.
|
| 16 |
+
|
| 17 |
+
## Contents
|
| 18 |
+
|
| 19 |
+
The dataset consists of 181 categories, containing 326 unique wrappers in total. The dataset is organized as follows:
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
```
|
| 23 |
+
vuurwerkverkenner-data
|
| 24 |
+
└───fireworks_0
|
| 25 |
+
└─── wrappers
|
| 26 |
+
└─── 0
|
| 27 |
+
└─── wrapper.jpg
|
| 28 |
+
└─── compleet exemplaar.jpg
|
| 29 |
+
└─── gedemonteerd.jpg
|
| 30 |
+
└─── 1
|
| 31 |
+
└─── wrapper.jpg
|
| 32 |
+
└─── compleet exemplaar.jpg
|
| 33 |
+
└─── gedemonteerd.jpg
|
| 34 |
+
└───fireworks_1
|
| 35 |
+
└─── wrappers
|
| 36 |
+
└─── 0
|
| 37 |
+
└─── wrapper.jpg
|
| 38 |
+
└───meta.json
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
The first level of folders (`fireworks_0`, `fireworks_1`, ...) corresponds to the category.
|
| 42 |
+
The third level (`0`, `1`, ...) corresponds to the wrappers within the category.
|
| 43 |
+
For each wrapper, one or multiple images may be present.
|
| 44 |
+
In each case, `wrapper.jpg` should be present, which is a scan of the full wrapper.
|
| 45 |
+
Additionally, other images may be present as well, such as the entire fireworks article or a schematic drawing of its contents.
|
| 46 |
+
|
| 47 |
+
In `meta.json`, we store both *metadata* and *reference embeddings* for the firework categories. It has the following structure:
|
| 48 |
+
|
| 49 |
+
```
|
| 50 |
+
{
|
| 51 |
+
0: {
|
| 52 |
+
"embeddings": [[...], [...], ...],
|
| 53 |
+
"wrappers": [
|
| 54 |
+
0: {
|
| 55 |
+
"wrapper_text": "abcdef",
|
| 56 |
+
"article_name": "abc",
|
| 57 |
+
...
|
| 58 |
+
},
|
| 59 |
+
1: {...},
|
| 60 |
+
2: {...}
|
| 61 |
+
]
|
| 62 |
+
},
|
| 63 |
+
1: {...}
|
| 64 |
+
}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
The first level (`meta[0]`, `meta[1]`, `meta[2]` ...) indicates the fireworks category, which corresponds to the first level of the photo folders (i.e. `meta[0]` matches the folder `fireworks_0`).
|
| 68 |
+
Each category contains the reference embeddings and the metadata for each wrapper.
|
| 69 |
+
The third level, e.g. `meta[0]['wrappers’][0]`, indicates the wrapper within the category and corresponds to the photo folder of that wrapper (e.g. `fireworks_0/wrappers/0`).
|
| 70 |
+
|
| 71 |
+
### _Reference embeddings_
|
| 72 |
+
|
| 73 |
+
For each category, reference embeddings are provided.
|
| 74 |
+
They are constructed by an AI model that is trained to create embeddings for (photos of) firework wrappers and snippets of exploded wrappers.
|
| 75 |
+
When fed to this model, photos of snippets that belong to a given category should have similar embeddings to the ones for the wrappers.
|
| 76 |
+
For more details about the model, see (here)[https://huggingface.co/NetherlandsForensicInstitute/vuurwerkverkenner].
|
| 77 |
+
|
| 78 |
+
### _Metadata_
|
| 79 |
+
|
| 80 |
+
For each wrapper, metadata is provided. The fields are described below.
|
| 81 |
+
|
| 82 |
+
| Field | Description |
|
| 83 |
+
|-------------------------------|-----------------------------------------------------|
|
| 84 |
+
| `text` | The full text that is on the wrapper (excluding non-Latin alphabets). |
|
| 85 |
+
| `endangerment` | The level of danger or risk associated with the firework. |
|
| 86 |
+
| `article_name` | The name of the item. |
|
| 87 |
+
| `firework_type` | The type of firework. |
|
| 88 |
+
| `firework_category` | The category or classification of the firework. |
|
| 89 |
+
| `tube_length` | The length of the tube. |
|
| 90 |
+
| `tube_diameter` | The diameter of the tube. |
|
| 91 |
+
| `composition_burst_charge` | The composition of the main charge of the firework. |
|
| 92 |
+
| `composition_other_mixtures` | The composition of other charges of the firework. |
|
| 93 |
+
| `mass_burst_charge` | The mass of the main charge. |
|
| 94 |
+
| `mass_other_mixtures` | The mass of other charges. |
|