Metadata-Version: 2.4
Name: onnxocr
Version: 1.0.0
Summary: A lightweight OCR system based on PaddleOCR
Author-email: jingsongliujing <45508593+jingsongliujing@users.noreply.github.com>
Maintainer-email: KumaTea <KumaTea@outlook.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/jingsongliujing/OnnxOCR
Project-URL: Repository, https://github.com/jingsongliujing/OnnxOCR
Project-URL: Issues, https://github.com/jingsongliujing/OnnxOCR/issues
Project-URL: Packaging, https://github.com/KumaTea/OnnxOCR
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: opencv-python-headless
Requires-Dist: onnxruntime
Requires-Dist: shapely
Requires-Dist: pyclipper
Requires-Dist: numpy<2.0.0
Requires-Dist: pillow
Dynamic: license-file

# [<img src="https://api.gitsponsors.com/api/badge/img?id=664003098" height="20">](https://api.gitsponsors.com/api/badge/link?p=psyU8QKLdPFIXL5mH9zMDyUyKCplzzjvGZmQGR1EP9XqeHTfZABshV11OQc8amwRrwoxzfcv9Jcx1B8EWgq5uTEi2GFhOBFpaDZvz5ehFbT4NTKnREOPdemaGeuSg+vUmNxlGcucvAUtn4AByFmHyQ==)
English | [简体中文](./Readme_cn.md) |
# If you find it useful, please give it a Star.
# ONNXOCR
#### Universal OCR, supporting inference in over 80 languages.
Version Update
The PPOCRv4 model converted to an ONNX model for inference achieves higher accuracy and performance, with the inference speed being 5 times faster than using the PaddlePaddle framework.

Advantages:
1. Independent from deep learning training frameworks, it is a general OCR that can be directly deployed.
2. In situations where computational power is limited and accuracy remains unchanged, the PaddleOCR is converted into an ONNX model, which has been reconstructed as an OCR model that can be deployed on computers with ARM architecture and x86 architecture.
4. On computers with equivalent performance, the inference speed has been accelerated by 4-5 times.


Effect Display


![Alt text](result_img/draw_ocr_1.jpg)

![Alt text](result_img/draw_ocr2.jpg)

![Alt text](result_img/draw_ocr3.jpg)

![Alt text](result_img/draw_ocr4.jpg)

![Alt text](result_img/draw_ocr5.jpg)





<div style="display: flex; justify-content: center; align-items: center;">
    <figure style="margin: 0 10px;">
        <img src="onnxocr/test_images/32e0869f54edcf90cc8e93b981f7235.jpg" width="200" />
        <figcaption style="text-align: center;">我的微信</figcaption>
    </figure>
    <figure style="margin: 0 10px;">
        <img src="onnxocr/test_images/QQ群.jpg" width="200" />
        <figcaption style="text-align: center;">QQ群</figcaption>
    </figure>
</div>


## 写在最后
我喜欢开源，喜欢AI技术，因为我认为开源和AI会为有需要的人带来方便和帮助，也会让这个世界变得更好。通过对这些项目的捐赠，您可以和我一道让AI为更多人带来温暖和美好。

I like open source and AI technology because I think open source and AI will bring convenience and help to people in need, and will also make the world a better place. By donating to these projects, you can join me in making AI bring warmth and beauty to more people.

支付宝或微信打赏 (Alipay reward or WeChat reward)¶
通过支付宝或者微信给作者打赏，请写好备注。 Give the me a reward through Alipay or WeChat.
<!-- ![alt text](onnxocr/test_images/weixin_pay.jpg)
![alt text](onnxocr/test_images/zhifubao_pay.jpg) -->







<div style="display: flex; justify-content: center; align-items: center;">
    <figure style="margin: 0 10px;">
        <img src="onnxocr/test_images/weixin_pay.jpg" width="200" />
        <figcaption style="text-align: center;"></figcaption>
    </figure>
    <figure style="margin: 0 10px;">
        <img src="onnxocr/test_images/zhifubao_pay.jpg" width="200" />
        <figcaption style="text-align: center;"></figcaption>
    </figure>
</div>

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=jingsongliujing/OnnxOCR&type=Date)](https://star-history.com/#jingsongliujing/OnnxOCR&Date)
