mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-10-28 17:20:31 +00:00
Add _score_font_line_pixel() which renders candidate text and compares pixels against the actual page image using Dice coefficient overlap. This captures glyph shape differences that the old word-width MAE approach cannot distinguish (e.g. serif vs sans-serif). Co-Authored-By: Claude Opus 4.6 <[email protected]>