Object Detection
Transformers
ONNX
PaddleOCR
English
Chinese
multilingual
PaddlePaddle
image-segmentation
ocr
layout
layout_detection
Instructions to use PaddlePaddle/PP-DocLayoutV3_onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PaddlePaddle/PP-DocLayoutV3_onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="PaddlePaddle/PP-DocLayoutV3_onnx")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PaddlePaddle/PP-DocLayoutV3_onnx", dtype="auto") - PaddleOCR
How to use PaddlePaddle/PP-DocLayoutV3_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-DocLayoutV3_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:
- b6661b4a4e5547d0b7f8bc34225fd3d464b49699da43b59e51cc22c8a1e63fdd
- Size of remote file:
- 131 MB
- SHA256:
- 45bf71750b00739a41fc209f132eb104a4d6b5bb29483c9078164d8b87cf28ba
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.