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-DocLayoutV2_safetensors

Object Detection
PaddleOCR
Safetensors
English
Chinese
multilingual
pp_doclayout_v2
PaddlePaddle
ocr
layout
layout_detection
Model card Files Files and versions
xet
Community
2

Instructions to use PaddlePaddle/PP-DocLayoutV2_safetensors with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PaddleOCR

    How to use PaddlePaddle/PP-DocLayoutV2_safetensors 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-DocLayoutV2_safetensors")
    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-DocLayoutV2_safetensors
215 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
xiaohei66's picture
xiaohei66
Update README.md
880e897 verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    1.92 kB
    Update README.md about 1 month ago
  • config.json
    3.79 kB
    Update config.json 3 months ago
  • inference.yml
    1.48 kB
    Create inference.yml about 2 months ago
  • model.safetensors
    215 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • preprocessor_config.json
    575 Bytes
    init (#1) 5 months ago