Datasets:

ArXiv:
License:
davanstrien HF staff commited on
Commit
b8360c6
1 Parent(s): 4c5feb7

draft readme

Browse files
Files changed (1) hide show
  1. README.md +96 -6
README.md CHANGED
@@ -287,20 +287,76 @@ size_categories:
287
 
288
  ### Dataset Summary
289
 
290
- > Large datasets that were made publicly available to the research community over the last 20 years have been a key enabling factor for the advances in deep learning algorithms for NLP or computer vision. These datasets are generally pairs of aligned image / manually annotated metadata, where images are photographs of everyday life. Scholarly and historical content, on the other hand, treat subjects that are not necessarily popular to a general audience, they may not always contain a large number of data points, and new data may be difficult or impossible to collect. Some exceptions do exist, for instance, scientific or health data, but this is not the case for cultural heritage (CH). The poor performance of the best models in computer vision - when tested over artworks - coupled with the lack of extensively annotated datasets for CH, and the fact that artwork images depict objects and actions not captured by photographs, indicate that a CH-specific dataset would be highly valuable for this community. We propose DEArt, at this point primarily an object detection and pose classification dataset meant to be a reference for paintings between the XIIth and the XVIIIth centuries. It contains more than 15000 images, about 80% non-iconic, aligned with manual annotations for the bounding boxes identifying all instances of 69 classes as well as 12 possible poses for boxes identifying human-like objects. Of these, more than 50 classes are CH-specific and thus do not appear in other datasets; these reflect imaginary beings, symbolic entities and other categories related to art. Additionally, existing datasets do not include pose annotations. Our results show that object detectors for the cultural heritage domain can achieve a level of precision comparable to state-of-art models for generic images via transfer learning.
291
 
292
  ### Supported Tasks and Leaderboards
293
 
294
- [More Information Needed]
 
295
 
296
 
297
  ## Dataset Structure
298
 
 
 
 
 
 
299
  ### Data Instances
300
 
301
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
 
303
- COCO
304
 
305
  ```python
306
  {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1019x1680>,
@@ -354,16 +410,50 @@ COCO
354
 
355
  ### Data Splits
356
 
357
- [More Information Needed]
358
 
359
  ## Dataset Creation
360
 
 
361
  ### Curation Rationale
 
 
 
362
 
363
- [More Information Needed]
364
 
365
  ### Source Data
366
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
  #### Initial Data Collection and Normalization
368
 
369
  [More Information Needed]
 
287
 
288
  ### Dataset Summary
289
 
290
+ > DEArt is an object detection and pose classification dataset meant to be a reference for paintings between the XIIth and the XVIIIth centuries. It contains more than 15000 images, about 80% non-iconic, aligned with manual annotations for the bounding boxes identifying all instances of 69 classes as well as 12 possible poses for boxes identifying human-like objects. Of these, more than 50 classes are cultural heritage specific and thus do not appear in other datasets; these reflect imaginary beings, symbolic entities and other categories related to art.
291
 
292
  ### Supported Tasks and Leaderboards
293
 
294
+ - `object-detection`: This dataset can be used to train or evaluate models for object-detection on historical document images.
295
+ - `image-classification`: This dataset can be used for image classification tasks by using only the labels and not the bounding box information
296
 
297
 
298
  ## Dataset Structure
299
 
300
+ This dataset has two configurations. These configurations both cover the same data and annotations but provide these annotations in different forms to make it easier to integrate the data with existing processing pipelines.
301
+
302
+ - The first configuration, `raw, uses the data's original format.
303
+ - The second configuration converts the annotations into a format that is closer to the `COCO` annotation format. This is done to make it easier to work with the [`image_processors`](https://huggingface.co/docs/transformers/main_classes/image_processor) (formerly known as`feature_extractor`s) from the `Transformers` models for object detection, which expects data to be in a COCO-style format.
304
+
305
  ### Data Instances
306
 
307
+ An instance from the `raw` config:
308
+ ```python
309
+ {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1019x1680>,
310
+ 'source': 'Europeana Collection',
311
+ 'width': 1019,
312
+ 'height': 1680,
313
+ 'dept': 3,
314
+ 'segmented': None,
315
+ 'objects': [{'name': 40,
316
+ 'pose': 3,
317
+ 'diffult': 0,
318
+ 'xmin': 259.0,
319
+ 'ymin': 166.0,
320
+ 'xmax': 679.0,
321
+ 'ymax': 479.0},
322
+ {'name': 19,
323
+ 'pose': 2,
324
+ 'diffult': 0,
325
+ 'xmin': 115.0,
326
+ 'ymin': 354.0,
327
+ 'xmax': 882.0,
328
+ 'ymax': 1168.0},
329
+ {'name': 15,
330
+ 'pose': 3,
331
+ 'diffult': 0,
332
+ 'xmin': 445.0,
333
+ 'ymin': 1170.0,
334
+ 'xmax': 579.0,
335
+ 'ymax': 1302.0},
336
+ {'name': 51,
337
+ 'pose': 3,
338
+ 'diffult': 0,
339
+ 'xmin': 354.0,
340
+ 'ymin': 1196.0,
341
+ 'xmax': 445.0,
342
+ 'ymax': 1330.0},
343
+ {'name': 51,
344
+ 'pose': 3,
345
+ 'diffult': 0,
346
+ 'xmin': 580.0,
347
+ 'ymin': 1203.0,
348
+ 'xmax': 701.0,
349
+ 'ymax': 1326.0},
350
+ {'name': 57,
351
+ 'pose': 3,
352
+ 'diffult': 0,
353
+ 'xmin': 203.0,
354
+ 'ymin': 642.0,
355
+ 'xmax': 882.0,
356
+ 'ymax': 1172.0}]}
357
+ ```
358
 
359
+ An instance from the `coco` config:
360
 
361
  ```python
362
  {'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1019x1680>,
 
410
 
411
  ### Data Splits
412
 
413
+ The dataset doesn't define set splits, so only a train split is provided. The paper associated with the dataset does discuss a train and validation split, but it doesn't appear this split was shared.
414
 
415
  ## Dataset Creation
416
 
417
+
418
  ### Curation Rationale
419
+ The creators of the dataset authors outline some of their motivations for creating the dataset in the abstract for their paper:
420
+
421
+ >Large datasets that were made publicly available to the research community over the last 20 years have been a key enabling factor for the advances in deep learning algorithms for NLP or computer vision. These datasets are generally pairs of aligned image / manually annotated metadata, where images are photographs of everyday life. Scholarly and historical content, on the other hand, treat subjects that are not necessarily popular to a general audience, they may not always contain a large number of data points, and new data may be difficult or impossible to collect. Some exceptions do exist, for instance, scientific or health data, but this is not the case for cultural heritage (CH). The poor performance of the best models in computer vision - when tested over artworks - coupled with the lack of extensively annotated datasets for CH, and the fact that artwork images depict objects and actions not captured by photographs, indicate that a CH-specific dataset would be highly valuable for this community. We propose DEArt, at this point primarily an object detection and pose classification dataset meant to be a reference for paintings between the XIIth and the XVIIIth centuries. It contains more than 15000 images, about 80% non-iconic, aligned with manual annotations for the bounding boxes identifying all instances of 69 classes as well as 12 possible poses for boxes identifying human-like objects. Of these, more than 50 classes are CH-specific and thus do not appear in other datasets; these reflect imaginary beings, symbolic entities and other categories related to art. Additionally, existing datasets do not include pose annotations.
422
 
 
423
 
424
  ### Source Data
425
 
426
+ The source data comes from several cultural heritage institutions that have shared openly licenced images. The dictionary below shows the institutions and the frequency with which they are the provider of images in the dataset.
427
+
428
+ ```python
429
+ {'National Museum in Warsaw': 2030,
430
+ 'Europeana Collection': 1991,
431
+ 'The Art Institute of Chicago': 1237,
432
+ 'The Metropolitan Museum of Art': 1218,
433
+ 'Rijksmuseum': 1066,
434
+ 'National Gallery of Art': 871,
435
+ 'Philadelphia Museum of Art': 774,
436
+ 'WikiArt': 687,
437
+ 'National museum in Krakow': 661,
438
+ 'National Gallery of Denmark': 660,
439
+ 'British Museum': 618,
440
+ 'Victoria and Albert Museum': 561,
441
+ 'Paul Mellon Centre': 391,
442
+ 'National Gallery of Scotland': 384,
443
+ 'Yale University Art Gallery': 376,
444
+ 'Museo Nacional Thyssen-Bornemisza': 332,
445
+ 'Harvard Art Museum': 279,
446
+ 'The National Museum of Norvay': 270,
447
+ 'LACMA': 262,
448
+ 'The Cleveland Museum of Art': 242,
449
+ 'The Leiden Collection': 159,
450
+ 'The Clark Museum': 77,
451
+ 'Pharos': 6,
452
+ 'Wikimedia Commons': 2,
453
+ 'Wikipedia': 1,
454
+ 'Unknown': 1}
455
+ ```
456
+
457
  #### Initial Data Collection and Normalization
458
 
459
  [More Information Needed]