Instructions to use PaddlePaddle/PP-DocLayout-L with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayout-L 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-DocLayout-L") 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
-
Add tag: layout_detection
Verified signatureca760c3
-
Upload folder using huggingface_hub
Verified signature5fd0d34
-
Add metadata (#1)
Verified signature- Add metadata (02187e4e544ef32ae1b05e181ccb0f135467d0ee) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>1cf9778
-
Upload folder using huggingface_hub
Verified signature490fb18
-
Upload folder using huggingface_hub
Verified signature0aa60e8 -
initial commit
Verified signature5287a42