docs: refresh project documentation#161
Conversation
There was a problem hiding this comment.
Code Review
This pull request comprehensively updates the documentation, examples, and configuration options across the workspace to support newer Vision-Language Models (VLMs) such as PaddleOCR-VL-1.6, MinerU2.5-Pro, and MinerU-Diffusion-V1. Key changes include the addition of a detailed Cargo features guide, new environment variables for VLM performance and debugging overrides, updated pre-trained model tables with precise file sizes, and revised example snippets that incorporate the download-binaries feature. Additionally, minor documentation refinements were made to the core OCR builder methods. No review comments were provided, so there is no feedback to address.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Summary
oar-ocr-vlmodel lineup, native inference paths, environment variables, and runnable examplesWhy
The documentation had drifted from the current APIs and model registry. In particular, several VL commands omitted
download-binaries, external snippets relied on undeclared transitive dependencies, PP-OCRv3 and PP-OCRv6 asset mappings were incomplete, and a few predictor and formula-model descriptions overstated the implemented behavior.Impact
Users now get setup commands that work on a clean machine, accurate model and dictionary selections, complete feature guidance, and examples that match the current classic and VLM APIs. Existing acknowledgment descriptions are preserved.
Validation
cargo test --workspace --doccargo check --workspace --examplesRUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-depscargo check -p oar-ocr-vl --examples --no-default-features --features download-binariescargo check -p oar-ocr-vl --examples --no-default-features --features cuda,download-binariescargo test -p oar-ocr-core --features auto-download registry_cargo fmt --all --checkgit diff --check HEAD