|
Download README.md from juliozhao/DocLayout-YOLO-DocLayNet-from_scratch: direct link, hf CLI and curl.
- Browser
- Download file 923 Bytes
-
https://huggingface.co/juliozhao/DocLayout-YOLO-DocLayNet-from_scratch/resolve/refs%2Fpr%2F1/README.md
- Command line
-
hf download hf://juliozhao/DocLayout-YOLO-DocLayNet-from_scratch@refs/pr/1/README.md
-
curl -L -o README.md https://huggingface.co/juliozhao/DocLayout-YOLO-DocLayNet-from_scratch/resolve/refs%2Fpr%2F1/README.md
923 Bytes
metadata
datasets:
- juliozhao/doclayout-yolo-DocLayNet
license: apache-2.0
pipeline_tag: object-detection
DocLayout-YOLO
This model is a real-time document layout detector introduced in the paper DocLayout-YOLO: Axis-Attentive Document Layout Detector with Mesh-Guided Synthetic Pretraining. It is based on YOLOv10 and is enhanced with diverse synthetic document pretraining and page-axis context modeling. The model can detect various document elements such as text, titles, figures, tables, etc.
For usage, please refer to the GitHub repository.
An example of loading the model:
from doclayout_yolo import YOLOv10
model = YOLOv10.from_pretrained("juliozhao/DocLayout-YOLO-DocStructBench")
# Perform prediction
det_res = model.predict("path/to/image", imgsz=1024, conf=0.2, device="cuda:0")