Repolode
firecrawl

firecrawl/pdf-inspector

Rust library and CLI that detects whether a PDF is text-based or scanned and converts text-based PDFs to clean Markdown without OCR.

대체할 수 있는 제품:Adobe Acrobat

스타
19,687
포크
1,333
열린 이슈
250
마지막 커밋
12일 전

어떤 프로젝트인가요?

pdf-inspector is a Rust library for PDF classification and text extraction. It samples content streams to decide whether a document is TextBased, Scanned, ImageBased, or Mixed, and reports a confidence score along with the specific pages that lack text. Text-based PDFs can be extracted locally with position-aware text, multi-column reading order, and Markdown output that includes headings, lists, code blocks, and tables.

The main use is routing: documents that already contain text can skip expensive OCR services, while only pages that need OCR are sent to it. Native Rust and CLI users can opt into selective OCR using PDFium and ONNX Runtime, which are installed separately. Bindings are available for Python, Node.js, and browser WebAssembly, and the default Rust and WASM builds run pure extraction.

핵심 기능

  • 01Classifies PDFs as text-based, scanned, image-based, or mixed with a confidence score.
  • 02Extracts text with font info, coordinates, and multi-column reading order.
  • 03Converts pages to Markdown with headings, lists, code blocks, and tables.
  • 04Detects rectangle-based and heuristic tables, including tables continued across pages.
  • 05Runs selective OCR only on pages that need it, with PDFium and ONNX Runtime installed separately.
  • 06Provides Python, Node.js, and browser WebAssembly bindings alongside the CLI tools pdf2md and detect-pdf.

활용 사례

  • Routing a document pipeline so text-based PDFs skip OCR and scanned pages are sent to it.
  • Converting reports, research papers, invoices, or financial statements into structured Markdown.
  • Running PDF text extraction in a browser without a server round trip.
  • Batch-processing large PDF collections by sampling pages to classify them quickly.

토픽

자주 묻는 질문

pdf-inspector은(는) 무엇인가요?
Rust library and CLI that detects whether a PDF is text-based or scanned and converts text-based PDFs to clean Markdown without OCR. pdf-inspector is a Rust library for PDF classification and text extraction. It samples content streams to decide whether a document is TextBased, Scanned, ImageBased, or Mixed, and reports a confidence score along with the specific pages that lack text. Text-based PDFs can be extracted locally with position-aware text, multi-column reading order, and Markdown output that includes headings, lists, code blocks, and tables.
pdf-inspector은(는) 무료로 사용할 수 있나요? 라이선스는 무엇인가요?
pdf-inspector은(는) MIT 라이선스의 오픈소스입니다. 상업용 제품에 사용하기 전에 라이선스 조건을 확인하세요.
pdf-inspector은(는) 아직 유지보수되고 있나요?
활발히 유지보수 중. pdf-inspector의 마지막 커밋은 2026년 10월 7일입니다.
pdf-inspector은(는) 어디에 사용할 수 있나요?
Routing a document pipeline so text-based PDFs skip OCR and scanned pages are sent to it. Converting reports, research papers, invoices, or financial statements into structured Markdown. Running PDF text extraction in a browser without a server round trip. Batch-processing large PDF collections by sampling pages to classify them quickly.
pdf-inspector은(는) 어디서 받을 수 있나요?
소스 코드와 설치 방법은 GitHub에 있습니다: https://github.com/firecrawl/pdf-inspector

요약은 프로젝트 README를 바탕으로 AI가 작성했습니다. GitHub 통계는 매일 갱신됩니다.

관련 프로젝트