Skip to content
Hacker News · AI· Null3351·· 8 hours agoSelectedAI score66

Open-source agent skill scan-to-vector: Reconstructing scanned documents into vector PDFs

Show HN: Scan-to-vector – rebuild scanned pages as vector PDFs with an AI agent

AI guide

Designed for Claude Code and Codex, scan-to-vector is an agent skill that reconstructs scanned books, manuals, and diagrams into high-resolution PDFs featuring vector graphics and searchable text. Combining local scripts with OCR, the tool redraws line art and diagrams as vector paths and conducts page-by-page outline verification against the original scans. In test sets, the skill boosted Haiku 5.5's long-document score from 0.841 to 0.997 and cut Sonnet 5.5's execution time by 37%.

Why it matters

Leveraging pixel-level coordinate measurements and page-by-page verification mechanisms, the project demonstrates how AI agents can accurately reconstruct complex scanned layouts without pixel blur.

Source:Hacker News · AI · github.com