PDF

15 usages across 12 PDFs

Animal 911 Calls Extraction from Rainforest Cafe Report

This PDF is a service call report covering 911 incidents at the Rainforest Cafe in Niagara Falls, NY. We're hunting for animals! The data is formatted as a spreadsheet within the PDF, and challenges include varied column widths, borderless tables, and large swaths of missing data.

from natural_pdf import PDF

pdf = PDF("24480polcompleted.pdf")
pdf.show(cols=3, limit=9)
View full example →

Arabic Election Results Table Extraction from Mednine PDF

This PDF has a data table showing election results from the Tunisian region of Mednine. Challenges include spanning header cells and rotated headers. It has Arabic script.

from natural_pdf import PDF

pdf = PDF("mednine.pdf")
pdf.show(cols=3)
View full example →

Bad OCR in a board of education annual financial report

This PDF is all sorts of information about the Board of Education in Liberty County, Georgia

from natural_pdf import PDF

pdf = PDF("liberty-county-boe.pdf", text_layer=False)
pdf.pages.show(cols=6)
View full example →

CIA Document Analysis

Extracting information from declassified CIA documents using AI

from natural_pdf import PDF

pdf = PDF("cia-doc.pdf")
pdf.pages.show(cols=6)
View full example →

Complex Extraction of Law Enforcement Complaints

This PDF contains a set of complaint records from a local law enforcement agency. Challenges include its relational data structure, unusual formatting common in the region, and redactions that disrupt automatic parsing.

from natural_pdf import PDF

pdf = PDF("k046682-111320-opa-lea-database-install_1.pdf")
pdf.show(cols=3)
View full example →

Complex Table Extraction from OECD Czech PISA Assessment

This PDF is a document from the OECD regarding the PISA assessment, provided in Czech. The main extraction goal is to get the survey question table found on page 9. Challenges include the weird table format, making it hard to extract automatically.

from natural_pdf import PDF

pdf = PDF("czech-republic-pisa2012_zakovsky_dotaznik_a.pdf")
pdf.pages[6:15].show()
View full example →

Extracting Economic Data from Brazil's Central Bank PDF

This PDF is the weekly “Focus” report from Brazil’s central bank with economic projections and statistics. Challenges include commas instead of decimal points, images showing projection changes, and tables without border lines that merge during extraction.

from natural_pdf import PDF

pdf = PDF("focus.pdf")
page = pdf.pages[0]
page.show()
View full example →

Extracting State Agency Call Center Wait Times from FOIA PDF

This PDF contains data on wait times at a state agency call center. The main focus is on the data on the first two pages, which matches other states' submission formats. The later pages provide granular breakdowns over several years. Challenges include it being heavily pixelated, making it hard to read numbers and text, with inconsistent and unreadable charts.

from natural_pdf import PDF

pdf = PDF("statecallcenterdata_redacted.pdf")
page = pdf.pages[0]
page.show()
View full example →

Extracting Text from Georgia Legislative Bills

This PDF contains legal bills from the Georgia legislature, published yearly. Challenges include extracting marked-up text like underlines and strikethroughs. It has line numbers that complicate text extraction.

from natural_pdf import PDF

pdf = PDF("20252026-236232.pdf")
page = pdf.pages[-1]
page.show()
View full example →

Natural PDF basics with text and tables

Learn the fundamentals of Natural PDF - opening PDFs, extracting text with layout preservation, selecting elements by criteria, spatial navigation, and managing exclusion zones. Perfect starting point for PDF data extraction.

from natural_pdf import PDF

pdf = PDF("basics.pdf")
page = pdf.pages[0]
page.show()
View full example →

OCR and AI magic

Master OCR techniques with Natural PDF - from basic text recognition to advanced LLM-powered corrections. Learn to extract text from image-based PDFs, handle tables without proper boundaries, and leverage AI for accuracy improvements.

from natural_pdf import PDF

pdf = PDF("ocr-example.pdf")

page = pdf.pages[0]
page.show(width=700)
View full example →

Working with page structure

Extract text from complex multi-column layouts while maintaining proper reading order. Learn techniques for handling academic papers, newsletters, and documents with intricate column structures using Natural PDF's layout detection features.

from natural_pdf import PDF

pdf = PDF("multicolumn.pdf")
page = pdf.pages[0]
page.show()
View full example →
from natural_pdf import PDF

pdf = PDF("needs-ocr.pdf")
page = pdf.pages[0]
View full example →