CoolFace
Datasetpublic

AlbertoChestnut/telugu-ocr

Telugu OCR Dataset A corpus of aligned scanned page images and human-transcribed Telugu text, sourced from Telugu Wikisource. Built for OCR model training and evaluation. Stats Total page pairs ~25,565 Books 221 Total size ~11 GB License CC BY-SA 4.0 Dataset Structure dataset/ <book_title>/ page_0001.jpg ← scan image page_0001.txt ← transcribed Telugu text (UTF-8) page_0004.jpg page_0004.txt ...… See the full description on the dataset page: https://huggingface.co/datasets/AlbertoChestnut/telugu-ocr.

sourceHugging Facecc-by-sa-4.0updated 4mo agoView on Hugging Face
0likes3downloads
Dataset Card

Telugu OCR Dataset

A corpus of aligned scanned page images and human-transcribed Telugu text, sourced from Telugu Wikisource. Built for OCR model training and evaluation.

Stats

Total page pairs~25,565
Books221
Total size~11 GB
LicenseCC BY-SA 4.0

Dataset Structure

dataset/
  <book_title>/
    page_0001.jpg   ← scan image
    page_0001.txt   ← transcribed Telugu text (UTF-8)
    page_0004.jpg
    page_0004.txt
    ...
    meta.json       ← per-book metadata
corpus_profile.json ← index of all books with quality and curation details
curation_decisions.json ← approved/excluded status for every book in the manifest

Page numbers are not always consecutive — gaps indicate pages with no transcription available.


corpus_profile.json

Top-level file. One JSON object per book covering every book in the original manifest (including excluded ones).

FieldTypeDescription
index_titlestringWikisource index page title (unique identifier)
filenamestringOriginal PDF filename on Wikimedia Commons
page_countintTotal scan pages in the source PDF
mime_typestringMIME type of source file (usually application/pdf)
size_mbfloatSource file size in MB
telugu_ratiofloatFraction of non-whitespace, non-digit characters in the Telugu Unicode block (ఀ–౿), sampled from 3 evenly-spaced pages
telugu_pctfloattelugu_ratio as a percentage
no_transcriptionsbooltrue if no transcribed pages were found on Wikisource
quality_samplesint[]ProofreadPage quality levels from sampled pages (see Quality Levels below)
quality_avgfloatMean of quality_samples
quality_labelstringHuman-readable label for round(quality_avg)
decisionstring"approved" or "excluded"
exclusion_reasonstringWhy the book was excluded (empty if approved)
decided_atstringISO 8601 timestamp of the curation decision
auto_decisionbooltrue if decided automatically by the pipeline
profiled_atstringISO 8601 timestamp of language profiling

Approved books pass all three criteria: ≥ 80% Telugu script ratio, ≥ 50 scan pages, and at least one transcribed page.


dataset/\<book\>/meta.json

One file per book directory. Describes what was actually downloaded.

FieldTypeDescription
statusstring"done" if completed successfully
savedintNumber of page pairs (image + text) saved
total_pagesintTotal scan pages in the source PDF
filenamestringOriginal PDF filename
pagesobjectMap of "page_number" → { "quality": int } for every downloaded page

The pages object contains only pages that have both an image and a transcription. Pages missing from this map either had no transcription or failed to download.


Quality Levels

From the Wikisource ProofreadPage extension:

LevelLabelMeaning
0no_textBlank or image-only page
1not_proofreadTranscription exists but has not been reviewed
2problematicFlagged as having errors
3human_proofreadReviewed and corrected by a human editor
4validatedReviewed and validated by a second human editor

Levels 3 and 4 are the most reliable ground truth for OCR evaluation.


Source & License

All text transcriptions and original book scans are from Telugu Wikisource and are licensed under CC BY-SA 4.0. Attribution: Telugu Wikisource contributors.


Author

Alberto J. Chestnut Contact: data@chest.nu


Citation

If you use this dataset, please cite:

bibtex
@dataset{chestnut2026telugu,
  author    = {Chestnut, Alberto J.},
  title     = {Telugu OCR Dataset},
  year      = {2026},
  publisher = {Hugging Face},
  note      = {Sourced from Telugu Wikisource (CC BY-SA 4.0)},
  url       = {https://huggingface.co/datasets/AlbertoChestnut/telugu-ocr},
  doi       = { 10.57967/hf/9079 }

}
AlbertoChestnut/telugu-ocr · CoolFace