KeywordsAIProcessor

KeywordsAIProcessor class

AI post-processor that analyzes OCR results and extracts keywords and values.

The KeywordsAIProcessor type exposes the following members:

Constructors

NameDescription
KeywordsAIProcessor()Initializes a new instance of the KeywordsAIProcessor class

Methods

NameDescription
set_keywords(keywords)Sets the keywords used for searching OCR-recognized text.
get_result()Returns the AI-processed recognition results.
The recognition output is returned as a JSON-formatted string with the following structure:
save_txt(filename)Saves the extracted tables and processed text results into a TXT file.
save_xlsx(filename)Saves the extracted structured tables into an XLSX (Excel) file.
save_md(filename)Saves the extracted structured tables into a Markdown (.md) file.

See Also