Skip to content
ComPDF
DemoFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Table Recognition

Overview

Table Recognition detects table structures and helps preserve table layout in output documents and extracted data.

Use enableAiTableRecognition to enable table recognition.

Sample

js
sdk.setDocumentAIModel("/path/to/documentai.model", -1);

const options = {
  enableAiLayout: true,
  enableAiTableRecognition: true
};

const result = sdk.startPDFToExcel(inputFilePath, "", outputFilePath, options);