# Analiza układu i parsowanie dokumentów

EN: **Document layout analysis and parsing** · id `layoutanalysis` · aliases: document layout analysis, DLA, document parsing, PDF to markdown, reading order detection, analiza układu strony, parsowanie PDF

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Aplikacje LLM i agenci](https://aiatlasgraph.com/t/applications.md) › [Przetwarzanie dokumentów](https://aiatlasgraph.com/t/docai.md) › Analiza układu i parsowanie dokumentów

## Description

- PL: Wykrywanie na stronie bloków (nagłówki, akapity, tabele, rysunki, przypisy), ustalanie kolejności czytania i zapis jako ustrukturyzowany tekst.
- EN: Detecting page blocks (headings, paragraphs, tables, figures, footnotes), determining reading order and exporting structured text.

## In one sentence

- PL: Program rozpoznaje, co na stronie jest tytułem, akapitem, tabelą czy obrazkiem, i w jakiej kolejności to czytać.
- EN: A program recognises what on a page is a title, a paragraph, a table or a picture, and in what order to read it.

## Problem it solves

- PL: Po skopiowaniu tekstu z dokumentu wieloszpaltowego kolumny się mieszają, nagłówki giną, a przypisy lądują w środku zdań.
- EN: Copying text from a multi-column document mixes up the columns, loses headings and drops footnotes into the middle of sentences.

## What it does

- PL: Jak składacz gazety czytający ją od końca: zaznacza ramki wokół każdego elementu i numeruje je w kolejności czytania.
- EN: Like a newspaper typesetter working backwards: drawing a box around every element and numbering them in reading order.

## Everyday example

- PL: Wrzucasz do asystenta raport roczny w dwu kolumnach, a on poprawnie cytuje akapit, bo wcześniej uporządkowano tekst według układu strony.
- EN: You give an assistant a two-column annual report, and it quotes a paragraph correctly because the text was first ordered by page layout.

## This concerns you if you…

- PL: zadajesz asystentowi pytania o długie pliki PDF
- PL: zamieniasz dokumenty w tekst do dalszej obróbki
- EN: ask an assistant questions about long PDF files
- EN: turn documents into text for further processing

## Keywords

DocLayNet · PubLayNet · Docling · Marker · MinerU · olmOCR · reading order · PDF parsing

## How it works

- PL: Model detekcji obiektów, trenowany na ręcznie oznaczonych stronach, zaznacza ramki i klasy elementów, a osobne moduły ustalają kolejność czytania, rozpoznają tabele i wzory. Wynik eksportuje się do markdownu lub JSON; coraz częściej całą stronę parsuje jeden model wizyjno-językowy.
- EN: An object-detection model trained on manually annotated pages draws boxes and classes for elements, while separate modules determine reading order and recognise tables and formulas. Output is exported to markdown or JSON; increasingly a single vision-language model parses the whole page.

## Limits

- PL: Nietypowe układy, skany niskiej jakości i pismo ręczne obniżają trafność; w benchmarku DocLayNet badane detektory pozostawały około 10% poniżej zgodności anotatorów. Modele generujące tekst mogą też pominąć albo dopisać treść, dlatego wynik trzeba porównywać z dokumentem.
- EN: Unusual layouts, low-quality scans, and handwriting reduce accuracy; in the DocLayNet benchmark, the evaluated detectors remained about 10% below inter-annotator agreement. Text-generating models may also omit or invent content, so outputs should be checked against the document.

## Key terms

- PL: **kolejność czytania**: Porządek, w jakim człowiek czyta bloki na stronie.
- PL: **ramka ograniczająca**: Prostokąt wskazujący położenie elementu na stronie.
- PL: **klasa układu**: Rola bloku, np. nagłówek, tabela, podpis rysunku.
- EN: **reading order**: The order in which a person reads blocks on a page.
- EN: **bounding box**: A rectangle marking an element's position on the page.
- EN: **layout class**: A block's role, e.g. heading, table, figure caption.

## Know first

- [Detekcja obiektów (Object detection)](https://aiatlasgraph.com/t/objectdetection.md)
- [Ekstrakcja tekstu ze stron i PDF (Text extraction from HTML and PDFs)](https://aiatlasgraph.com/t/textextraction.md)

## Related topics

Untyped, symmetric "see also" links.

- [Dzielenie dokumentów (Document chunking)](https://aiatlasgraph.com/t/chunking.md)
- [Rozpoznawanie tekstu na obrazach (OCR) (Optical character recognition (OCR))](https://aiatlasgraph.com/t/ocr.md)
- [Rozumienie dokumentów, wykresów i zrzutów ekranu (Document, chart and screenshot understanding)](https://aiatlasgraph.com/t/docvision.md)

## Sources

- [DocLayNet: A Large Human-Annotated Dataset for Document-Layout Analysis](<https://arxiv.org/abs/2206.01062>) `doclaynet-2022` · by Birgit Pfitzmann, Christoph Auer, Michele Dolfi, Ahmed S. Nassar, Peter Staar (IBM Research)
- [Docling Technical Report](<https://arxiv.org/abs/2408.09869>) `docling-2024` · by Christoph Auer i in. (IBM Research) · sponsored

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/layoutanalysis · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
