mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-11-06 13:40:29 +00:00
a2ef97b349c430e434853c1777252779ab9b43e5
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]>
Languages
Python
65.5%
JavaScript
16.7%
Rust
10.6%
CSS
4.2%
HTML
1.8%
Other
1.2%