Skip to main content

ppppocr

ppppocr 是一款自动识别图片中的文字的工具类,可以自动识别图片中的文字,非常容易调用~

本项目使用 PaddleOCR 的模型效果一级棒~

使用非常简单

pip install ppppocr

import ppppocr
ocr = ppppOcr() # ppppOcr(model="server", lang="cn") 服务端模型 , lang 语言:cn/en/japan/korean
image_path = r'test_images/det_images/ch_en_num.jpg'
dt_boxes, rec_res = ocr.ocr(image_path)
result = ocr.toText(rec_res) # 转换为文本

Metadata

Release files for ppppocr 1.0.6

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

Source distribution (sdist)

Source distribution for ppppocr 1.0.6
File Size Uploaded Provenance
ppppocr-1.0.6.tar.gz 10.5 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ppppocr 1.0.6
File Interpreter ABI Platform
ppppocr-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 MB

Release files / ppppocr-1.0.6.tar.gz

Download URL ppppocr-1.0.6.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a632ce84b572ed757326ef0ca011d64d10df27a3d532e0c4147ed91eed023c88
BLAKE2b-256 checksum
How to use checksums
e2e3a25922ccf47478b35256e9e81635b10b085d28c9d6401191ca3661e9ddb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.6

Release files / ppppocr-1.0.6-py3-none-any.whl

Download URL ppppocr-1.0.6-py3-none-any.whl
Size 10.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1a1d43227152a3ce794fc7451f616d9aba62ab87cc7f3b64b40f0b966d353467
BLAKE2b-256 checksum
How to use checksums
34204a7c34d340248ed270969111d611e0bde7ab32ae5e4599f81a6f0173c20d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.6

Security for ppppocr 1.0.6

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

1.0.6 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