Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PaddlePaddle
/
PP-DocLayoutV3_onnx

Object Detection
Transformers
ONNX
PaddleOCR
English
Chinese
multilingual
PaddlePaddle
image-segmentation
ocr
layout
layout_detection
Model card Files Files and versions
xet
Community

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
PP-DocLayoutV3_onnx
131 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
xiaohei66's picture
xiaohei66
Upload README.md with huggingface_hub
46bbdf1 verified 13 days ago
  • .gitattributes
    1.52 kB
    initial commit 28 days ago
  • README.md
    12.6 kB
    Upload README.md with huggingface_hub 13 days ago
  • inference.onnx
    131 MB
    xet
    Upload folder using huggingface_hub 28 days ago
  • inference.yml
    1.48 kB
    Upload folder using huggingface_hub 28 days ago