PDF-Inspector icon
PDF-Inspector icon

PDF-Inspector

 Like

Fast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

GitHub

  • GitHub stars: 20k

Platforms

  • Python
  • JavaScript
  • Typescript
  • Rust
  • npm
0likes
0articles
Save

Features

Highlights All activities

PDF-Inspector News & Activities

Recent activities

PDF-Inspector information

GitHub repository

  •  20,048 Stars
  •  1,367 Forks
  •  268 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
PDF-Inspector was added to AlternativeTo by xn ax on and this page was last updated .

No comments or reviews, maybe you want to be first?

What is PDF-Inspector?

Fast PDF classification and region-based text extraction for Node.js/Bun. Native Rust performance via napi-rs.

Built by Firecrawl for hybrid OCR pipelines — extract text from PDF structure where possible, fall back to OCR only when needed. Features

  • Smart classification — text-based / scanned / image-based / mixed in ~10–50ms, with a confidence score and per-page OCR routing.
  • Region-based extraction — pull text from bounding boxes with per-region quality checks (needsOcr).
  • Layout-aware — multi-column reading order, position and font info per text item, RTL support.
  • Robust text decoding — CID/Type0 fonts via ToUnicode CMaps, plus automatic flagging of broken encodings so callers can fall back to OCR.
  • Selective OCR — Auto routes only pages rejected by native extraction and returns source/model provenance plus hosted-fallback recommendations.
  • External artifacts — the native package embeds no OCR models, PDFium, or ONNX Runtime; clean Auto requests never load or download them.