nielsr's picture
nielsr HF Staff
Add pipeline tag and improve model card
8e964ff verified
|
Raw History Blame
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")