aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/redact.py
AgeCommit message (Collapse)AuthorFilesLines
2026-11-09tools: redact, codice fiscale survives OCR misreadsDanilo M.1-2/+8
Live check: a scanned codice fiscale read as NREMRCE0A01F205X (80 as E0) failed the strict layout and stayed visible. Any 16-character code mixing at least 3 letters and 3 digits is now blacked out. The tool description no longer promises these are always found and asks the model to list them in items on scans too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, OCR for images, scans and pictures in text pagesDanilo M.1-4/+84
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, review fixesDanilo M.1-18/+87
CropBox honoured, /Rotate page size from the render, letter-spaced text joined, valid IBAN/card found inside an absorbed match, more landline formats, read-only folder message, curly apostrophes, lowercase IBAN and codice fiscale. A rule match fully covered by an earlier one is not counted twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, text PDFs to a pixels-only redacted copyDanilo M.1-0/+199
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, PII detection over wordsDanilo M.1-0/+101
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>