Visualization
Displaying Results within a Jupyter Notebook¶
The Node
class has built in support for rendering it's text contents as markdown in a jupyter
notebook.
import openparse
basic_doc_path = "./sample-docs/mobile-home-manual.pdf"
parser = openparse.DocumentParser()
parsed_basic_doc = parser.parse(basic_doc_path)
for node in parsed_basic_doc.nodes:
display(node)
You can also display the results directly overlayed on the original pdf.
Exporting Overlayed Results to a Pdf¶
You can also export the results marked up over the original pdf to a seperate pdf file.