Prompt

I'm trying to parse scanned forms and the OCR quality is bad

Technology / Data Infrastructure2 observationsLast seen Nov 10, 2026

Latest observation

Nov 10, 2026OpenAI APIWeb search: off

Bad OCR on scanned forms is usually a document quality + preprocessing + OCR engine/tuning problem. A good pipeline is:

  1. Fix the image first
  2. Use OCR suited for forms
  3. Post-process and validate with form structure

1) Improve the scan/image

If the source is poor, OCR will struggle no matter what.

  • Target resolution: 300 DPI minimum, 400+ DPI if possible
  • Deskew: straighten tilted pages
  • Denoise: remove speckles / fax noise
  • Increase contrast: especially for faint text
  • Binarize carefully: thresholding can help, but sometimes hurts if text is light
  • Crop margins / black borders
  • Remove background artifacts: shadows, bleed-through, gridlines if they interfere
  • Deblur if possible: mild sharpening only; aggressive sharpening creates artifacts

2) Use the right OCR approach for forms

Forms are not plain text pages.

Options:

  • Tesseract: decent baseline, but can be weak on messy scans
  • EasyOCR / PaddleOCR: often better on real-world scans
  • Cloud OCR:
    • Google Document AI / Vision
    • Azure Form Recognizer / Document Intelligence
    • AWS Textract

These are often much better for structured forms because they detect:

  • text
  • boxes
  • tables
  • key-value fields
  • layout

3) Tune OCR for forms

If you use Tesseract or similar:

  • Use the right page segmentation mode (PSM):
    • psm 6 for a block of text
    • psm 11 for sparse text
    • psm 4 for columns
  • Try different OCR engines / languages
  • Restrict character sets for known fields:
    • digits only
    • uppercase only
    • date patterns
  • OCR each field separately instead of the whole page when possible

4) Exploit form layout

For scanned forms, the best strategy is often:

  • Detect the form template
  • Locate each field region
  • OCR only the field region
  • Use rules to validate the result

Example:

  • date field → expected format MM/DD/YYYY
  • ID field → numeric only
  • checkbox → detect filled vs empty, not OCR

5) Use post-processing

After OCR:

  • Spell-correct against a domain dictionary
  • Normalize common OCR confusions:
    • O ↔ 0
    • I ↔ 1
    • S ↔ 5
    • B ↔ 8
  • Use regex validation for dates, phone numbers, IDs
  • Compare against known context if available

6) If forms are fixed-layout, use template matching

If all forms come from the same template:

  • Register the scanned page to a reference template
  • Map field coordinates
  • OCR each field area separately This often gives a big accuracy boost.

7) If OCR is very bad, consider training / fine-tuning

If your forms are consistent and OCR keeps failing:

  • Train a custom OCR model
  • Or use a model trained on your document type
  • Some tools support custom extractors for specific forms

Practical recommendation

If you want the fastest improvement:

  1. Scan at 300+ DPI
  2. Deskew + denoise + contrast normalize
  3. Use PaddleOCR or Google/Azure/AWS form OCR
  4. Extract fields by coordinates/template
  5. Add regex + dictionary validation

If you want, I can help you build a Python preprocessing + OCR pipeline for scanned forms, or suggest the best OCR tool depending on whether your forms are fixed-layout or variable-layout.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (2 observations for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.