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