Reproduction of Dennis Couzin's 1983 work on optical printing. Derived from a scan in a PDF.
Go to file
Matt McWilliams f8ea1e3ae7 Abandon pretenses of building a PDF/A version of the document and go with what works. Add a requirements.txt file for the extraction tool. 2022-09-08 09:08:53 -04:00
extract Abandon pretenses of building a PDF/A version of the document and go with what works. Add a requirements.txt file for the extraction tool. 2022-09-08 09:08:53 -04:00
html Fix encoding errors in HTML build 2022-08-31 16:25:27 -04:00
img Added image_10 2022-08-19 14:31:27 -04:00
ocr Add extraction scripts and initial work on markdown 2022-07-26 13:38:38 -04:00
original Extract images to recreate with SVG 2022-08-03 15:59:16 -04:00
pdf Abandon pretenses of building a PDF/A version of the document and go with what works. Add a requirements.txt file for the extraction tool. 2022-09-08 09:08:53 -04:00
tmpl Build the handbook. Missing zinemaker step, but will later work out a bash script that builds the pages and automatically stitches a pdf for printing. 2022-08-31 16:26:18 -04:00
.gitignore Build the handbook. Missing zinemaker step, but will later work out a bash script that builds the pages and automatically stitches a pdf for printing. 2022-08-31 16:26:18 -04:00
NOTES_ON_OPTICAL_PRINTER_TECHNIQUE.md Build the handbook. Missing zinemaker step, but will later work out a bash script that builds the pages and automatically stitches a pdf for printing. 2022-08-31 16:26:18 -04:00
README.md No longer use showdown to build HTML, will still need to improve build process for that page, but are getting the tables correctly. Need to fix the underlining, but will use spans for now. 2022-08-02 16:27:53 -04:00
build_handbook.sh Build the handbook. Missing zinemaker step, but will later work out a bash script that builds the pages and automatically stitches a pdf for printing. 2022-08-31 16:26:18 -04:00
compile.sh Fix encoding errors in HTML build 2022-08-31 16:25:27 -04:00
compile_handbook.sh Build the handbook. Missing zinemaker step, but will later work out a bash script that builds the pages and automatically stitches a pdf for printing. 2022-08-31 16:26:18 -04:00
style.css No longer use showdown to build HTML, will still need to improve build process for that page, but are getting the tables correctly. Need to fix the underlining, but will use spans for now. 2022-08-02 16:27:53 -04:00

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 + HTML Dependencies

  • pandoc
  • wkhtmltopdf
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