Object Detection
PaddleOCR
English
Chinese
multilingual
PaddlePaddle
ocr
layout
layout_detection
reading_order
Instructions to use PaddlePaddle/PP-DocLayoutV4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayoutV4 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-DocLayoutV4") 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
Commit History
-
Update geometry-enabled PP-DocLayoutV4 Paddle inference export
Verified signatureUpdate the Paddle 3 PIR graph, weights and inference configuration together. Remove the incompatible legacy graph and auxiliary metadata. Keep README unchanged.cdd94af
-
Update inference.yml
Verified signature6a6cee0
-
Add PP-DocLayoutV4 static-graph inference model
Verified signature4a1a271