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