API Reference pdf_inspector_ex v#0.1.0

Copy Markdown View Source

Modules

Elixir bindings for the pdf-inspector PDF classification / markdown-extraction library (Rustler dirty-CPU NIFs over the shared ffi-core facade).

Result of PdfInspector.classify/1 (lightest routing entry).

Error payload of every PdfInspector function ({:error, %__MODULE__{}}).

Markdown of a single page (page is 0-indexed).

OCR reasons for a single page. The page numbering follows the parent struct: 1-indexed inside PdfInspector.Result / PdfInspector.PagesResult process-level lists.

Declarative routing pipeline DSL on top of PdfInspector: classify once, dispatch to a per-pdf_type strategy, aggregate.

Behaviour for OCR handoff modules used by the {:ocr, module} strategy.