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 Image Line Dataset πŸ“„

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

🎯 Dataset Overview

  • 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
  • Light and dark backgrounds
  • Realistic augmentations (noise, blur, rotation)
  • Variable text lengths (5-100 characters)

πŸ“š Citation

@dataset{km_en_image_line,
  author = {mrrtmob},
  title = {Khmer-English Image Line Dataset},
  year = {2026},
  publisher = {Blizzer},
  howpublished = {\url{https://huggingface.co/datasets/mrrtmob/km_en_image_line}}
}

βš–οΈ License

CC BY 4.0

πŸ”— Related

β˜• Support

Downloads last month
331

Models trained or fine-tuned on mrrtmob/km_en_image_line