GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pdf-parser/benchmark/eval/recorded_ocr at main · Tom-R-Main/pdf-parser

Expand file tree

/

recorded_ocr

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

recorded_ocr

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
jpx-mac-2026-11-01
jpx-mac-2026-11-01
 
 
README.md
README.md
 
 

README.md

Recorded external-OCR routing

Recorded external OCR is a separate, explicit downstream-routing gate:

zig build && zig build benchmark-eval
python3 -m unittest discover -s benchmark/eval -p 'test_recorded_ocr.py'
python3 benchmark/eval/recorded_ocr.py \
  --fixture benchmark/eval/recorded_ocr/jpx-mac-2026-11-01/fixture.json \
  --output benchmark/eval/outputs/recorded-ocr-run

The generic harness uses the existing executable seams, with dimension-only PNG headers and hash-verified recorded TSV. Its strict evaluator command loads the original corpus metadata (JPX: 1 OCR page, 4 table and 6 formula regions), without counter overrides. A changed, valid TSV must reach RouteCountMismatch; a corrupt TSV must fail provenance validation. Every command, result and provider invocation is retained in the report and logs.

The JPX fixture records one macOS Tesseract 5.5.2 / Poppler 26.02.0 capture at 300 DPI, PSM 11, grayscale, with model/PDF/TSV hashes and geometry in recorded_ocr/jpx-mac-2026-11-01/capture.json. The CLI uses that single attempt. The evaluator's default bounded retry receives an explicitly synthetic empty 200 DPI / PSM 6 primary followed by the exact captured 300 DPI / PSM 11 TSV. This controlled replay does not reconstruct historical retry selection, process pixels, qualify the recorded tools, or establish live Linux OCR route counts. Its report states live_ocr_qualified: false.

Live OCR remains independently checked by ocr_hard_document_quality.py and the CI adaptive-ocr job, using real Tesseract and rasterization with the existing semantic floors and pinned-version guards. A strict live corpus route mismatch remains a failure; replay never substitutes into that lane.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.