RecognitionResult
RecognitionResult class
The results of the image recognition. Contains elements with recognition information and methods for result export.
public class RecognitionResult
Properties
| Name | Description |
|---|
| FileName { get; set; } | Full path to the file. |
| Image { get; set; } | Gets or sets image for pdf creation. |
| RecognitionCharactersList { get; } | A set of characters found by the recognition algorithm and arranged in descending order of probability. |
| RecognitionLinesResult { get; } | Gets a list of recognition results with a list of rows (Rectangles). |
| RecognitionText { get; set; } | Gets recognition result in one string. |
| Warnings { get; } | Gets list of the warning messages describing non-critical faults appeared during generation. |
Methods
| Name | Description |
|---|
| GetJson(bool) | Form JSON string with recognition results. |
| GetKeywords() | Get keywords from pasport (Test mode. Works only for USA and MADAGASCAR passports). |
| GetSpellCheckCorrectedText(SpellCheckLanguage, string) | Corrects text (replaces misspelled words). |
| GetSpellCheckErrorList(SpellCheckLanguage, string) | Find the misspelled words with suggested spellings for a given input text. |
| GetXml() | Form XML string with recognition results. |
| Save(MemoryStream, SaveFormat, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| Save(string, SaveFormat, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| Save(MemoryStream, SaveFormat, bool, SpellCheckLanguage, string, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| Save(string, SaveFormat, bool, SpellCheckLanguage, string, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| operator + | To complete the full result from recognized fragments (lines). |
Other Members
| Name | Description |
|---|
| class LinesResult | Recognized text from row with row coordinates. |
See Also