Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
jm12138 c66577dc97 | 2 years ago | |
---|---|---|
agentocr | 2 years ago | |
docs | 2 years ago | |
examples | 2 years ago | |
labeling | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
MANIFEST.in | 2 years ago | |
README.md | 2 years ago | |
requirements.txt | 2 years ago | |
setup.py | 2 years ago |
AgentOCR 是一个基于 PaddleOCR 和 ONNXRuntime 项目开发的一个使用简单、调用方便的 OCR 项目
本项目目前包含 Python Package 【AgentOCR】 和 OCR 标注软件 【AgentOCRLabeling】
Python Package:
快速安装:
# 安装 AgentOCR
$ pip install agentocr
# 根据设备平台安装合适版本的 ONNXRuntime
$ pip install onnxruntime
简单调用:
# 导入 OCRSystem 模块
from agentocr import OCRSystem
# 初始化 OCR 模型
ocr = OCRSystem(config='ch')
# 使用模型对图像进行 OCR 识别
results = ocr.ocr('test.jpg')
Jupyter Notebook:【快速使用】
更多安装使用细节请参考:【Package 使用指南】
语种 | 描述 | 缩写 | 语种 | 描述 | 缩写 | |
---|---|---|---|---|---|---|
中文 | chinese and english | ch | 保加利亚文 | Bulgarian | bg | |
英文 | english | en | 乌克兰文 | Ukranian | uk | |
法文 | french | fr | 白俄罗斯文 | Belarusian | be | |
德文 | german | german | 泰卢固文 | Telugu | te | |
日文 | japan | japan | 阿巴扎文 | Abaza | abq | |
韩文 | korean | korean | 泰米尔文 | Tamil | ta | |
中文繁体 | chinese traditional | cht | 南非荷兰文 | Afrikaans | af | |
意大利文 | Italian | it | 阿塞拜疆文 | Azerbaijani | az | |
西班牙文 | Spanish | es | 波斯尼亚文 | Bosnian | bs | |
葡萄牙文 | Portuguese | pt | 捷克文 | Czech | cs | |
俄罗斯文 | Russia | ru | 威尔士文 | Welsh | cy | |
阿拉伯文 | Arabic | ar | 丹麦文 | Danish | da | |
印地文 | Hindi | hi | 爱沙尼亚文 | Estonian | et | |
维吾尔 | Uyghur | ug | 爱尔兰文 | Irish | ga | |
波斯文 | Persian | fa | 克罗地亚文 | Croatian | hr | |
乌尔都文 | Urdu | ur | 匈牙利文 | Hungarian | hu | |
塞尔维亚文(latin) | Serbian(latin) | rs_latin | 印尼文 | Indonesian | id | |
欧西坦文 | Occitan | oc | 冰岛文 | Icelandic | is | |
马拉地文 | Marathi | mr | 库尔德文 | Kurdish | ku | |
尼泊尔文 | Nepali | ne | 立陶宛文 | Lithuanian | lt | |
塞尔维亚文(cyrillic) | Serbian(cyrillic) | rs_cyrillic | 拉脱维亚文 | Latvian | lv | |
毛利文 | Maori | mi | 达尔瓦文 | Dargwa | dar | |
马来文 | Malay | ms | 因古什文 | Ingush | inh | |
马耳他文 | Maltese | mt | 拉克文 | Lak | lbe | |
荷兰文 | Dutch | nl | 莱兹甘文 | Lezghian | lez | |
挪威文 | Norwegian | no | 塔巴萨兰文 | Tabassaran | tab | |
波兰文 | Polish | pl | 比尔哈文 | Bihari | bh | |
罗马尼亚文 | Romanian | ro | 迈蒂利文 | Maithili | mai | |
斯洛伐克文 | Slovak | sk | 昂加文 | Angika | ang | |
斯洛文尼亚文 | Slovenian | sl | 孟加拉文 | Bhojpuri | bho | |
阿尔巴尼亚文 | Albanian | sq | 摩揭陀文 | Magahi | mah | |
瑞典文 | Swedish | sv | 那格浦尔文 | Nagpur | sck | |
西瓦希里文 | Swahili | sw | 尼瓦尔文 | Newari | new | |
塔加洛文 | Tagalog | tl | 保加利亚文 | Goan Konkani | gom | |
土耳其文 | Turkish | tr | 沙特阿拉伯文 | Saudi Arabia | sa | |
乌兹别克文 | Uzbek | uz | 阿瓦尔文 | Avar | ava | |
越南文 | Vietnamese | vi | 阿瓦尔文 | Avar | ava | |
蒙古文 | Mongolian | mn | 阿迪赫文 | Adyghe | ady |
检测模型:
Model Name | Model Type | Pretrained Model |
---|---|---|
ch_ppocr_mobile_v2.0_det | det | Download |
ch_ppocr_server_v2.0_det | det | Download |
en_ppocr_mobile_v2.0_det | det | Download |
en_ppocr_mobile_v2.0_table_det | det | Download |
分类模型:
Model Name | Model Type | Pretrained Model |
---|---|---|
ch_ppocr_mobile_v2.0_cls | cls | Download |
识别模型:
Model Name | Model Type | Pretrained Model |
---|---|---|
ch_ppocr_mobile_v2.0_rec | rec | Download |
ch_ppocr_server_v2.0_rec | rec | Download |
ka_ppocr_mobile_v2.0_rec | rec | Download |
te_ppocr_mobile_v2.0_rec | rec | Download |
ta_ppocr_mobile_v2.0_rec | rec | Download |
cht_ppocr_mobile_v2.0_rec | rec | Download |
japan_ppocr_mobile_v2.0_rec | rec | Download |
latin_ppocr_mobile_v2.0_rec | rec | Download |
arabic_ppocr_mobile_v2.0_rec | rec | Download |
korean_ppocr_mobile_v2.0_rec | rec | Download |
french_ppocr_mobile_v2.0_rec | rec | Download |
german_ppocr_mobile_v2.0_rec | rec | Download |
cyrillic_ppocr_mobile_v2.0_rec | rec | Download |
en_ppocr_mobile_v2.0_table_rec | rec | Download |
en_ppocr_mobile_v2.0_number_rec | rec | Download |
devanagari_ppocr_mobile_v2.0_rec | rec | Download |
No Description
Python Text TypeScript Vue other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》