de-francophones commited on
Commit
2b82695
·
verified ·
1 Parent(s): 37d5a45

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +80 -3
README.md CHANGED
@@ -44,17 +44,94 @@ dataset_info:
44
  path: data/transport/*.parquet
45
  ---
46
 
 
47
  > [!NOTE]
48
  > Dataset origin: https://live.european-language-grid.eu/catalogue/corpus/18029/
49
 
50
 
51
- > [!WARNING]
52
- > We recommend you download the data with huggingface_hub lib by selecting the folders of interest in https://huggingface.co/datasets/FrancophonIA/MIC21/tree/main
53
 
54
- ## Description
 
 
55
  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.
56
 
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  ## Citation
59
  ```
60
  @inproceedings{koeva-etal-2022-multilingual,
 
44
  path: data/transport/*.parquet
45
  ---
46
 
47
+
48
  > [!NOTE]
49
  > Dataset origin: https://live.european-language-grid.eu/catalogue/corpus/18029/
50
 
51
 
 
 
52
 
53
+ # MIC21
54
+
55
+ ## Original description
56
  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.
57
 
58
 
59
+ ## This Hugging Face dataset
60
+
61
+ The original data can be found via the link below.
62
+ The present dataset converts the original data into a Hugging Face dataset.
63
+ We have in particular:
64
+ - convert everything in parquet,
65
+ - convert image as PIL,
66
+ - create one column per language.
67
+
68
+ ## Usage
69
+
70
+ 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.
71
+
72
+ ```python
73
+ from datasets import load_dataset
74
+
75
+ ds = load_dataset("FrancophonIA/MIC21", "arts")
76
+ ds = load_dataset("FrancophonIA/MIC21", "sport")
77
+ ds = load_dataset("FrancophonIA/MIC21", "security")
78
+ ds = load_dataset("FrancophonIA/MIC21", "transport")
79
+ ```
80
+
81
+ ## Configs
82
+
83
+ | Config | Content |
84
+ |---|---|
85
+ | `arts` | Artists, musicians, dancers, sculptors... |
86
+ | `security` | Security personnel, equipment... |
87
+ | `sport` | Athletes and sporting activities |
88
+ | `transport` | Vehicles and means of transport |
89
+
90
+ ## Column Schema
91
+
92
+ | Column | Type | Description |
93
+ |---|---|---|
94
+ | `image` | `Image` | Embedded PIL image (RGB JPEG) |
95
+ | `image_id` | `int64` | Unique image identifier (COCO) |
96
+ | `file_name` | `string` | Source file name |
97
+ | `width` | `int32` | Image width in pixels |
98
+ | `height` | `int32` | Image height in pixels |
99
+ | `domain` | `string` | Domain (`ARTS`, `SECURITY`, `SPORT`, `TRANSPORT`) |
100
+ | `class_name` | `string` | Main class of the image (e.g. `accordionist`) |
101
+ | `label_en` | `string` | English translation of the class |
102
+ | `label_fr` | `string` | French translation of the class |
103
+ | `label_XX` | `string` | Same for all 25 languages (see table below) |
104
+ | `objects` | `list` | List of annotated objects (COCO format, see below) |
105
+
106
+ ### `objects` field
107
+
108
+ Each entry in the list corresponds to one COCO annotation:
109
+
110
+ | Field | Type | Description |
111
+ |---|---|---|
112
+ | `annotation_id` | `int64` | Annotation identifier |
113
+ | `category_id` | `int64` | Category identifier |
114
+ | `category_name` | `string` | Category name |
115
+ | `bbox` | `list[float32]` | Bounding box `[x, y, width, height]` (COCO format) |
116
+ | `area` | `float32` | Object area in pixels² |
117
+ | `iscrowd` | `int8` | `1` if dense crowd, `0` otherwise |
118
+ | `segmentation` | `list[list[float32]]` | COCO segmentation polygons |
119
+ | `metadata` | `string` | Additional metadata (serialized JSON) |
120
+
121
+ ### Available languages (`label_XX`)
122
+
123
+ | Code | Language | Code | Language | Code | Language |
124
+ |---|---|---|---|---|---|
125
+ | `en` | English | `fr` | French | `de` | German |
126
+ | `es` | Spanish | `it` | Italian | `pt` | Portuguese |
127
+ | `nl` | Dutch | `pl` | Polish | `ru` | Russian |
128
+ | `bg` | Bulgarian | `sr` | Serbian | `hr` | Croatian |
129
+ | `sk` | Slovak | `sl` | Slovenian | `ro` | Romanian |
130
+ | `el` | Greek | `ca` | Catalan | `gl` | Galician |
131
+ | `eu` | Basque | `sq` | Albanian | `fi` | Finnish |
132
+ | `sv` | Swedish | `da` | Danish | `lt` | Lithuanian |
133
+ | `is` | Icelandic | | | | |
134
+
135
  ## Citation
136
  ```
137
  @inproceedings{koeva-etal-2022-multilingual,