Parsec OCR

Extraction Pipeline

Built for ledgers where a misplaced decimal is an outage.

Parsec OCR replaces brittle regex templates and ungrounded LLM prompts with a four-stage extraction engine anchored to page geometry and accounting identities.

STAGE 01

Layout & Grid Recovery

Detects skewed scans, nested column headers, rotated tables, and footnote anchors across 500-page filings without raster cropping.

300 DPI lossless geometry map
STAGE 02

Grammar-Guided Field Extraction

Compiles your TypeScript or Pydantic schema into a finite-state token grammar so malformed dates, missing keys, and hallucinated fields are structurally impossible.

100% valid JSON output guarantee
STAGE 03

Deterministic Ledger Validation

Runs configurable reconciliation assertions (Assets = Liabilities + Equity, invoice line sum = subtotal + tax) and routes exceptions to human review queues.

0.06% residual field discrepancy
STAGE 04

Audit-Ready Provenance

Returns immutable SHA-256 document hashes, page indices, and polygon coordinates for SOC 2 auditors and downstream ERP ingestion.

Zero-retention HIPAA / SOC 2 mode