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 hashes)
Built Distribution
ppppocr-1.0.6-py3-none-any.whl
(10.5 MB
view hashes)