You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Khmer English OCR image line Dataset πŸ“„

A large-scale synthetic dataset for training OCR models on Khmer and English text. This dataset contains 12 million high-quality synthetic images of text lines.

🎯 Dataset Overview

  • Total Images: 12,138,214
  • Languages: Khmer, English, and mixed
  • Format: Image-text pairs
  • Use Case: OCR model training

πŸ“‹ Data Fields

  • image: PIL Image of the text line
  • text: Ground truth text string

πŸ’Ύ Usage

Load with Hugging Face

from datasets import load_dataset

dataset = load_dataset("mrrtmob/km_en_image_line")

# Access an example
example = dataset['train'][0]
image = example['image']  # PIL Image
text = example['text']    # str

Train with Kiri OCR

kiri-ocr train \
    --hf-dataset mrrtmob/km_en_image_line \
    --epochs 50 \
    --batch-size 32

🎨 Dataset Features

  • Multiple Khmer and English fonts
  • Realistic augmentations (noise, blur, rotation)
  • Variable text lengths (5-100 characters)

πŸ“š Citation

@dataset{khmer_english_ocr_image_line,
  author = {mrrtmob},
  title = {Khmer English OCR image line Dataset},
  year = {2026},
  publisher = {Blizzer},
  howpublished = {\url{https://huggingface.co/datasets/mrrtmob/khmer_english_ocr_image_line}}
}

βš–οΈ License

CC BY 4.0

πŸ”— Related

β˜• Support

Downloads last month
205

Models trained or fine-tuned on mrrtmob/khmer_english_ocr_image_line