Skip to main content

OCRmyPDF PaddleOCR

A plugin to use PaddleOCR as the OCR engine for OCRmyPDF, instead of Tesseract. PaddleOCR generally provides better accuracy, especially for CJK languages (Chinese, Japanese, Korean).

Unlike the EasyOCR plugin, this plugin does not require Tesseract for any operations.

Installation

pip install ocrmypdf-paddleocr

Usage

ocrmypdf --plugin ocrmypdf_paddleocr input.pdf output.pdf
ocrmypdf --plugin ocrmypdf_paddleocr -l kor input.pdf output.pdf

Or from Python:

import ocrmypdf

ocrmypdf.ocr('input.pdf', 'output.pdf', plugins=['ocrmypdf_paddleocr'])

Known limitations

  • The plugin forces jobs=1. PaddlePaddle's inference engine already uses all CPU cores internally, so parallel page processing would only cause contention

License

MPL-2.0

Metadata

Release files for ocrmypdf-paddleocr 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ocrmypdf-paddleocr 0.1.1
File Size Uploaded Provenance Actions
ocrmypdf_paddleocr-0.1.1.tar.gz 234.3 kB Without provenance Details for ocrmypdf_paddleocr-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ocrmypdf-paddleocr 0.1.1
File Interpreter ABI Platform Actions
ocrmypdf_paddleocr-0.1.1-py3-none-any.whl Python 3 none any Details for ocrmypdf_paddleocr-0.1.1-py3-none-any.whl

Total release size: 245.5 kB

Release files / ocrmypdf_paddleocr-0.1.1.tar.gz

Download URL ocrmypdf_paddleocr-0.1.1.tar.gz
Size 234.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6553166458e9b0a1d194af17a7d29a01a48d8f495206edcb050a5975547ca173
BLAKE2b-256 checksum
How to use checksums
17a3fb6b8ba12f54e53f836932d7639f3ffedcf967731e72fb05d48791a3de99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / ocrmypdf_paddleocr-0.1.1-py3-none-any.whl

Download URL ocrmypdf_paddleocr-0.1.1-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5756f5feccbd915ca775e93190540d33df552ca8a78d7797d3d138d1ba30cc58
BLAKE2b-256 checksum
How to use checksums
d4f9478aaf4734351a018eedb7314bb3478dbdd4c139ad1305a21775b77d1b78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for ocrmypdf-paddleocr 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page