Scripts to do a high quality OCR of Thomas Shelton's translation of Don Quijote
https://spacecruft.org/books/quixote-shelton-ocr
- Python 100%
| src/shelton | ||
| .gitignore | ||
| CC-1.0-Universal.txt | ||
| CHANGELOG.txt | ||
| LICENSE-apache.txt | ||
| pyproject.toml | ||
| README.md | ||
OCR of Shelton's Quixote
This repository contains OCR scripts to process Thomas Shelton's translation of Don Quixote.
Status
- Download: working.
- Extract: working.
- Server: working.
- OCR: working.
- OCR Everything: working.
- Compare: TODO.
- Assemble: TODO.
Install
git clone https://spacecruft.org/books/quixote-shelton-ocr
cd quixote-shelton-ocr/
python -m venv venv
source venv/bin/activate
pip install -U setuptools pip wheel
pip install -e .
For development tools, also do:
pip install -e .[dev]
Scans
The scans come from The Internet Archive. Three copies of the same book are used for QA.
The text is from The Harvard Classics, volume 14.
- https://archive.org/details/harvardclassicsf0014char
- https://archive.org/details/harvardclassicsv0014edit_f6g1
- https://archive.org/details/harvardclassicsv037564mbp
These files are downloaded, two with JPEG2000, one with TIFF images.
- https://archive.org/download/harvardclassicsf0014char/harvardclassicsf0014char_jp2.zip
- https://archive.org/download/harvardclassicsv0014edit_f6g1/harvardclassicsv0014edit_f6g1_jp2.zip
- https://archive.org/download/harvardclassicsv037564mbp/harvardclassicsv037564mbp_tif.zip
Scripts
Run the scripts in this order:
shelton-download
shelton-extract
shelton-server
shelton-ocr
shelton-compare
shelton-assemble
License
The software is under the Apache 2.0 License.
Unofficial project, not related to upstream projects.
Copyright © 2025 Jeff Moe.
Upstream sources under their respective copyrights.
The resultant OCR text is placed in the public domain.
CC0 1.0 Universal
2025, Jeff Moe