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