
A scanned PDF needs OCR and a real redaction, not a marker. A scan is an image until OCR adds a text layer. Covering the image with a rectangle leaves the text layer, the original pixels and often the OCR output intact. True redaction changes the pixels and the text.
Part of hard PDF redaction cases. For the adjacent case, read remove metadata from pdf and redact password protected pdf.
What changes with this format
Deskew and clean the scan, run OCR, locate the identifiers, replace the image region and rebuild the text layer. Keep the OCR confidence and flag low-confidence spans for a person.
Where the data hides
The page is only one layer. In this format, check:
- Handwriting and signatures
- Stamps and marginal notes
- The OCR text layer
- Image metadata and thumbnails
- Pages photographed at an angle
The redaction flow
- Inspect the scan and the OCR quality.
- Mark the identifiers on the image.
- Replace the pixels, not just overlay them.
- Rebuild or remove the text layer.
- Verify by search and copy/paste.
Controls to verify
- A deskew and resolution check before OCR.
- A confidence threshold with a review queue.
- Pixel-level removal, not an annotation.
- Text-layer verification after export.
- A sample of handwriting and stamps reviewed by a person.
Retention and evidence
Keep the original scan, the OCR output and the redacted file under the same retention decision. The OCR sidecar can contain the removed values even if the image is clean. Delete it or protect it.
Limits
OCR is imperfect on handwriting, stamps, low resolution and unusual fonts. Redacting an image can leave a shadow or a recoverable layer if the export is wrong. The text layer may still contain the value after a visual cover.
How Veilbrook fits
Veilbrook runs OCR, finds candidates, masks the image and the text layer, then runs a second pass. Low-confidence spans are flagged for review rather than silently accepted.
What to ask before you build
- Does the tool keep an OCR sidecar?
- Is the redaction applied to pixels?
- How are low-confidence spans flagged?
- Does the output preserve the page layout?
- Can the text layer be searched after export?
What good looks like
A good redaction is boring: the document still serves its purpose, the identifiers are gone, the report matches the output, and a second person can repeat the check. The output opens in the recipient’s tool, the masked areas do not paste back, and the original is kept under a retention rule that someone owns.
Before you release
Open the output in the same tool the recipient will use. Select each masked area and paste it into a text editor. Search for every value you removed, including the header, the attachment, the comment and the OCR layer. Compare the report with the file and keep both. If a value survives, the job is not done.
Common mistakes
- Covering text instead of replacing it.
- Checking the body but not the header or the attachment.
- Treating a successful export as a reviewed file.
- Calling a masked document anonymous.
- Leaving the original in a shared folder.