Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:The task_ids "optical-character-recognition" is not in the official list: acceptability-classification, entity-linking-classification, fact-checking, intent-classification, language-identification, multi-class-classification, multi-label-classification, multi-input-text-classification, natural-language-inference, semantic-similarity-classification, sentiment-classification, topic-classification, semantic-similarity-scoring, sentiment-scoring, sentiment-analysis, hate-speech-detection, text-scoring, named-entity-recognition, part-of-speech, parsing, lemmatization, word-sense-disambiguation, coreference-resolution, extractive-qa, open-domain-qa, closed-domain-qa, news-articles-summarization, news-articles-headline-generation, dialogue-modeling, dialogue-generation, conversational, language-modeling, text-simplification, explanation-generation, abstractive-qa, open-domain-abstractive-qa, closed-domain-qa, open-book-qa, closed-book-qa, text2text-generation, slot-filling, masked-language-modeling, keyword-spotting, speaker-identification, audio-intent-classification, audio-emotion-recognition, audio-language-identification, multi-label-image-classification, multi-class-image-classification, face-detection, vehicle-detection, instance-segmentation, semantic-segmentation, panoptic-segmentation, image-captioning, image-inpainting, image-colorization, super-resolution, grasping, task-planning, tabular-multi-class-classification, tabular-multi-label-classification, tabular-single-column-regression, rdf-to-text, multiple-choice-qa, multiple-choice-coreference-resolution, document-retrieval, utterance-retrieval, entity-linking-retrieval, fact-checking-retrieval, univariate-time-series-forecasting, multivariate-time-series-forecasting, visual-question-answering, document-question-answering, pose-estimation

Darmm Kazakh Cyrillic OCR Dataset

Synthetic OCR dataset for Kazakh Cyrillic text. 200,000 rendered (image, label) pairs — word-level and line-level crops — generated from Kazakh Wikipedia text.

The first large-scale open OCR training dataset specifically targeting Kazakh Cyrillic script.

Dataset Summary

  • 200,000 images total — 100k word-level + 100k line-level
  • Train / Validation split — 190,000 / 10,000
  • Script — Kazakh Cyrillic (includes Kazakh-specific characters: Ә, Ғ, Қ, Ң, Ө, Ұ, Ү, Һ, І)
  • Text source — Kazakh Wikipedia (wikimedia/wikipedia, 20231101.kk)
  • License — Apache 2.0

Data Fields

  • image — PNG image of rendered text
  • label — Ground truth string
  • level"word" or "line"

Generation

Images are synthetically rendered using Pillow with the following variation:

  • Fonts — DejaVu Sans/Serif, FreeSans/Serif, Liberation Sans/Serif/Mono (16 variants)
  • Font sizes — 16–48px (word), 14–36px (line)
  • Backgrounds — white and light off-white variants
  • Text colors — near-black variants
  • Augmentation — Gaussian noise, slight blur, brightness/contrast jitter, small rotation (±2°)

Generation script: generate_kazakh_ocr.py

Motivation

Existing OCR systems regularly confuse Kazakh Cyrillic with Russian — the two scripts share most characters but Kazakh adds 9 additional letters (Ә, Ғ, Қ, Ң, Ө, Ұ, Ү, Һ, І) that standard Russian-trained OCR models handle poorly. No large-scale open training dataset existed for Kazakh OCR before this release.

Usage

from datasets import load_dataset

ds = load_dataset("Darmm/darmm-ocr-kazakh-cyrillic")

# Word-level only
word_ds = ds.filter(lambda x: x["level"] == "word")

# Line-level only
line_ds = ds.filter(lambda x: x["level"] == "line")

Intended Use

  • Fine-tuning OCR models (TrOCR, PaddleOCR, EasyOCR) for Kazakh Cyrillic
  • Benchmarking OCR systems on Kazakh text
  • Pre-training visual text encoders for Kazakh

Limitations

  • Synthetic only — does not cover handwritten text, scanned documents, or scene text
  • Printed text on clean backgrounds — real-world documents may have more complex layouts
  • Font diversity limited to system fonts available at generation time

Related Work

  • KOHTD — Kazakh offline handwritten text dataset (3k exam papers, Cyrillic)
  • henrygagnier/kazakh-ocr — Synthetic benchmark for Arabic/Cyrillic/Latin Kazakh OCR evaluation

Citation

@dataset{darmm_ocr_kazakh_cyrillic_2026,
  author    = {Zhumabek, Rakhat},
  title     = {Darmm Kazakh Cyrillic OCR Dataset},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/Darmm/darmm-ocr-kazakh-cyrillic}
}

Maintainer

R3iwan — part of the Darmm project.

Downloads last month
83

Collection including Darmm/darmm-ocr-kazakh-cyrillic