PPOCR
Project description
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) # 转换为文本
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ppppocr-1.0.6.tar.gz
(10.5 MB
view details)
Built Distribution
ppppocr-1.0.6-py3-none-any.whl
(10.5 MB
view details)
File details
Details for the file ppppocr-1.0.6.tar.gz
.
File metadata
- Download URL: ppppocr-1.0.6.tar.gz
- Upload date:
- Size: 10.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a632ce84b572ed757326ef0ca011d64d10df27a3d532e0c4147ed91eed023c88 |
|
MD5 | da620adbbd278515218d507fc9c7c0e2 |
|
BLAKE2b-256 | e2e3a25922ccf47478b35256e9e81635b10b085d28c9d6401191ca3661e9ddb4 |
File details
Details for the file ppppocr-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: ppppocr-1.0.6-py3-none-any.whl
- Upload date:
- Size: 10.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a1d43227152a3ce794fc7451f616d9aba62ab87cc7f3b64b40f0b966d353467 |
|
MD5 | 0be1ba1d9d7115cbf8b8ad1a422bc4ab |
|
BLAKE2b-256 | 34204a7c34d340248ed270969111d611e0bde7ab32ae5e4599f81a6f0173c20d |