Datasets:

Modalities:
Image
Languages:
Dutch
Libraries:
Datasets
License:
File size: 4,278 Bytes
36a6738
 
b7bb51f
 
36a6738
b7bb51f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
license: eupl-1.1
language:
- nl
---
# Vuurwerkverkenner

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. 
You may find the application at [www.vuurwerkverkenner.nl](https://www.vuurwerkverkenner.nl). 
The dataset consists of different types of fireworks that were investigated in casework by the Netherlands Forensic Institute. 

## Categories

If firework wrappers are very similar in their visual appearance, they may be grouped into categories. 
In most cases, a wrapper is not similar to any other wrapper, and a category simply consists of one unique wrapper.  

## Contents

The dataset consists of 181 categories, containing 326 unique wrappers in total. The dataset is organized as follows: 


```
vuurwerkverkenner-data 
└───fireworks_0 
  └─── wrappers 
    └─── 0 
      └─── wrapper.jpg 
      └─── compleet exemplaar.jpg
      └─── gedemonteerd.jpg
    └─── 1 
      └─── wrapper.jpg 
      └─── compleet exemplaar.jpg 
      └─── gedemonteerd.jpg 
└───fireworks_1 
  └─── wrappers 
    └─── 0 
      └─── wrapper.jpg 
└───meta.json 
```

The first level of folders (`fireworks_0`, `fireworks_1`, ...) corresponds to the category. 
The third level (`0`, `1`, ...) corresponds to the wrappers within the category. 
For each wrapper, one or multiple images may be present. 
In each case, `wrapper.jpg` should be present, which is a scan of the full wrapper. 
Additionally, other images may be present as well, such as the entire fireworks article or a schematic drawing of its contents. 

In `meta.json`, we store both *metadata* and *reference embeddings* for the firework categories. It has the following structure: 

```
{ 
  0: {
    "embeddings": [[...], [...], ...], 
    "wrappers": [ 
      0: {
        "wrapper_text": "abcdef", 
        "article_name": "abc",
        ... 
      }, 
      1: {...},
      2: {...} 
    ] 
  }, 
  1: {...} 
} 
```

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`).  
Each category contains the reference embeddings and the metadata for each wrapper.  
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`). 

### _Reference embeddings_

For each category, reference embeddings are provided. 
They are constructed by an AI model that is trained to create embeddings for (photos of) firework wrappers and snippets of exploded wrappers. 
When fed to this model, photos of snippets that belong to a given category should have similar embeddings to the ones for the wrappers. 
For more details about the model, see (here)[https://huggingface.co/NetherlandsForensicInstitute/vuurwerkverkenner]. 

### _Metadata_

For each wrapper, metadata is provided. The fields are described below. 

| Field                         | Description                                         | 
|-------------------------------|-----------------------------------------------------| 
| `text`                        | The full text that is on the wrapper (excluding non-Latin alphabets).             | 
| `endangerment`                | The level of danger or risk associated with the firework.             | 
| `article_name`                | The name of the item.                    | 
| `firework_type`               | The type of firework.                               | 
| `firework_category`           | The category or classification of the firework.     | 
| `tube_length`                 | The length of the tube.          | 
| `tube_diameter`               | The diameter of the tube.        | 
| `composition_burst_charge`    | The composition of the main charge of the firework.                | 
| `composition_other_mixtures`  | The composition of other charges of the firework.             | 
| `mass_burst_charge`           | The mass of the main charge.    | 
| `mass_other_mixtures`         | The mass of other charges. |