Instructions to use PaddlePaddle/PP-OCRv6_medium_det with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-OCRv6_medium_det with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import TextDetection model = TextDetection(model_name="PP-OCRv6_medium_det") output = model.predict(input="path/to/image.png", batch_size=1) for res in output: res.print() res.save_to_img(save_path="./output/") res.save_to_json(save_path="./output/res.json") - Notebooks
- Google Colab
- Kaggle
Demo for this model on Spaces
Hi @PaddlePaddle 🤗
I'm Apolinario, from the open-source team at Hugging Face. I saw that you open-sourced PaddlePaddle/PP-OCRv6_medium_det, thanks for that! We were excited about this work and built with an agent an interactive app of it on Hugging Face Spaces, running on a free ZeroGPU infrastructure. It's built on top of your model PaddlePaddle/PP-OCRv6_medium_det.
Here's a link to the demo: https://huggingface.co/spaces/hugging-apps/pp-ocrv6-medium-det
We would love to transfer this demo to you or your organization. Would you like this demo to live under your own account or organization? If so just let me know here which username to transfer to, and we'll transfer the Space over to you, we hope it can give your work more visibility, discoverability and allows folks to try it out.
(If you have any questions or need any assistance feel free to reach out to me on Twitter, LinkedIn or email apolinario @ huggingface.co)
Cheers,
Poli