Skip to content

feat: complete the handwriting conversion workflow - #1

Merged
SimpleCaci merged 8 commits into
mainfrom
codex/portfolio-improvements
Jul 14, 2026
Merged

SimpleCaci merged 8 commits into
mainfrom
codex/portfolio-improvements

Conversation

@SimpleCaci

Copy link
Copy Markdown
Owner

Summary

  • Replace the hard-coded proof of concept with a complete multi-image handwriting-to-text and PDF command-line workflow.
  • Add reproducible runtime and development dependencies, deterministic tests, and GitHub Actions validation.
  • Remove the committed virtual environment, bytecode caches, and dead duplicate modules while preserving sample images and project notes.
  • Expand the README with honest setup, privacy, status, limitations, architecture, and roadmap documentation.

Progression

  • Previous state: one hard-coded Windows image path, blocking debug windows, no document export, no dependency manifest, and a 261 MB committed virtual environment.
  • New state: reusable local CLI that preprocesses one or more images, performs Tesseract OCR, and writes UTF-8 text plus a printable multipage PDF.
  • Next unlock: install Tesseract locally and compare recognition quality across the included handwriting samples before adding perspective correction or a desktop interface.

Verification

  • Dependency installation in an isolated environment
  • ruff check main.py tests — passed
  • pytest -q — 3 passed
  • CLI help/manual argument check
  • End-to-end OCR against the sample photos — Tesseract is not installed on the validation machine
  • Visual PDF review using real OCR output

Risks and Trade-offs

Tesseract recognition quality varies with handwriting, lighting, and camera angle. The pipeline remains fully local for privacy, but it does not yet perform automatic perspective correction or reproduce the page's exact visual layout.

Reviewer Focus

Please focus on the preprocessing defaults, CLI ergonomics, and whether the simple printable PDF layout matches the intended portable-printer workflow.

@SimpleCaci
SimpleCaci marked this pull request as ready for review July 14, 2026 09:04
@SimpleCaci
SimpleCaci merged commit 729e1cd into main Jul 14, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant