Overview
Firecrawl's pdf-inspector treats PDF ingestion as a page-level evidence problem: native parsing preserves font, geometry, and layout signals; quality checks distinguish trustworthy text from garbled or incomplete coverage; selective OCR adds visual evidence only where needed; fusion and provenance determine what can be published or escalated. The series moves from PDF internals through decoding, layout, routing, and deployment to a conditional policy. It supports defensible local Markdown, not universal completeness.
Learning outcomes
- Native parsing preserves positioned evidence, but readable output does not prove complete page coverage.
- Font decoding, geometry, and coverage are separate checks; strength on one cannot erase failure on another.
- Selective OCR should target affected pages or regions, then compare candidates instead of automatically replacing native text.
- Provenance and hosted escalation keep weak, incomplete, or unavailable local results from looking complete.
Keywords
Preview every chapter · Unlock full text, audio, and video from chapter 4
PlansFAQ
What does pdf-inspector actually do?
pdf-inspector classifies PDF pages, extracts native structure, reconstructs layout, and routes weak pages to selective OCR.
When should a PDF page use OCR?
A page should use OCR when native evidence is missing, garbled, vectorized, or visually incomplete; clean pages can stay native.
Can native PDF extraction prove that a page is complete?
No. Native extraction can report recovered structure and quality signals, but an unflagged result does not prove that every visible word was represented or correctly interpreted.
How should native text and OCR be combined?
Compare quality, overlap, confidence, and new coverage: keep stronger native text, fuse material additions, use OCR when native is rejected, and recommend hosted processing when both remain weak.