kat57-ocr-bench / README.md
tadad's picture
Publish validated Kat57 Tesseract smoke results
c34e92b verified
|
Raw History Blame Contribute Delete
2.4 kB
---
tags:
- ocr
- text-recognition
- tesseract
- uv-script
- generated
dataset_info:
config_name: tesseract
features:
- name: id
dtype: string
- name: drawer_id
dtype: string
- name: card_id
dtype: string
- name: image
dtype: image
- name: reference
dtype: string
- name: lines
list: string
- name: line_count
dtype: int32
- name: page_xml
dtype: string
- name: source_image
dtype: string
- name: markdown
dtype: string
- name: inference_info
dtype: string
splits:
- name: train
num_bytes: 169080298
num_examples: 50
download_size: 168912240
dataset_size: 169080298
configs:
- config_name: tesseract
data_files:
- split: train
path: tesseract/train-*
---
# Document OCR using Tesseract
This dataset contains OCR results from images in [tadad/kat57-ground-truth-smoke](https://huggingface.co/datasets/tadad/kat57-ground-truth-smoke) using [Tesseract](https://github.com/tesseract-ocr/tesseract), the classical open-source CPU OCR engine — a cheap, no-GPU baseline alongside the VLM OCR recipes.
## Processing Details
- **Source Dataset**: [tadad/kat57-ground-truth-smoke](https://huggingface.co/datasets/tadad/kat57-ground-truth-smoke)
- **Engine**: [Tesseract](https://github.com/tesseract-ocr/tesseract) `5.3.0`
- **Language(s)**: `eng`
- **Number of Samples**: 50
- **Processing Time**: 1.1 min
- **Processing Date**: 2026-09-03 18:39 UTC
### Configuration
- **Image Column**: `image`
- **Output Column**: `markdown`
- **Dataset Split**: `train`
- **Page Segmentation Mode (psm)**: 3
- **OCR Engine Mode (oem)**: 3
- **Workers**: 16
## Model Information
Tesseract is a classical (non-VLM) OCR engine:
- Runs on CPU — no GPU required
- v4+ uses an LSTM-based recognition engine
- 100+ languages via installable data packs
- Plain-text output (no markdown / table / formula structure)
- Apache-2.0 licensed
## Dataset Structure
The dataset contains all original columns plus:
- `markdown`: The recognised text (plain text)
- `inference_info`: JSON list tracking all OCR models applied to this dataset
## Reproduction
```bash
uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/tesseract-ocr.py \
tadad/kat57-ground-truth-smoke \
<output-dataset> \
--image-column image \
--lang eng \
--psm 3
```
Generated with [UV Scripts](https://huggingface.co/uv-scripts)