Datasets:
Size:
10K - 100K
File size: 7,825 Bytes
6fd8ccc 91b5c9e 6fd8ccc 91b5c9e 6fd8ccc 91b5c9e 6fd8ccc 91b5c9e 6fd8ccc 91b5c9e 6fd8ccc 083adb2 bf286c5 26430bd bf286c5 26430bd bf286c5 26430bd bf286c5 26430bd bf286c5 7315c3a 6fd8ccc 2b82695 6fd8ccc 083adb2 2b82695 6fd8ccc 2b82695 cbd2a44 2b82695 bc02d7c 2b82695 bf286c5 2b82695 6fd8ccc | 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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | ---
language:
- eng
- bg
- sq
- eu
- ca
- hr
- da
- nld
- deu
- el
- fi
- fra
- gl
- is
- it
- lt
- pl
- pt
- ro
- rus
- sr
- sk
- sl
- spa
- sv
multilingulality:
- multilingual
task_categories:
- object-detection
- image-segmentation
- image-classification
configs:
- config_name: arts
data_files:
- split: train
path: data/arts/*
- config_name: security
data_files:
- split: train
path: data/security/*
- config_name: sport
data_files:
- split: train
path: data/sport/*
- config_name: transport
data_files:
- split: train
path: data/transport/*
- config_name: default
data_files:
- split: train
path: data/*
---
> [!NOTE]
> Dataset origin: https://live.european-language-grid.eu/catalogue/corpus/18029/
# MIC21
## Original description
One of the processing tasks for large multimodal data streams is automatic image description (image classification, object segmentation and classification). Although the number and the diversity of image datasets is constantly expanding, still there is a huge demand for more datasets in terms of variety of domains and object classes covered. The goal of the project Multilingual Image Corpus (MIC 21) is to provide a large image dataset with annotated objects and object descriptions in 24 languages. The Multilingual Image Corpus consists of an Ontology of visual objects (based on WordNet) and a collection of thematically related images whose objects are annotated with segmentation masks and labels describing the ontology classes. The dataset is designed both for image classification and object detection and for semantic segmentation. The main contributions of our work are: a) the provision of large collection of high quality copyright-free images; b) the formulation of the Ontology of visual objects based on WordNet noun hierarchies; c) the precise manual correction of automatic object segmentation within the images and the annotation of object classes; and d) the association of objects and images with extended multilingual descriptions based on WordNet inner- and interlingual relations. The dataset can be used also for multilingual image caption generation, image-to-text alignment and automatic question answering for images and videos.
## This Hugging Face dataset
The original data can be found via the link above.
The present dataset converts the original data into a Hugging Face dataset.
We have in particular:
- convert everything in parquet,
- convert image as PIL,
- create one column per language.
Note: The paper indicates 21,316 images. In practice, we propose only 21,140 due to corrupted annotations that could not be correctly associated with 176 images.
## Usage
Since the global dataset is just about 70GB, we have chosen to present it as 4 splits so that users can use the one of their choice if they don’t need all of it.
```python
from datasets import load_dataset
ds = load_dataset("FrancophonIA/MIC21", "arts")
ds = load_dataset("FrancophonIA/MIC21", "sport")
ds = load_dataset("FrancophonIA/MIC21", "security")
ds = load_dataset("FrancophonIA/MIC21", "transport")
ds = load_dataset("FrancophonIA/MIC21", "default") # load the 4 splits in one shot
```
## Configs
| Config | Content |
|---|---|
| `arts` | Artists, musicians, dancers, sculptors... |
| `security` | Security personnel, equipment... |
| `sport` | Athletes and sporting activities |
| `transport` | Vehicles and means of transport |
## Column Schema
| Column | Type | Description |
|---|---|---|
| `image` | `Image` | Embedded PIL image (RGB JPEG) |
| `image_id` | `int64` | Unique image identifier (COCO) |
| `file_name` | `string` | Source file name |
| `width` | `int32` | Image width in pixels |
| `height` | `int32` | Image height in pixels |
| `domain` | `string` | Domain (`ARTS`, `SECURITY`, `SPORT`, `TRANSPORT`) |
| `class_name` | `string` | Main class of the image (e.g. `accordionist`) |
| `label_en` | `string` | English translation of the class |
| `label_fr` | `string` | French translation of the class |
| `label_XX` | `string` | Same for all 25 languages (see table below) |
| `objects` | `list` | List of annotated objects (COCO format, see below) |
### `objects` field
Each entry in the list corresponds to one COCO annotation:
| Field | Type | Description |
|---|---|---|
| `annotation_id` | `int64` | Annotation identifier |
| `category_id` | `int64` | Category identifier |
| `category_name` | `string` | Category name |
| `bbox` | `list[float32]` | Bounding box `[x, y, width, height]` (COCO format) |
| `area` | `float32` | Object area in pixels² |
| `iscrowd` | `int8` | `1` if dense crowd, `0` otherwise |
| `segmentation` | `list[list[float32]]` | COCO segmentation polygons |
| `metadata` | `string` | Additional metadata (serialized JSON) |
### Available languages (`label_XX`)
| Code | Language | Code | Language | Code | Language |
|---|---|---|---|---|---|
| `en` | English | `fr` | French | `de` | German |
| `es` | Spanish | `it` | Italian | `pt` | Portuguese |
| `nl` | Dutch | `pl` | Polish | `ru` | Russian |
| `bg` | Bulgarian | `sr` | Serbian | `hr` | Croatian |
| `sk` | Slovak | `sl` | Slovenian | `ro` | Romanian |
| `el` | Greek | `ca` | Catalan | `gl` | Galician |
| `eu` | Basque | `sq` | Albanian | `fi` | Finnish |
| `sv` | Swedish | `da` | Danish | `lt` | Lithuanian |
| `is` | Icelandic | | | | |
## Citation
```
@inproceedings{koeva-etal-2022-multilingual,
title = "Multilingual Image Corpus {--} Towards a Multimodal and Multilingual Dataset",
author = "Koeva, Svetla and
Stoyanova, Ivelina and
Kralev, Jordan",
editor = "Calzolari, Nicoletta and
B{\'e}chet, Fr{\'e}d{\'e}ric and
Blache, Philippe and
Choukri, Khalid and
Cieri, Christopher and
Declerck, Thierry and
Goggi, Sara and
Isahara, Hitoshi and
Maegaard, Bente and
Mariani, Joseph and
Mazo, H{\'e}l{\`e}ne and
Odijk, Jan and
Piperidis, Stelios",
booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
month = jun,
year = "2022",
address = "Marseille, France",
publisher = "European Language Resources Association",
url = "https://aclanthology.org/2022.lrec-1.162",
pages = "1509--1518",
abstract = "One of the processing tasks for large multimodal data streams is automatic image description (image classification, object segmentation and classification). Although the number and the diversity of image datasets is constantly expanding, still there is a huge demand for more datasets in terms of variety of domains and object classes covered. The goal of the project Multilingual Image Corpus (MIC 21) is to provide a large image dataset with annotated objects and object descriptions in 24 languages. The Multilingual Image Corpus consists of an Ontology of visual objects (based on WordNet) and a collection of thematically related images whose objects are annotated with segmentation masks and labels describing the ontology classes. The dataset is designed both for image classification and object detection and for semantic segmentation. The main contributions of our work are: a) the provision of large collection of high quality copyright-free images; b) the formulation of the Ontology of visual objects based on WordNet noun hierarchies; c) the precise manual correction of automatic object segmentation within the images and the annotation of object classes; and d) the association of objects and images with extended multilingual descriptions based on WordNet inner- and interlingual relations. The dataset can be used also for multilingual image caption generation, image-to-text alignment and automatic question answering for images and videos.",
}
``` |