# LaTeX_OCR

- **ID:** 147
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/linxy/LaTeX_OCR
- **Authors:** linxy
- **Venue:** linxy
- **Published:** 2024
- **Source:** huggingface
- **Access:** free
- **License:** apache-2.0
- **License family:** Permissive (auto-classified)
- **Topics:** Code
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/147

## Summary

本数据仓库是专为 [LaTeX_OCR](https://github.com/LinXueyuanStdio/LaTeX_OCR) 及 [LaTeX_OCR_PRO](https://github.com/LinXueyuanStdio/LaTeX_OCR) 制作的数据，来源于 `https://zenodo.org/record/56198#.V2p0KTXT6eA` 以及 `https://www.isical.ac.in/~crohme/` 以及我们自己构建。

## Attributes

- **Purpose:** image-to-text
- **Scale:** 100K<n<1M
- **Time period:** created 2024-06-10; updated 2024-12-29
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** linxy/LaTeX_OCR (Hugging Face)
- **Created:** Jun 10, 2024 (Hugging Face)
- **Last updated:** Dec 29, 2024 (Hugging Face)
- **Downloads (last month):** 756 (Hugging Face)
- **Likes:** 181 (Hugging Face)
- **Size:** 100K to 1M rows (Hugging Face)
- **Modalities:** image, text (Hugging Face)
- **Tasks:** image-to-text (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** Across configs Hub lists ~268.8K rows (overlapping formula sets — do not add configs as unique n). full printed 76,318 train / 8,475 val / 9,443 test; synthetic_handwrite 76,266 / 9,565 / 9,593; human_handwrite 1,200 / 68 / 70; human_handwrite_print same counts; small 50 / 30 / 30. size_categories 100K<n<1M. Downloads ~38.3K likes ~181. full train parquet ~383 MB; synthetic_handwrite download ~616 MB.
- **Format:** Parquet per config/split with columns image (Image), text (string). Configs: default(=full train), full, synthetic_handwrite, human_handwrite, human_handwrite_print, small.
- **Type:** image-to-text formula OCR corpus (multi-config)
- **License:** Apache-2.0 (HF card). Upstream Zenodo/CROHME terms may still apply for redistribution — catalog both; not independently lawyered.
- **Cost:** Free
- **Languages:** LaTeX math tokens (language-agnostic). Card/README bilingual CN/EN documentation. Not LID-ed as natural language.
- **Modality:** Image + text (formula PNG/JPG ↔ LaTeX string)
- **Domain:** mathematical formula OCR; image-to-LaTeX; printed and handwritten equation recognition
- **Time period:** HF created 2024-06-10 lastModified 2024-12-29; Discord mid 1439770056413286420; upstream Zenodo/CROHME older
- **Purpose:** Provide printed, synthetic-handwritten, and human-handwritten formula image↔LaTeX pairs for training LaTeX OCR models
- **Used for:** LaTeX_OCR / LaTeX_OCR_PRO training; im2latex-style OCR; handwritten vs printed math recognition eval
- **Authors:** Packager linxy (LinXueyuanStdio). Upstream: Zenodo formula corpus (record 56198), CROHME handwriting, plus author-synthesized handwriting fonts over full formulas.
- **Bias:** STEM formula distribution from im2latex/Zenodo + CROHME contest handwriting; synthetic handwriting fonts may not match all real pen styles; AST filter removes unrenderable LaTeX (slight undercount vs raw ~100k claim)
- **Text quality:** Independently previewed full/train 0–2: coherent multi-line / inline LaTeX (metric ds^2; Hopf gamma sum; rho_L(q) sum). README claims AST validation. Residual: Chinese-primary README; exact Zenodo subset mapping not re-derived here.
- **Sample size:** See Scale per config. default config exposes full/train only (76,318). Prefer named config full or synthetic_handwrite for val/test.
- **Long context:** No (single formula images; LaTeX strings typically short–medium)
- **Intermediate steps:** Yes — upstream formulas → LaTeX AST filter → render print images; synthetic handwriting font overlay; CROHME human handwriting subset; paired print render for human_handwrite_print
- **Idea quality:** High
- **Novelty:** Medium (well-known LaTeX OCR packaging; convenient HF multi-config of Zenodo+CROHME+synthetic HW)
- **Text conversion:** Ready: load_dataset("linxy/LaTeX_OCR", name="full"|"synthetic_handwrite"|..., split=...). Viewer works.
- **Collection method:** Download / datasets.load_dataset
- **Static:** Yes (HF lastModified 2024-12-29; frozen packaging)
- **Processed:** Yes (AST-filtered, rendered/synthesized images, train/val/test splits)

## Links

- Dataset: https://huggingface.co/datasets/linxy/LaTeX_OCR
- Related: https://huggingface.co/datasets/linxy/LaTeX_OCR
- Related: https://github.com/LinXueyuanStdio/LaTeX_OCR
- Related: https://github.com/LinXueyuanStdio/Data-for-LaTeX_OCR
- Related: https://zenodo.org/record/56198
- Related: https://www.isical.ac.in/~crohme/

## Research notes

- downloads=606; likes=178
- Deep-eval from #data-source-dump mid=1439770056413286420. papers_local id 890. Do not sum config row totals as unique formulas. Cite linxy HF card + upstream Zenodo/CROHME as appropriate.

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
- [Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards](https://papers.projxon.ai/entries/1016) (paper, #1016)
- [CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code](https://papers.projxon.ai/entries/966) (paper, #966)
- [DeepSeek-OCR: Contexts Optical Compression](https://papers.projxon.ai/entries/940) (paper, #940)
