Giter Site home page Giter Site logo

zeyi-lin / paddleocr-online Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 1.0 69.84 MB

Visualize the PaddleOCR2PyTorch project online to make the PaddleOCR experience and deployment easier.

License: Apache License 2.0

Python 99.82% Cython 0.18%
paddle pytorch gradio swanhub

paddleocr-online's Introduction

PaddleOCR_PyTorch

本项目旨在:对PaddleOCR2PyTorch项目做在线可视化,让体验与部署更轻松。

image-20230526202340274


🚢PaddleOCR

PaddleOCR是PaddlePaddle推出的一套丰富、领先、且实用的OCR工具库。

本项目所用的权重为PP_V3系列,以LFS托管于SwanHub

🔧How To Use

推理

找到./paddleocr_v3_inference.py,在第166行修改为你的本地图像路径即可。

if __name__ == '__main__':
    image = cv2.imread("./doc/imgs/1.jpg")
    draw_img, return_json = inferenceOCR(image)
    print(return_json)
    cv2.imwrite("./drawed_img.jpg", draw_img)

GUI界面

🦢在线体验链接

GUI界面使用Gradio构建,本地运行:

python app.py

image-20230526204222356

参考

paddleocr-online's People

Contributors

frotms avatar satchelwu avatar sophon-chenxiliu avatar zeyi-lin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

qiannuanya

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.