# Optical Mark Recognition (OMR): OMR vs OCR and Structured Form Examples

> Optical mark recognition detects filled bubbles and checked boxes on forms. Learn how OMR differs from OCR and ICR, and how to turn checkbox forms into JSON.

Canonical: https://reducto.ai/guides/optical-mark-recognition

## The short answer

Optical mark recognition (OMR) detects whether a respondent has marked a predefined area on a form, such as a bubble on an answer sheet or a checkbox on an intake form. It does not read characters. The meaning of each mark comes from its position: the form layout tells the system that a filled bubble in row 12, column C means answer C to question 12.

That makes OMR a different task from optical character recognition (OCR), which reads printed text, and intelligent character recognition (ICR), which reads handwritten characters. Most real forms need all three: printed labels, handwritten names, and checkboxes. The useful design choice is to keep mark detection separate from interpretation, so that a double mark or an empty answer becomes a review decision instead of a silent guess.

## What OMR detects

An OMR system answers one question for each target area: is there a mark here or not? Typical targets include:

- **Bubbles** on exam answer sheets, ballots, and lottery slips.
- **Checkboxes** on surveys, intake forms, applications, and claim forms.
- **Shaded grids** used to encode IDs or dates one digit per column.

The system maps these marked or unmarked states to answer values, usually a CSV row or database record. Scoring an exam or tallying a ballot happens after detection.

## OMR vs OCR and ICR

<Table html={"<table>\n  <thead>\n    <tr><th scope=\"col\">Technology</th><th scope=\"col\">What it reads</th><th scope=\"col\">How it decides</th><th scope=\"col\">Typical output</th><th scope=\"col\">Common documents</th></tr>\n  </thead>\n  <tbody>\n    <tr><td>OMR</td><td>Bubbles, checkboxes, shaded areas</td><td>Presence of a mark at a known position</td><td>Marked or unmarked state per option</td><td>Answer sheets, ballots, surveys</td></tr>\n    <tr><td>OCR</td><td>Printed or typed text</td><td>Character and word shapes</td><td>Text strings</td><td>Invoices, contracts, statements</td></tr>\n    <tr><td>ICR</td><td>Handwritten characters</td><td>Learned handwriting models</td><td>Interpreted handwritten text</td><td>Handwritten form fields, addresses</td></tr>\n  </tbody>\n</table>"} />

The OMR vs OCR distinction matters when you choose tools. A pure OCR engine may return the label "Yes" next to a checkbox without saying whether the box was ticked. A pure OMR engine can tell you box 7 is filled but cannot read the handwritten name at the top of the page. For handwriting specifically, see [Best OCR for Handwriting Recognition](https://reducto.ai/guides/best-ocr-handwriting-recognition).

## Bubbles, checkboxes, and ambiguous marks

Clean marks are easy. The hard cases are the ones a reviewer would also pause on:

- **Double marks** on a single-choice question, such as both "Yes" and "No" ticked.
- **Erasures and corrections**, where one box is crossed out and another is marked.
- **Faint or partial marks**, light pencil, or a tick that strays outside the box.
- **Stray marks** from scanning noise, fax artefacts, or a pen resting on the page.

A detector should report what it sees. Whether a double mark is invalid, whether "None" overrides other symptoms, or whether an empty answer is allowed are business rules. Keep them in your own code, where they can be tested and audited.

## Hardware and software approaches

**Hardware OMR** uses a dedicated optical mark reader that shines light on pre-printed forms and measures reflectance at fixed positions. It suits centralized, high-volume scanning, but forms must follow strict printing and alignment specifications.

**Software OMR** works on images from ordinary scanners or phone cameras. Classic software OMR registers the page against a template and measures how much of each target area is filled. It is cheaper to deploy but still depends on a known layout.

**Model-based checkbox recognition** reads the page as a whole, using labels and layout rather than fixed coordinates. This approach handles forms that vary by sender, such as clinic intake forms, at the cost of the strict determinism of a template reader.

## Verified form extraction example

The example below uses a synthetic, one-page intake checklist we created as a PNG image. It contains a selected single-choice answer, a multi-select question, an ambiguous double mark on "Tobacco use", and an unanswered "Latex allergy" question.

The schema asks [Reducto Extract](https://docs.reducto.ai/extract/overview) for one boolean per box, so the model only reports marks. Interpretation happens afterwards in Python. Tested with the `reducto` Python SDK 0.27.0 and the r-1 parsing model.

```python
import json
from reducto import Reducto

client = Reducto()  # reads REDUCTO_API_KEY

def box(label):
    return {"type": "boolean",
            "description": f"True only if the '{label}' checkbox contains a mark; false if the box is empty."}

schema = {"type": "object", "properties": {
    "visit_type": {"type": "object", "properties": {
        "new_patient": box("New patient"), "follow_up": box("Follow-up"), "telehealth": box("Telehealth")}},
    "symptoms": {"type": "object", "properties": {
        "fever": box("Fever"), "cough": box("Cough"), "headache": box("Headache"), "none": box("None")}},
    "tobacco_use": {"type": "object", "description": "Question 3, Tobacco use",
                    "properties": {"yes": box("Yes"), "no": box("No")}},
    "latex_allergy": {"type": "object", "description": "Question 4, Latex allergy",
                      "properties": {"yes": box("Yes"), "no": box("No")}},
}}

upload = client.upload(file=open("synthetic_checkbox_form.png", "rb"))
result = client.extract.run(
    input=upload.file_id,
    instructions={"schema": schema},
    parsing={"settings": {"model": "r-1"}},
)
marks = result.result[0]
print(json.dumps(marks, indent=2))

for question in ["visit_type", "tobacco_use", "latex_allergy"]:
    selected = [option for option, marked in marks[question].items() if marked]
    if len(selected) == 1:
        print(f"{question}: {selected[0]}")
    elif not selected:
        print(f"{question}: unanswered")
    else:
        print(f"{question}: AMBIGUOUS {selected} -> human review")
print("symptoms:", [s for s, marked in marks["symptoms"].items() if marked])
```

Output from our run, condensed to two questions plus the interpretation step:

```text
  "tobacco_use": { "yes": true, "no": true },
  "latex_allergy": { "yes": false, "no": false }

visit_type: new_patient
tobacco_use: AMBIGUOUS ['yes', 'no'] -> human review
latex_allergy: unanswered
symptoms: ['fever', 'headache']
```

Extract reported both tobacco boxes as marked. It did not decide which answer the patient meant, and the routing rule flagged the record for review. Two runs returned the same values, but this is one synthetic page, not a benchmark, so test on your own forms.

Two practical notes. A boolean with no supporting value in the document can return `null`, so treat `null` as "not detected" in your rules. For review, turn on [citations](https://docs.reducto.ai/configs/extract/citations) to get the source page, bounding box, and confidence for each value. The [patient intake forms cookbook](https://reducto.ai/cookbooks/reducto-extract-patient-intake-forms) shows a different convention: an enum field that returns `null` when no option is checked.

## Where Reducto fits

Reducto is not a dedicated OMR scanner and does not score exams. It fits business forms where checkboxes sit next to printed text, handwriting, and tables, and layouts change by sender. [Parse](https://reducto.ai/parse) turns the document into structured content, and Extract maps it to your JSON schema. See [schema-based document extraction](https://reducto.ai/guides/schema-based-document-extraction) for schema design. You can try a form in [Reducto Studio](https://studio.reducto.ai) without writing code.

## Frequently asked questions

### Is OMR the same as OCR?

No. OCR reads characters and words. OMR detects whether a predefined area has been marked. Many form workflows need both.

### What is an optical mark reader?

An optical mark reader is dedicated scanning hardware that detects marks on pre-printed forms by measuring reflected light at known positions. Software OMR does the same job on scanned images.

### How should ambiguous checkbox marks be handled?

Capture each mark separately, then apply explicit rules: accept exactly one mark on a single-choice question, and send double marks, empty required answers, and low-confidence values to human review. See [human review for document automation](https://reducto.ai/guides/human-review-document-automation).
