New Tool Radar

AI PDF

How to Extract Ticked and Unticked Checkbox States from a Scanned Form PDF

Extract the ticked and unticked checkbox states from a scanned form PDF so the answers can be used without retyping.

Schematic illustration of checkbox extraction: run OCR or Textract, list the six checkbox states, and check each box by eye.

Forms are lists of boxes, and the answers are which boxes are ticked. Amazon Textract returns selection elements with their status, and OCRmyPDF plus a manual check covers the rest. This guide extracts the states of six boxes from one form.

Prerequisites

A scanned form PDF and Textract or an OCR tool. Keep the form copy private when it names people.

Steps

1. Run the form through Textract or OCR

Send the form to Textract AnalyzeDocument with FORMS, or run OCR on it. Expected result: the six checkbox labels become readable text.

2. List the six boxes with their states

Read the selection status for each box. Expected result: four boxes ticked and two unticked.

3. Check each box against the scan image

Look at each checkbox on the image and compare with the extracted state. Expected result: the image agrees on all six boxes.

4. Record the states in a table

Write the six boxes with their states into a table. Expected result: a table that lists all six boxes and their states.

Practice check: fictional application form, six checkboxes

The table below is fictional practice material. It lists the six boxes and the state each must show.

Checkbox State
Email updates Ticked
Paper copy Unticked
Text alerts Ticked
Share with team Ticked
Archive copy Unticked
Confirm reading Ticked

Expected result. four boxes are ticked and two are unticked: the paper copy and the archive copy boxes are unticked.

Limits

  • A faint tick can read as unticked and a smudge as ticked, so a checkbox that decides anything must be checked by eye on the image.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all