To extract tables from any documents, set the
strategy parameter to hi_res for both methods below.Method 1: Using partition_pdf
To extract the tables from PDF files using the partition_pdf, set theinfer_table_structure parameter to True and strategy parameter to hi_res.
Usage
Method 2: Using Auto Partition or Unstructured API
By default, table extraction from all file types is enabled. To extract tables from PDFs and images using Auto Partition or Unstructured API parameters simply setstrategy parameter to hi_res.
Usage: Auto Partition

