Instructions to use PaddlePaddle/PP-DocLayoutV3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayoutV3 with PaddleOCR:
# 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle # 2. pip install paddleocr from paddleocr import LayoutDetection model = LayoutDetection(model_name="PP-DocLayoutV3") 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.json from PaddlePaddle/PP-DocLayoutV3: direct link, hf CLI and curl.
- Browser
- Download file 1.2 MB
-
https://huggingface.co/PaddlePaddle/PP-DocLayoutV3/resolve/refs%2Fpr%2F10/inference.json
- Command line
-
hf download hf://PaddlePaddle/PP-DocLayoutV3@refs/pr/10/inference.json
-
curl -L -o inference.json https://huggingface.co/PaddlePaddle/PP-DocLayoutV3/resolve/refs%2Fpr%2F10/inference.json
1.2 MB
File too large to display, you can check the raw version instead.