Skip to content

feat(corpus): evaluate OCR against exact private scan regions - #669

Merged
andy-zen-dev merged 4 commits into
masterfrom
scrip-petersburg-ocr-regions-651
Nov 28, 2026
Merged

andy-zen-dev merged 4 commits into
masterfrom
scrip-petersburg-ocr-regions-651

Conversation

@andy-zen-dev

Copy link
Copy Markdown
Collaborator

Refs #651. Follow merged #668 with a separate lossless 300 DPI grayscale PGM crop workflow. Bind both full raster and crop SHA-256, reject invalid/duplicate region identities before OCR, hold model inputs and segmentation identical (PSM 7 line / 6 block), and keep title control separate. Private reference text and crops stay local; public receipt has only source-free coordinates, identities and aligned errors/glyph counts. No pooling over potentially overlapping regions. Four focused regression tests added; local PDF retrieval failed DNS (curl 6), web PDF unavailable; real independent manual reference accuracy NOT_RUN. No whole-volume, body, admission or parity promotion. Require later exact-head review and actual CI.

@andy-zen-dev
andy-zen-dev merged commit ed8819b into master Nov 28, 2026
32 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