## RecognitionResult class

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

```csharp
public class RecognitionResult
```

## Constructors

| Name | Description |
| --- | --- |
| [RecognitionResult](recognitionresult)() | Initializes a new instance of the [`RecognitionResult`](../recognitionresult) class. |

## Properties

| Name | Description |
| --- | --- |
| [FileName](../../aspose.ocr/recognitionresult/filename) { get; set; } | Full path to the file. |
| [Image](../../aspose.ocr/recognitionresult/image) { get; set; } | Gets or sets image for pdf creation. |
| [RecognitionCharactersList](../../aspose.ocr/recognitionresult/recognitioncharacterslist) { get; } | A set of characters found by the recognition algorithm and arranged in descending order of probability. |
| [RecognitionLinesResult](../../aspose.ocr/recognitionresult/recognitionlinesresult) { get; } | Gets a list of recognition results with a list of rows (Rectangles). |
| [RecognitionRegionsResult](../../aspose.ocr/recognitionresult/recognitionregionsresult) { get; } | Gets a list of recognition results with a list of regions (Rectangles). |
| [RecognitionText](../../aspose.ocr/recognitionresult/recognitiontext) { get; set; } | Gets recognition result in one string. |
| [SerializableImage](../../aspose.ocr/recognitionresult/serializableimage) { get; set; } | Serialized image payload used for RecognitionResult JSON/binary serialization. Stores the same image data as [`Image`](./image) in a compressed binary form. |
| [Warnings](../../aspose.ocr/recognitionresult/warnings) { get; } | Gets list of the warning messages describing non-critical faults appeared during generation. |

## Methods

| Name | Description |
| --- | --- |
| [GetJson](../../aspose.ocr/recognitionresult/getjson)(bool) | Form JSON string with recognition results. |
| [GetKeywords](../../aspose.ocr/recognitionresult/getkeywords)() | Get keywords from pasport (Test mode. Works only for USA and MADAGASCAR passports). |
| [GetSpellCheckCorrectedText](../../aspose.ocr/recognitionresult/getspellcheckcorrectedtext)(SpellCheckLanguage, string) | Corrects text (replaces misspelled words). |
| [GetSpellCheckErrorList](../../aspose.ocr/recognitionresult/getspellcheckerrorlist)(SpellCheckLanguage, string) | Find the misspelled words with suggested spellings for a given input text. |
| [GetXml](../../aspose.ocr/recognitionresult/getxml)() | Form XML string with recognition results. |
| [ReleaseImage](../../aspose.ocr/recognitionresult/releaseimage)() | Releases a materialized [`Image`](./image) array while retaining a compressed, lossless representation that can be decoded again on demand. |
| [Save](../../aspose.ocr/recognitionresult/save#save_1)(MemoryStream, SaveFormat, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| [Save](../../aspose.ocr/recognitionresult/save#save_3)(string, SaveFormat, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| [Save](../../aspose.ocr/recognitionresult/save#save)(MemoryStream, SaveFormat, bool, SpellCheckLanguage, string, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| [Save](../../aspose.ocr/recognitionresult/save#save_2)(string, SaveFormat, bool, SpellCheckLanguage, string, string, PdfOptimizationMode) | Saves the document as the plain text, PDF or Microsoft Word Document. |
| [operator +](../../aspose.ocr/recognitionresult/op_addition) | To complete the full result from recognized fragments (lines). |

## Other Members

| Name | Description |
| --- | --- |
| class [LinesResult](recognitionresult.linesresult) | Recognized text from row with row coordinates. |
| class [RegionResult](recognitionresult.regionresult) | Recognized text from region with region coordinates. |

### See Also

* namespace [Aspose.OCR](../../aspose.ocr)
* assembly [Aspose.OCR](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
