Skip to content

feat(corpus): compare bounded Petersburg 1916 Russian OCR modes - #667

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

andy-zen-dev merged 6 commits into
masterfrom
scrip-petersburg-ocr-sample-651

Conversation

@andy-zen-dev

Copy link
Copy Markdown
Collaborator

Refs #651. Follow accepted #666 with a seven-physical-page sample on the exact frozen carrier. Compare Tesseract Russian PSM 3/6 at 300 DPI, record executable/model/raster/output hashes and source-free counts/edit distances, and accept optional local raster-bound reference transcriptions for CER/WER numerators and denominators. No references are uploaded; the hosted sample explicitly reports accuracy NOT_RUN/UNVERIFIED. Local carrier request failed DNS (curl 6); the web PDF was inaccessible. Do not equate inter-mode agreement with accuracy or infer whole-volume suitability. Preserve unbound v1 promotion contract, all corpus and parity holds. Offline regression and hosted exact-head replay required; later independent acceptance, no same-run merge.

Copy link
Copy Markdown
Collaborator Author

Local supplemental control (not the pinned book, not exact-head regression execution): Tesseract 5.5.0, rus model SHA-256 e16e5e036cce1d9ec2b00063cf8b54472625b9e14d893a169e2b0dedeb4df225, clean synthetic 1500×450 grayscale DejaVu Serif 52 px, 300 DPI, three lines at (45,40/140/240). Both PSM 3 and 6 returned 9/87 character edits, 7/17 whitespace-token edits, and zero of the reference's eight historical-letter code points. Fixture raster SHA-256 6b04c03b223528d03cdab02a1157fcad4a1c1a914963e474ac55b97807afd40c. This demonstrates why segmentation agreement is not accuracy; does not estimate the book's OCR error rate or select the model. Actual carrier local fetch failed curl 6, and manual scan reference verification remains NOT_RUN. Keep whole-volume OCR held until scan-checked references.

@andy-zen-dev
andy-zen-dev merged commit 9d7f52e into master Nov 28, 2026
33 checks passed
andy-zen-dev added a commit that referenced this pull request Nov 28, 2026
…etersburg rasters (#668)

Separate exact-head acceptance of f6f9e2f against 9d7f52e. All 26 PR workflows green; Reader 1770 tests and installed wheel checks, dedicated OCR 4 tests and actual seven-raster replay. Independently downloaded artifact 15262725233 (run 46141514808/job 140968274433); ZIP 2458 bytes SHA256 005a890a6c0be730f3b09fcb33db2e4a1f3835667e6363cc9494644f3af963ac, CRC OK; receipt SHA256 4eca2deb0ea9cea23b0025662f72c1d7aeb1aff37fdfb2ae65a499d1ffdec1d8. Cross-checked #667 artifact 15258681725: all seven raster and stock PSM6 raw-output hashes equal, same stock model and Tesseract identities. Iskra SHA256 cac59e7e4b8e29de87a1ab8c831c8abff5bfc4492f137adc3bd31ec9e8bf2a13. Canonical codepoints rus 10437 / orus 10440; orus emits 115 yat and 9 decimal i (124 total), rus zero, other tracked glyphs zero in both. Model disagreement 383 character and 310 word edits. These are output occurrences, not accuracy or retention; reference accuracy NOT_RUN. No body freeze/admission/rights/print/parity promotion. #651 remains open. Local checkout DNS failed; no local full suite claim. Next: independently transcribed region-matched scan reference, with crop geometry/hash and separate title/body scopes.
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