Skip to content

docs: add OCR routing guide - #263

Open
aldeniaalexandra wants to merge 1 commit into
firecrawl:mainfrom
aldeniaalexandra:docs/ocr-routing-guide
Open

docs: add OCR routing guide#263
aldeniaalexandra wants to merge 1 commit into
firecrawl:mainfrom
aldeniaalexandra:docs/ocr-routing-guide

Conversation

@aldeniaalexandra

@aldeniaalexandra aldeniaalexandra commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • Add a dedicated OCR routing guide for common PDF classification results.
  • Document confidence guidance, page-level routing, and fallback behavior.
  • Add Rust, Python, Node.js, and WebAssembly examples.
  • Link the guide from the main README.

Validation

  • Verified the guide against the current Rust, Python, Node.js, and WASM APIs.
  • git diff --check passes.
  • Documentation structure and internal links were checked.

Closes #254


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Add an OCR routing guide that shows how to use classifier signals (pdf_type, confidence, and page-level data) to decide when to run OCR and which pages to send. The guide covers recommended thresholds, 0- vs 1-indexed pages, per-page reasons, and fallback behavior, with examples for Rust, Python, Node.js, and WebAssembly; linked from the README.

Written for commit 240afbd. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OCR routing decision guide with recommended confidence thresholds and examples

1 participant