Skip to main content
Document layout detection only (PP-DocLayoutV3, an RT-DETR instance-segmentation plus reading-order model). It locates and classifies layout regions and predicts the logical reading order in a single forward pass; it does not recognize text. Accepts one image_url or a document_url PDF; no text-only input, and a text prompt is ignored. Default method: detect. Because it predicts multi-point boxes rather than axis-aligned rectangles, it holds up on skewed, curved, and photographed pages. Upstream it is the layout stage of PaddleOCR-VL 1.5 and GLM-OCR, so the natural pipeline is layout first (pp-doclayoutv3), then recognition on the regions you care about with an OCR model.

Choosing between this and the OCR models

Output by method

detect is the only method and the default, so method can be omitted. This is a pure layout detector with no OCR path: any other method is a 400. Text mode emits the payload alone for one image, and one <document> / <page> block per PDF with format="json" on every page; JSON mode wraps it in data. A page with no detections returns "items": [], never a string.

Region record

Coordinates are normalized against the input image or the rasterized page. See The region record. Layout classes: abstract, algorithm, aside_text, chart, content, doc_title, figure_title, footer, footnote, formula, formula_number, header, image, number, paragraph_title, reference, reference_content, seal, table, text, vision_footnote.

Method parameters

Request

Response

A single image returns the region container alone, in reading order:

Aliases

paddlepaddle/pp-doclayoutv3 (preferred), pp-doclayoutv3, and PaddlePaddle/PP-DocLayoutV3_safetensors all resolve to this model.