[Python] How can I extract tables as structured data from PDF documents?

Discussão em 'Python' iniciado por Stack, Novembro 30, 2024.

  1. Stack

    Stack Membro Participativo

    I am trying to extract a table (including the structure) from a PDF document (example). It's not a scan/an image, so please focus on non-OCR solutions. OCR table extraction is here. Simple text extraction is here

    I tried the route of pdf -> html -> extract table. The pdf that I mentioned above when converted to html produces garbage, maybe because of the font, the document is not in English.

    Extracting the pdf using x and y coordinate is not an option as this solution needs to work for future pdf from the url mention above which will have the table but not always in the same position.

    Continue reading...

Compartilhe esta Página