Object Detection
Transformers
Safetensors
PaddleOCR
English
Chinese
multilingual
pp_doclayout_v3
PaddlePaddle
image-segmentation
ocr
layout
layout_detection
Instructions to use 123explorer/pp-doclayoutv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 123explorer/pp-doclayoutv3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="123explorer/pp-doclayoutv3")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("123explorer/pp-doclayoutv3") model = AutoModelForObjectDetection.from_pretrained("123explorer/pp-doclayoutv3", device_map="auto") - PaddleOCR
How to use 123explorer/pp-doclayoutv3 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") 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
2 days ago
-
Upload folder using huggingface_hub
Verified signature5f840bd -
initial commit
Verified signature7f93a8c