function extractTablesFromFile(file, options): Promise<ExtractedTable[]>

Extracts tables from a file (ImageFile or PdfFile).

Examples

Parameters

file: ImageFile | PdfFile | SpreadsheetFile

The file you want to extract the tables from.

options

options.label: string

A label for this extraction process, used for billing and monitoring.

Returns

Promise<ExtractedTable[]>

A promise that resolves to an array of extracted tables.