# Firecrawl PDF Inspector 先判断 PDF 是否需要 OCR，再转 Markdown

> Firecrawl PDF Inspector（仓库名 pdf-inspector）是 Firecrawl 开源的一套本地 PDF 分类与文本提取工具。

## 关键信息

- 分类：AI 智能工具
- 支持平台：CLI
- 收费方式：开源免费
- 官网：https://firecrawl.github.io/pdf-inspector
- 源码仓库：https://github.com/firecrawl/pdf-inspector
- 标签：OCR、视频下载、字体、开源、CLI
- 收录日期：2026-08-18

## Firecrawl PDF 是什么

Firecrawl PDF Inspector（仓库名 pdf-inspector）是 Firecrawl 开源的一套本地 PDF 分类与文本提取工具。

Firecrawl PDF 目前支持 CLI，收费方式为「开源免费」。安装前建议先到官方渠道确认最新的系统要求与授权条款。

## 主要功能

- Smart classification — Detect TextBased, Scanned, ImageBased, or Mixed PDFs in ~10-50ms by sampling content streams. Returns a confidence score (0.0-1.0) and per-page OCR routing.
- Table detection — Dual-mode: rectangle-based detection from PDF drawing ops, plus heuristic detection from text alignment. Handles financial tables, footnotes, and continuation tables across pages.
- CID font support — ToUnicode CMap decoding for Type0/Identity-H fonts, UTF-16BE, UTF-8, and Latin-1 encodings.
- Multi-column layout — Automatic detection of newspaper-style columns, sequential reading order, and RTL text support.
- Encoding issue detection — Automatically flags broken font encodings so callers can fall back to OCR.
- Selective OCR — Rust, CLI, Python, and Node can render only pages that need OCR, run PP-OCRv6 Small locally, and preserve per-page provenance and hosted-fallback recommendations.
- Single document load — The document is parsed once and shared between detection and extraction, avoiding redundant I/O.
- Browser WebAssembly — Run the same Rust parser locally in browsers and Web Workers, with embedded CMaps and no server round trip.

> 功能介绍与安装命令摘录自项目官方 README，最新用法以官方文档为准。

---

网页版：https://aronshare.com/posts/11590/
发现线索：A姐分享 https://www.ahhhhfs.com/82072/
来源站点：AronShare 资源库（https://aronshare.com）
