A scanned work order has a tick beside “Schedule a service visit,” an empty box beside “Request a loaner,” and a smudge over “Call before arrival.” If all three fields must be true or false, the person booking the visit may never see that the last answer needs a second look.
Checkbox extraction reads the selection mark and retains the part of the page that supports the reading. The state records what is visible. The form and the workflow determine what that state means.
Give each box one of three states
- Checked — the visible mark meets the form’s rules for a selection. Store the selected value and the region that shows the mark.
- Unchecked — the correct box is fully visible and clearly empty. Store the unselected value and save the region that shows the empty box.
- Illegible — a smudge, a crossing-out, or poor scan quality leaves the selection uncertain. Leave the value unset and send the region to a reviewer.
Check that the label belongs to the box before assigning a value. A tick beside “Do not call” selects a different instruction from a tick beside “Call.” In a group that asks the respondent to pick one option, several empty boxes may indicate an unanswered question. Preserve each observed state, then apply the group rule to decide whether the form is complete.
When the scan cuts off the expected box entirely, record the missing region and route the field for review or a rescan. An unchecked value requires a visible box. If part of the box survives the crop and the mark is unclear, keep the available crop as evidence for the unresolved field.
A fictional work order with three marks
On this example form, each row asks the dispatcher to act only when its option is selected. The data shape and confidence values are illustrative. Confidence describes the strength of the reading for the workflow, and the numbers below carry no API or accuracy guarantee.
| Printed option | Observed state | Value | Confidence | Region | Routing |
|---|---|---|---|---|---|
| Schedule a service visit | Checked | true | 0.98 | Page 1, service options, first row | Queue the visit. |
| Request a loaner | Unchecked | false | 0.96 | Page 1, service options, second row | Leave the loaner option unselected. |
| Call before arrival | Illegible | null | 0.42 | Page 1, service options, third row, smudged mark | Send the crop for review before finalizing the contact instruction. |
The reviewer opens the third-row crop with the label and the surrounding rows. If the mark is clear in the original scan, the reviewer records the resolved value. If it remains ambiguous, the dispatcher asks for confirmation before acting on it. Keep the original observation and the reviewer’s resolution so a later reader can tell how the value was established.
Test the record and the routing
Build a small set of known examples for each form revision. Include faint marks, crossed-out marks, fully visible empty boxes, and boxes cut off by the scanner. Confirm that each retained region opens the correct page at the correct row and that unresolved selections reach the review queue with their labels attached.
Then test the downstream rule. A blank field, an unchecked option, and a missing region may each trigger a different action. The ACORD form extraction guide describes testing across form editions, scans, checkboxes, and missing pages. The patient intake guide covers how an unanswered clinical question should be represented. For a work order, start with the form’s own instructions and the dispatcher’s decision for each state.
The Cogneris OCR API page documents preserving evidence around checkboxes and other selection marks so a reviewer can inspect the field without re-reading the full page. Use that evidence alongside the form’s rules when deciding where each record goes.
