Object Detection
PaddleOCR
ONNX
English
Chinese
multilingual
PaddlePaddle
ocr
layout
layout_detection
reading_order
Run this model with HF Jobs
Run PaddlePaddle/PP-DocLayoutV4_onnx on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/PaddlePaddle/PP-DocLayoutV4_onnx. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PaddlePaddle/PP-DocLayoutV4_onnx on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use PaddlePaddle/PP-DocLayoutV4_onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PaddleOCR
How to use PaddlePaddle/PP-DocLayoutV4_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-DocLayoutV4_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
Commit History
24 days ago
-
Declare PaddleOCR library for ONNX download tracking
Verified signatureThe model card currently has no library_name, so the Hub does not associate this repository with the PaddleOCR download-counting rule. Add library_name: PaddleOCR to the YAML metadata. Hugging Face's PaddleOCR rule explicitly counts the root inference.onnx file that is already present in this repository. Only model card metadata changes; the license and model files are preserved. References: - https://huggingface.co/docs/hub/model-cards#specifying-a-library - https://huggingface.co/docs/hub/models-download-stats - https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts This PR is left open for maintainer review.840aa2f
-
initial commit
Verified signaturea68b96e