Skip to content
 
 

Repository files navigation

  • 发布了到PIP上
  • 仅依赖无版本限制的 pyclipper, shapely, pillow
  • 仅打包了"models/ppocrv5/det/det.onnx" "models/ppocrv5/rec/rec.onnx"
pip install onnxocr-ppocrv5
model = ONNXPaddleOcr(use_angle_cls=False)

测试

pip install -r requirements-dev.txt
pytest
pytest -m "integration and not npu"
pytest -m "integration and npu"

默认的 pytest 命令只运行快速单元测试。集成测试会加载 OCR 模型和推理后端, 其中 npu 标记用于显式验证 OpenVINO NPU 路径。

About

基于PaddleOCR重构,并且脱离PaddlePaddle深度学习训练框架的轻量级OCR,推理速度超快 —— A lightweight OCR system based on PaddleOCR, decoupled from the PaddlePaddle deep learning training framework, with ultra-fast inference speed.

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages