PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Layout analysis is the process of leveraging Artificial Intelligence (AI) technology to parse and understand the structure of a document's layout. Its primary goal is to extract text, images, tables, layers, and other data from the input documents.
Layout analysis has several common use cases, including:
Features that support Layout Analysis:
enableAiTableRecognition. See 3.10 Table Recognition.This Sample demonstrates how to use the ComPDF OCR function to convert PDF to DOCX file.
LibraryManager.setDocumentAIModel("path/model");
WordOptions opt = new WordOptions();
opt.setEnableAiLayout(true);
CPDFConversion.startPDFToWord("word.pdf", "password", "path/output.docx", opt);