Test recognition of stamps and annotations

13 March 2026

Several wooden and red-handled rubber stamps stand on a desk.
Illustrative photograph. Cropped and resized. Photo by Markus Spiske on Pexels. · Pexels License

Score the typed text, the stamp and the handwritten note separately. A page can have an accurate transcript of most of its words while the one amount the reviewer needs is hidden under a stamp.

Define the three targets before running OCR

Imagine a scan with a rectangular RECEIVED stamp over a typed line and a handwritten note in the margin. Prepare a permitted test copy. If an unstamped original exists, use it to establish the underlying text, but also record which characters a person can genuinely see in the stamped copy.

RegionExpected resultException route
Clear printed textMatch the reference words and critical identifiers.Inspect any differing character against the visible source.
Stamp and overlapping printIdentify the visible stamp separately and preserve which part of the typed line it obscures.If the underlying quantity cannot be read, request the original or clarification.
HandwritingRecord whether the workflow needs a transcript, a visible note for a reviewer, or only a flag that a note exists.Ask an authorised reader to check uncertain handwriting and mark any text they cannot resolve.

A system that recognises RECEIVED has not thereby recovered the obscured number. A plausible guess can be more dangerous than an explicit exception.

Test the original and a controlled variant

Where available, compare the same page before and after adding the harmless stamp. Freeze both copies and the expected regions. Inspect the rendered page, extracted text and reading order. Check that marginal text was not silently inserted into the middle of a typed amount or paragraph.

In a separate artificial occluded-line case, the OCR error table recorded three character edits while all four required search terms were found. Search success alone therefore missed some errors in that specific file. It supplies no handwriting or stamp recognition rate. Record the results by region and route unresolved business fields for review before they enter a downstream record.

Part of the OCR software for business: how to choose and test it guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).