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

  • Log In
  • Sign Up

PaddlePaddle
/
PP-DocLayoutV4_onnx

Object Detection
PaddleOCR
ONNX
English
Chinese
multilingual
PaddlePaddle
ocr
layout
layout_detection
reading_order
Model card Files Files and versions
xet
Community
1

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
PP-DocLayoutV4_onnx
137 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
zhangyubo0722's picture
zhangyubo0722
Update README.md
70eac53 verified about 7 hours ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    20.3 kB
    Update README.md about 7 hours ago
  • inference.onnx
    137 MB
    xet
    Update PP-DocLayoutV4 ONNX to final release weights 1 day ago
  • inference.yml
    1.48 kB
    Add PP-DocLayoutV4 ONNX model (paddle2onnx 1.3.1, opset 16) 3 months ago