huolongshe 4329cfefb8 | 2 months ago | |
---|---|---|
app | 1 year ago | |
demo_data | 1 year ago | |
docs | 1 year ago | |
webapp | 1 year ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 2 months ago | |
application.yml | 1 year ago | |
build-docker.sh | 1 year ago | |
pack_model.py | 1 year ago | |
pip-install-reqs.sh | 1 year ago | |
requirements.txt | 10 months ago | |
run_model_server.py | 1 year ago |
使用OpenVino推理引擎直接调用飞桨PP-OCRv2模型来进行中文文本识别。与使用PaddlePaddle推理引擎相比性能提高很多,用CPU即可大致达到PaddlePaddle引擎GPU的性能,且打包后的Docker镜像体积大大缩小。
Instead of exporting the PaddlePaddle model to ONNX and then converting to the OpenVINO Intermediate Representation (OpenVINO IR) format with Model Optimizer, you can now read directly from the PaddlePaddle Model without any conversions. PaddleOCR is an ultra-light OCR model trained with PaddlePaddle deep learning framework, that aims to create multilingual and practical OCR tools.
The PaddleOCR pre-trained model used in the demo refers to the "Chinese and English ultra-lightweight PP-OCR model (9.4M)".
本模型基于 ServiceBoot微服务引擎 进行服务化封装,参见: 《CubeAI模型开发指南》
$ sh pip-install-reqs.sh
$ serviceboot start
或
$ python3 run_model_server.py
一键式本地容器化部署和运行,参见: 《CubeAI模型独立部署指南》 或 CubeAI Docker Builder
本模型服务可一键发布至 CubeAI智立方平台 进行共享和部署,参见: 《CubeAI模型发布指南》
本模型提供了1个API接口:
API接口1:
API端点: /api/data
HTTP方法: POST
HTTP请求体:
{
"action": "predict",
"args": {
"img": <压缩图像的base64编码字符串(或其Data URL表示)>
}
}
HTTP响应体:
{
"status": "ok"|"err",
"value": [识别结果文字列表, 识别结果文字坐标列表, 带文本框定的base64编码压缩图像URL]
}
No Description
Text Python TypeScript HTML Shell 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》