Commit 5fc20d7
Add tesseract-ocr.py CPU baseline; fix pp-ocrv6 inference_info key (#74)
- tesseract-ocr.py: Tesseract 5 baseline following the collection
contract (config PRs, inference_info with column_name/model_id,
same CLI surface). Installs the tesseract binary via apt at startup
(not in the default Jobs image); CPU-only, --lang/--psm/--oem
exposed, threaded workers. Smoke-tested locally: full OCR
round-trip on rendered text + real Britannica pages.
- pp-ocrv6.py: write column_name (the key ocr-bench column discovery
reads) alongside output_column — previously only the markdown-name
heuristic made discovery work, and a non-default --output-column
would have matched the pp_ocr_blocks JSON column instead.
- README: add tesseract row to the models table.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 7b819bb commit 5fc20d7
3 files changed
Lines changed: 651 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
704 | 707 | | |
705 | 708 | | |
706 | 709 | | |
| |||
0 commit comments