bettersight-statement-extra.../app
JasonFraser 8ade2d3c5b Add standalone PaddleOCR benchmark - loses to Docling on the same image
app/paddleocr_client.py is a self-contained adapter (own column-resolution
logic, not imported from docling_client.py) that reshapes PP-StructureV3's
table output into the same canonical row format Docling's OCR path uses,
so it plugs into the real table_extract.rows_to_transactions/checks.run_all
pipeline unchanged - not just a raw-OCR-text comparison. Not wired into
reconcile.py or added to requirements.txt/Dockerfile; needs its own Python
3.11 venv (paddlepaddle has no wheel for the main app's Python version).

Run against docs/scan_test_page-1.png - the exact image Docling struggled
with - PP-StructureV3 did worse: its table HTML was more severely corrupted
(mismatched colspans, cell content from different rows jumbled together),
and while its best header-row candidate recovered status/date/credit/debit
correctly, the "Balance" column header was lost entirely with no recoverable
cell anywhere, one field short of usable. 0 transactions extracted, verified
through the real pipeline functions. See CLAUDE.md's "OCR / scanned
statements" section for full detail.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-11 16:11:05 -04:00
..
checks.py Route scanned/photographed statements through Docling OCR 2026-10-11 09:04:24 -04:00
docling_client.py Route scanned/photographed statements through Docling OCR 2026-10-11 09:04:24 -04:00
excel_export.py Initial commit: Phase 1 extraction, dual-engine checks, measurement harness 2026-10-11 07:56:19 -04:00
layout_rules.py Initial commit: Phase 1 extraction, dual-engine checks, measurement harness 2026-10-11 07:56:19 -04:00
main.py Initial commit: Phase 1 extraction, dual-engine checks, measurement harness 2026-10-11 07:56:19 -04:00
measure.py Initial commit: Phase 1 extraction, dual-engine checks, measurement harness 2026-10-11 07:56:19 -04:00
paddleocr_client.py Add standalone PaddleOCR benchmark - loses to Docling on the same image 2026-10-11 16:11:05 -04:00
pipeline.py Route scanned/photographed statements through Docling OCR 2026-10-11 09:04:24 -04:00
reconcile.py Route scanned/photographed statements through Docling OCR 2026-10-11 09:04:24 -04:00
table_extract.py Initial commit: Phase 1 extraction, dual-engine checks, measurement harness 2026-10-11 07:56:19 -04:00