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
Update final PP-DocLayoutV4 inference weights
Browse filesUpdate the inference graph and its matching final Paddle inference parameters together.
Files changed (2)
12323version https://git-lfs.github.com/spec/v1oid sha256:7d6057d36b99d2f8f8df39e173f10efd5eff512196620c7912b8d29172bc4f88size 132771206oid sha256:7d05848c1c8639b11c550b3579c46050079489d1dceb236e84c373ba29cbcc8bsize 135557882inference.json
inference.pdiparams+2-2