mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-10-27 08:40:29 +00:00
Replace OCR-based offset calculation with pixel alignment that slides rendered text across the page image to find the exact position with maximum Dice overlap. Also fix char filtering to use center-point (c.x + c.w/2) instead of right-edge, recovering characters like "nt" in "Sent" that partially overlap the redaction box. Co-Authored-By: Claude Opus 4.6 <[email protected]>