Falah Gatea
Jan 15, 2025

--

but the basic function for extract text

md_text = pymupdf4llm.to_markdown("foo.pdf")

print(md_text)

the same extract table function

md_text_tables = pymupdf4llm.to_markdown(

doc="foo.pdf" # data with table

)

print(md_text_tables)

--

--

Falah Gatea
Falah Gatea

Written by Falah Gatea

Developer Programmer, in Python and deep learning. IOT Microcontroller Developer iraqprogrammer.wordpress.com

No responses yet