Alex-GilbertandClaude Opus 4.6 8b5511e7fd feat: add detect_font_masked for redaction-aware font detection
Adds a new detect_font_masked() function that masks redaction boxes to
white (255) before running pixel-based font detection on the full line
crop. This replaces the fragile approach of cropping just the left/right
portion of a line, which lost signal from narrow crops and coordinate
mismatches. The Dice-based scoring naturally ignores masked (white)
regions since they contain no ink pixels.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-17 15:26:14 -06:00
2026-02-16 14:05:15 -06:00
S
Description
No description provided
MIT
6.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 65.5%
JavaScript 16.7%
Rust 10.6%
CSS 4.2%
HTML 1.8%
Other 1.2%