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
File size: 134 Bytes
0aa60e8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4df69115349e1e6215629d058e3bc7f087cad7a0d2776ef40c463daf73c38982
size 129021913
|