Skip to content

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

License

Notifications You must be signed in to change notification settings

Zeyi-Lin/PaddleOCR-Online

Repository files navigation

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

参考

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •