Object Detection
PaddleOCR
English
Chinese
multilingual
PaddlePaddle
ocr
layout
layout_detection
reading_order
Instructions to use PaddlePaddle/PP-DocLayoutV4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayoutV4 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-DocLayoutV4") 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
Update to epoch126 export (aligns with PP-DocLayoutV4_safetensors)
Browse filesFiles changed (5)
- .gitattributes+1
- inference.jsonDeleted
- inference.pdiparams+2-2
- inference.pdiparams.infoAdded
- inference.pdmodelAdded+3
33 unmodified lines3435363733 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textinference.pdiparams filter=lfs diff=lfs merge=lfs -textinference.pdmodel filter=lfs diff=lfs merge=lfs -text12323version https://git-lfs.github.com/spec/v1oid sha256:92f0604587087a55daa44f9306c8ce8037b918fdf07d975f5c591edde4043271size 130354792oid sha256:0f5dae24a5226fecf0ee029af71be63db1bc22c83fa01b73e147377a50cb3fe9size 130354820123version https://git-lfs.github.com/spec/v1oid sha256:a528069ffd23192add866084b5b63d84db584b430acdb2dce1ba5eaa91b02dd0size 994305.gitattributes+1
inference.jsonDeleted
inference.pdiparams+2-2
inference.pdiparams.infoAdded
inference.pdmodelAdded+3