alakxender's picture
Update README.md
a8e299c verified
metadata
dataset_info:
  features:
    - name: image
      dtype: image
    - name: prefix
      dtype: string
    - name: suffix
      dtype: string
  splits:
    - name: train
      num_bytes: 1163334145.738
      num_examples: 13882
    - name: test
      num_bytes: 253459451.5
      num_examples: 2975
    - name: validation
      num_bytes: 256199156.162
      num_examples: 2991
  download_size: 1645106457
  dataset_size: 1672992753.3999999
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
      - split: validation
        path: data/validation-*
license: apache-2.0
language:
  - dv
tags:
  - dhivehi
  - thaana
  - sentence
  - layout
pretty_name: thaana-layout
size_categories:
  - 10K<n<100K

Synthetic Dhivehi Document Layout Analysis Dataset

Overview

This dataset contains synthetic document layouts annotated with bounding boxes and labels for various sections in the Dhivehi language. It is designed for training models on document layout analysis and Optical Character Recognition (OCR) tasks. The dataset simulates real-world documents in Dhivehi and can be used for layout-aware OCR to recognize text and understand the structure of Dhivehi documents.

Dataset Structure

Each data point in the dataset consists of:

  • Image: A synthetic scanned document image (e.g., .jpg, .png) with Dhivehi text.
  • Annotations: Bounding boxes and labels indicating the locations of various components of the document.

Annotation Format

Annotations are represented in the following format:

<locXXXX><locYYYY><locZZZZ><locAAAA> label_name ;

Where:

  • <locXXXX>: X-coordinate of the top-left corner of the bounding box.
  • <locYYYY>: Y-coordinate of the top-left corner of the bounding box.
  • <locZZZZ>: X-coordinate of the bottom-right corner of the bounding box.
  • <locAAAA>: Y-coordinate of the bottom-right corner of the bounding box.
  • label_name: The label for the section (e.g., "heading", "caption", etc.).

Categories

The labels used for the bounding boxes in this dataset are:

  • author
  • caption
  • columns
  • date
  • footnote
  • heading
  • paragraph
  • picture
  • textline

Example Annotation:

<loc0016><loc0886><loc0055><loc0968> heading ;
<loc0078><loc0843><loc0096><loc0974> date ;
<loc0112><loc0080><loc0140><loc0332> textline ;
<loc0128><loc0064><loc0154><loc0332> textline ;
<loc0143><loc0092><loc0170><loc0331> textline ;
...

Synthetic Nature of the Dataset

This dataset is synthetic, meaning that the images and annotations are artificially generated to simulate real-world document layouts in the Dhivehi language. While the documents may not correspond to actual historical or published material, they follow realistic formatting and structures that reflect how text in Dhivehi would typically appear in different document sections.

The synthetic nature of this dataset allows for controlled experimentation, and it can be used to train models without the need for large collections of real-world document scans.

Dataset Details

  • Language: Dhivehi
  • Synthetic Data: Artificially generated document images and annotations.
  • Number of Images: 27,820 images
  • Image Format: .jpg, .png
  • Resolution: 300dpi
  • Number of Annotations: 33,850 bounding box annotations
  • Document Type: Synthetic, Dhivehi-language documents

Dataset Splits:

  • Train: 27,820 examples, 2.3 GB
  • Test: 5,950 examples, 506 MB
  • Validation: 5,981 examples, 512 MB

Total dataset size: 3.35 GB
Download size: 3.29 GB