| Files | Last commit | Last update |
|---|---|---|
[Feat] Support PP-OCRv6 (#18104) * Fix bugs * Fix for python3.8 * Fix mcp server * Optimize * Fix bugs * Refactor * Fix MCP * Bump MCP to 0.8.1 * Fix bugs * Bump version to 0.8.2 * Fix bugs and update docs * Update docs and fix bugs * Fix bugs * update pp-ocrv6 * update pp-ocrv6 # Conflicts: # docs/version3.x/module_usage/text_detection.md # docs/version3.x/module_usage/text_recognition.md # docs/version3.x/pipeline_usage/OCR.md # paddleocr/_api_client/models.py # paddleocr/_pipelines/ocr.py * Bump paddleocr version * update PP-OCRv6 docs: add model metrics, fix sizes, update language count to 50 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * update PP-OCRv6: add model metrics/sizes to docs, support az/ku languages - Add PP-OCRv6 model precision, sizes, descriptions to doc tables - Add OCR pipeline introduction for PP-OCRv6 - Remove az/ku from unsupported latin langs (dict covers them) - Update language count: 48->50 (medium/small), 47->49 (tiny) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Change languages * Bump js version * add PP-OCRv6 English docs: algorithm doc + update model tables Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Use default model * Update doc * Update mcp docs * update PP-OCRv6 algorithm docs and mkdocs nav: sync speed table with paper Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Support more params * Fix MCP * update READMEs and index docs: PP-OCRv5 -> PP-OCRv6 features Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update sdk * Fix bugs * Fix unsaved * Bump versions * Fix bugs * updata readme --------- Co-authored-by: weixin_46524038 <weixin_46524038@noreply.gitcode.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: zhangyubo0722 <zhangyubo0722@163.com> | 4 months ago | |
feat: add multi-language API SDK (Python/Go/TypeScript) (#18049) * feat: add multi-language API SDK for PaddleOCR async API Add Python/Go/TypeScript SDKs that wrap the PaddleOCR async job API (submit → poll → fetch result) into simple blocking interfaces. Python SDK: - Integrated into paddleocr/_api_client/ as internal subpackage - APIClient (sync) + AsyncAPIClient (asyncio) dual interfaces - CLI subcommand: paddleocr api --model_type ocr/doc_parsing - Supports PP-OCRv5, PP-StructureV3, PaddleOCR-VL, PaddleOCR-VL-1.5 Go SDK (api_sdk/go/): - Zero dependencies (stdlib only) - Functional options pattern + context.Context cancellation - Operation object with Wait(ctx)/Poll(ctx) methods TypeScript SDK (api_sdk/typescript/): - Zero dependencies (native fetch, Node>=18) - AbortSignal cancellation support - ESM + CJS dual output All SDKs share: - Exponential backoff polling (3s initial, 1.5x, 15s max, configurable timeout) - Typed error hierarchy (Auth/API/JobFailed/Timeout/Network/FileNotFound) - URL and local file upload support - Convenience methods + manual control (submit/wait/poll) interfaces * fix: address PR review feedback - Rename PaddleOCRError to PaddleOCRAPIError across all three SDKs - Replace custom FileNotFoundError with Python builtin in Python SDK - Expand OCROptions/DocParsingOptions with all API parameters (Python/Go/TS) - CLI: use Model enum values instead of hardcoded strings - CLI: allow --model for both ocr and doc_parsing tasks - Update license header year to 2026 - Simplify TypeScript defaultPayload to empty object * fix: harden multi-language API SDK Co-authored-by: Cursor <cursoragent@cursor.com> * fix(sdk): jsonl fetch without auth, poll timeout, abort parity Co-authored-by: Cursor <cursoragent@cursor.com> * feat: harden PaddleOCR official API SDK Align Python, TypeScript, and Go SDKs around typed jobs, model-aware document parsing, request/poll timeouts, strict errors, resource saving, and integrated release docs for the PaddleOCR official API. Co-authored-by: Cursor <cursoragent@cursor.com> * feat: complete API SDK remediation and default doc parsing to PaddleOCR-VL-1.5 Consolidate SDK hardening, docs, tests, and cross-language default model behavior for document parsing. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix bugs * Fix bugs and optimize sdks * Fix bugs * Fix bugs * Update skills * Fix bugs * Update docs * Fix docs * Fix doc * Fix --------- Co-authored-by: Bobholamovic <bob1998425@hotmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> | 5 months ago | |
feat: add multi-language API SDK (Python/Go/TypeScript) (#18049) * feat: add multi-language API SDK for PaddleOCR async API Add Python/Go/TypeScript SDKs that wrap the PaddleOCR async job API (submit → poll → fetch result) into simple blocking interfaces. Python SDK: - Integrated into paddleocr/_api_client/ as internal subpackage - APIClient (sync) + AsyncAPIClient (asyncio) dual interfaces - CLI subcommand: paddleocr api --model_type ocr/doc_parsing - Supports PP-OCRv5, PP-StructureV3, PaddleOCR-VL, PaddleOCR-VL-1.5 Go SDK (api_sdk/go/): - Zero dependencies (stdlib only) - Functional options pattern + context.Context cancellation - Operation object with Wait(ctx)/Poll(ctx) methods TypeScript SDK (api_sdk/typescript/): - Zero dependencies (native fetch, Node>=18) - AbortSignal cancellation support - ESM + CJS dual output All SDKs share: - Exponential backoff polling (3s initial, 1.5x, 15s max, configurable timeout) - Typed error hierarchy (Auth/API/JobFailed/Timeout/Network/FileNotFound) - URL and local file upload support - Convenience methods + manual control (submit/wait/poll) interfaces * fix: address PR review feedback - Rename PaddleOCRError to PaddleOCRAPIError across all three SDKs - Replace custom FileNotFoundError with Python builtin in Python SDK - Expand OCROptions/DocParsingOptions with all API parameters (Python/Go/TS) - CLI: use Model enum values instead of hardcoded strings - CLI: allow --model for both ocr and doc_parsing tasks - Update license header year to 2026 - Simplify TypeScript defaultPayload to empty object * fix: harden multi-language API SDK Co-authored-by: Cursor <cursoragent@cursor.com> * fix(sdk): jsonl fetch without auth, poll timeout, abort parity Co-authored-by: Cursor <cursoragent@cursor.com> * feat: harden PaddleOCR official API SDK Align Python, TypeScript, and Go SDKs around typed jobs, model-aware document parsing, request/poll timeouts, strict errors, resource saving, and integrated release docs for the PaddleOCR official API. Co-authored-by: Cursor <cursoragent@cursor.com> * feat: complete API SDK remediation and default doc parsing to PaddleOCR-VL-1.5 Consolidate SDK hardening, docs, tests, and cross-language default model behavior for document parsing. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix bugs * Fix bugs and optimize sdks * Fix bugs * Fix bugs * Update skills * Fix bugs * Update docs * Fix docs * Fix doc * Fix --------- Co-authored-by: Bobholamovic <bob1998425@hotmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> | 5 months ago | |
[Feat] Support PP-OCRv6 (#18104) * Fix bugs * Fix for python3.8 * Fix mcp server * Optimize * Fix bugs * Refactor * Fix MCP * Bump MCP to 0.8.1 * Fix bugs * Bump version to 0.8.2 * Fix bugs and update docs * Update docs and fix bugs * Fix bugs * update pp-ocrv6 * update pp-ocrv6 # Conflicts: # docs/version3.x/module_usage/text_detection.md # docs/version3.x/module_usage/text_recognition.md # docs/version3.x/pipeline_usage/OCR.md # paddleocr/_api_client/models.py # paddleocr/_pipelines/ocr.py * Bump paddleocr version * update PP-OCRv6 docs: add model metrics, fix sizes, update language count to 50 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * update PP-OCRv6: add model metrics/sizes to docs, support az/ku languages - Add PP-OCRv6 model precision, sizes, descriptions to doc tables - Add OCR pipeline introduction for PP-OCRv6 - Remove az/ku from unsupported latin langs (dict covers them) - Update language count: 48->50 (medium/small), 47->49 (tiny) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Change languages * Bump js version * add PP-OCRv6 English docs: algorithm doc + update model tables Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Use default model * Update doc * Update mcp docs * update PP-OCRv6 algorithm docs and mkdocs nav: sync speed table with paper Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Support more params * Fix MCP * update READMEs and index docs: PP-OCRv5 -> PP-OCRv6 features Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update sdk * Fix bugs * Fix unsaved * Bump versions * Fix bugs * updata readme --------- Co-authored-by: weixin_46524038 <weixin_46524038@noreply.gitcode.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: zhangyubo0722 <zhangyubo0722@163.com> | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago |