Instructions to use PaddlePaddle/PP-OCRv4_server_rec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-OCRv4_server_rec with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import TextRecognition model = TextRecognition(model_name="PP-OCRv4_server_rec") 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
Download inference.pdiparams from PaddlePaddle/PP-OCRv4_server_rec: direct link, hf CLI and curl.
- Browser
- Download file 90.5 MB
-
https://huggingface.co/PaddlePaddle/PP-OCRv4_server_rec/resolve/main/inference.pdiparams
- Command line
-
hf download hf://PaddlePaddle/PP-OCRv4_server_rec/inference.pdiparams
-
curl -L -o inference.pdiparams https://huggingface.co/PaddlePaddle/PP-OCRv4_server_rec/resolve/main/inference.pdiparams
90.5 MB
- Xet hash:
- a934f6a015c122d1f47662ef03de7399e2b5de07fc4d4a212a999f91a4d16792
- Size of remote file:
- 90.5 MB
- SHA256:
- 0319d16cb29b01788757164083da6512a5defb9bccdff5148a929bd43b2cd58f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.