marker icon indicating copy to clipboard operation
marker copied to clipboard

Marker does not recognize a table in PDF

Open ptpedro opened this issue 4 months ago • 2 comments

The following pdf:

Image

Is recognized as text and not as a table.

Image

By using your API using the paramether mode set as "Accurate", the table appears.

Image

Also, the local mode does not seems to have a "mode"paramether.

Is there a way to locally get the ocr result as a table? I have tried "force_ocr", "use_llm" all set to True and nothing.

ptpedro avatar Sep 17 '25 16:09 ptpedro

Hi @ptpedro

We are currently working on improving our layout model so that less of these errors occur. It should be out shortly! Out of curiosity, could you run your test document through marker_gui with debug=True and share the output?

Also, the mode parameter is only for our API, where we do some heavier processing for edge cases. This will probably not be integrated into this repo

tarun-menta avatar Sep 19 '25 16:09 tarun-menta

hello can you please provide a python code with llm

ankit8347 avatar Nov 08 '25 12:11 ankit8347