Skip to content

Document revised OCR processing#4940

Merged
jamie-lemon merged 4 commits intomainfrom
ocr-doc-updates
Mar 20, 2026
Merged

Document revised OCR processing#4940
jamie-lemon merged 4 commits intomainfrom
ocr-doc-updates

Conversation

@JorjMcKie
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds/updates PyMuPDF4LLM documentation to describe the revised OCR plugin system and clarify OCR-related API behavior in the generated docs.

Changes:

  • Adds a new documentation page describing default OCR plugins, selection order, hybrid OCR workflow, and how to provide custom OCR functions.
  • Updates the PyMuPDF4LLM feature list to mention automatic OCR-benefit page detection and multiple OCR engines.
  • Updates API docs for force_ocr, ocr_dpi, and ocr_function to reflect default OCR engine/plugin behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
docs/pymupdf4llm/ocr-plugins.rst New page documenting OCR plugin options, selection logic, and customization.
docs/pymupdf4llm/index.rst Adds OCR-related capability to the feature list.
docs/pymupdf4llm/api.rst Clarifies OCR-related parameter documentation and defaults.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@JorjMcKie JorjMcKie requested a review from jamie-lemon March 14, 2026 16:55
JorjMcKie and others added 2 commits March 14, 2026 12:58
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jamie-lemon jamie-lemon merged commit fd62724 into main Mar 20, 2026
3 checks passed
@jamie-lemon jamie-lemon deleted the ocr-doc-updates branch March 20, 2026 15:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants