Observed since 20 Oct, 17:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A structured OCR pipeline designed for layout-aware text extraction from complex documents, combining preprocessing, column detection, region classification, PaddleOCR, and ordered OCR assembly.
This module provides layout-aware OCR as part of a larger media processing system.
abstract_ocr focuses on extraction:
Full system: https://github.com/AbstractEndeavors/abstract-media-intelligence
A structured OCR pipeline designed for layout-aware text extraction from complex documents, combining preprocessing, column detection, region classification, and ordered OCR assembly.
Built to handle:
This is not a simple OCR wrapper — it is a typed, multi-stage processing pipeline:
The system is designed for deterministic, reproducible extraction rather than heuristic text scraping.
PDF Input
↓
Slice / Decompose (images + text per page)
↓
OCR + Text Extraction (layout-aware engines)
↓
Metadata Generation
├─ summaries
├─ keywords
└─ descriptions
↓
Manifest Creation (per-page + per-document)
↓
HTML Generation
├─ PDF viewer pages
└─ gallery index pages
↓
Static Site Output (SEO-ready)
flowchart TD
A[Input Image / Page Image]
B[Preprocess\nDenoise + Binarize]
C[Layout Detection\nColumns + Header Cutoff]
D[Region Classification\nText / Figure / Caption]
E[Region OCR\nCrop + Tesseract]
F[Fallback OCR\nColumn-level OCR]
G[Reading Order Assembly]
H[Structured OCRResult\nBlocks + Raw Text + Layout]
A --> B --> C --> D --> E --> G --> H
D -->|No usable regions| F --> G
Layout Detection
Region Classification
Region-Level OCR
Reading Order Reconstruction
Typed Pipeline Execution
The pipeline is built around a step registry + type-safe execution chain:
Each step declares:
The pipeline validates compatibility before execution
Execution is explicit, deterministic, and observable
Example chain:
["preprocess", "detect_layout", "ocr_regions"]
Each step is independently replaceable and composable.
All intermediate results are structured dataclasses:
PageImagePreprocessedImageLayoutDetectionOCRResultNo ad-hoc dictionaries — ensures:
OCR is applied after structure is understood, not before.
This prevents:
If region detection fails:
Traditional OCR pipelines:
This system:
This module is designed to plug into:
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1.70 | 5 Jul 2026 | 30 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e7c4f70c8ccd2b42c38caa71d0972d01fbb9b3e4314e737151cb0b7cf2324aa6