Five commits: page-marker multi-page grouping + party-aware naming, OCR enhancement chain for pale dot-matrix print, README update (personal aside removed), homelab CI with hard ruff/pytest gates + ruff.toml, and a leftover ruff fix. Verified locally: ruff clean, 134/134 tests pass.
Five commits: page-marker multi-page grouping + party-aware naming, OCR enhancement chain for pale dot-matrix print, README update (personal aside removed), homelab CI with hard ruff/pytest gates + ruff.toml, and a leftover ruff fix. Verified locally: ruff clean, 134/134 tests pass.
Consecutive captures whose printed PAGE X OF Y markers advance under the same total are grouped into one multi-page PDF, with duplicate pages keeping the better read. Naming gains doc-title/party components and a scan-date fallback so nothing lands in UNSORTED. Vision LLM default switches to minicpm-v (faster, fewer false blanks on dense mono pages).
OCR enhancement chain (illumination normalize, CLAHE, gamma darkening) now always runs before Tesseract, with a conditional 1.5x upscale for narrow crops. Adds printed doc-title and PAGE X OF Y marker extraction.
Adds .gitea/workflows/ci.yml (python-ci with tesseract + libgl for the OCR/opencv tests, plus gitleaks secret-scan) and ruff.toml (E4/E7/E9/F/I, line-length 120). Cleans up the remaining unused-variable findings so the lint gate is green.
The OCR integration tests self-skip without the tesseract binary. Debian's tesseract reads the synthetic receipt dates differently than the brew build (2023 -> 2028), so keep those tests local-only for now.
ilia
scheduled this pull request to auto merge when all checks succeed 2026-07-26 14:46:51 -05:00
ilia
merged commit 4be988093d into master2026-07-26 14:48:54 -05:00
ilia
deleted branch feature/grouping-ocr-ci2026-07-26 14:48:54 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Five commits: page-marker multi-page grouping + party-aware naming, OCR enhancement chain for pale dot-matrix print, README update (personal aside removed), homelab CI with hard ruff/pytest gates + ruff.toml, and a leftover ruff fix. Verified locally: ruff clean, 134/134 tests pass.