Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

ppppocr-1.0.6-py3-none-any.whl (10.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page