document-ocr

Extract structured text with confidence and coordinates from scanned documents.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/JustinChaney2023/orate --skill document-ocr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-ocr
Source: https://github.com/JustinChaney2023/orate/tree/main/roles/document-ocr
Command: npx skills add https://github.com/JustinChaney2023/orate --skill document-ocr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build an end-to-end OCR ingestion pipeline that converts scanned documents and images into structured, searchable text with per-token confidence and coordinates, simplifying data capture from forms and handwritten notes.

Core Features & Use Cases

  • OCR-driven ingestion: Import PDFs, images, and multi-page documents; normalize scans; detect and segment form regions.
  • Structured output: Produce text with bounding boxes and per-region mappings (e.g., headers, blocks, lines, checkboxes) and embed confidence data.
  • Use Case: Use this when digitizing handwritten forms or notepads to extract sections like Observations, Health/Emotional Status, Review of Services, Goals, Additional Notes, Follow-up Tasks, and Signature blocks for archival and analytics.

Quick Start

Run the pipeline on a sample document to generate ocr_output.json with the attached data structure, along with preprocess_pipeline.md and test_corpus_guidelines.md.

Frequently Asked Questions about document-ocr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured text from scanned PDFs using OCR?

OCR text extraction from scanned PDFs automates importing and normalizing document images, detecting regions, and outputting per-token text with confidence scores and bounding box coordinates.

Can OCR detect form regions and checkboxes in handwritten notes?

Yes, lightweight form-aware extraction detects and segments form regions like headers, blocks, lines, and checkboxes, enabling structured data capture from handwritten forms and notepads.

What output formats are generated by an automated OCR ingestion pipeline?

The OCR pipeline generates ocr_output.json containing structured text with per-region mappings, preprocess_pipeline.md detailing scan normalization, and test_corpus_guidelines.md for corpus evaluation.

How does OCR handle multi-page documents during text extraction?

Multi-page document OCR processing imports each page, normalizes scans, detects regions, and runs OCR sequentially to produce continuous structured text with per-token confidence and coordinates.

Does this OCR pipeline support per-token confidence scoring for quality checks?

Yes, the OCR pipeline performs quality checks and produces per-token text data that includes confidence scores and coordinates, ensuring reliable structured text extraction from images.

What is the best way to digitize handwritten forms for archival and analytics?

Digitizing handwritten forms uses OCR-driven ingestion to extract sections like Observations, Goals, and Signatures into structured text with bounding boxes, simplifying data capture for archives.