Matt McWilliams d444d47cc3 | ||
---|---|---|
extract | ||
ocr | ||
original | ||
NOTES_ON_OPTICAL_PRINTER_TECHNIQUE.md | ||
README.md | ||
compile.sh | ||
style.css |
README.md
NOTES ON OPTICAL PRINTER TECHNIQUE
Reproduction on the guide written by Dennis Couzin. Loses some of the charm of the photocopied original floating around the internet, but this reproduction is done for the sake of readability/searchability of the text.
Tesseract does a majority of the heavy lifting, making about a 85% transcription with minor changes needed to spelling and slightly more effort formatting it into markdown for rendering. Pre-processing using OpenCV and tuning tesseract for the typewritten font may produce even better text.
Preserving alternate spellings not created in the OCR process.
PDF Dependencies
- pandoc
bash compile.sh
Text extraction dependencies
- Python3.7
- OpenCV 2
- Tesseract
- PIL
- PyMuPDF
cd extract
python3 pdf.py > ../ocr/pdf_output.txt
python3 ocr.py > ../ocr/tesseract_output.txt