RecognitionResult

RecognitionResult class

The results of the image recognition.
Contains elements with recognition information and methods for result export.

The RecognitionResult type exposes the following members:

Properties

NameDescription
recognition_lines_resultGets a list of recognition results with a list of rows (Rectangles).
recognition_areas_textGets list recognition results of a list of areas (Rectangles).
recognition_characters_listA set of characters found by the recognition algorithm and arranged in descending order of probability.
recognition_textGets recognition result in one string.
file_nameFull path to the file.
skewGets skew angle.
warningsGets list of the warning messages describing non-critical faults appeared during generation.

Methods

NameDescription
save(full_file_name, save_format, apply_spelling_correction, language, dictionary_path)Saves the document as the plain text, PDF or Microsoft Word Document.
save(full_file_name, save_format)Saves the document as the plain text, PDF or Microsoft Word Document.
save(stream, save_format, apply_spelling_correction, language, dictionary_path)Saves the document as the plain text, PDF or Microsoft Word Document.
get_spell_check_corrected_text(language, dictionary_path)Corrects text (replaces misspelled words).
get_spell_check_error_list(language, dictionary_path)Find the misspelled words with suggested spellings for a given input text.
get_json(is_readable)Form JSON string with recognition results.
get_xml()Form XML string with recognition results.

See Also