New Tool Radar

AI PDF

How to Check Negative Amounts in OCR Output from a Scanned Document

Check whether OCR reads negative amounts shown in parentheses or with a minus sign, or drops the sign entirely.

Schematic illustration of a negative amounts check: run OCR, read the four amounts with their signs, and compare each sign with the printed page.

Accounts show negatives as (120.00) or -120.00, and OCR can drop the brackets or the minus sign, turning a credit into a charge. The check is to compare the sign on every negative amount with the printed page. This guide checks four amounts on one statement page.

Prerequisites

A scanned statement page with negative amounts and an OCR tool. Note whether the document uses parentheses or minus signs before starting.

Steps

1. Run OCR on the statement page

Run OCR on the page and save the text. Expected result: the four amounts become selectable text.

2. Read the four amounts with their signs

Read each amount with its sign from the OCR text. Expected result: two positives and two negatives, each with its sign shown.

3. Compare each sign with the printed page

Compare each OCR amount with the printed page. Expected result: the two negatives both appear in parentheses on the page and in the OCR text.

4. Record any amount whose sign OCR dropped

Record every amount where OCR lost the brackets or the minus sign. Expected result: a note that lists the errors or confirms all four matched.

Practice check: fictional statement page with two negative amounts

The table below is fictional practice material. It lists the four amounts and the sign each must carry.

Item As printed
Salary credit 1840.00
Refund (120.00)
Rent 950.00
Chargeback (45.60)

Expected result. all four OCR amounts match the printed page, including the two negatives shown in parentheses: refund (120.00) and chargeback (45.60).

Limits

  • A sign that survives OCR can still be lost when the text is copied into a spreadsheet, so check the signs again after import.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all