Instructions to use PaddlePaddle/PP-DocLayout-S with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayout-S 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-S") 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
- Xet hash:
- 23690c27b95b8dd475d4a323c76c092f85106a8b62a59fa3ca8db1f4c535394b
- Size of remote file:
- 4.8 MB
- SHA256:
- 491c3382d84ca04d2033afbee0c105942ed82fea392bb4a19170646adebe088a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.