
## RecognitionSettings class

Settings for the image recognition.<br/>            Contains elements that allow customizing the recognition process.

The RecognitionSettings type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|RecognitionSettings()|Initializes a new instance of the [RecognitionSettings](/ocr/python-net/aspose.ocr/recognitionsettings/) class with auto skew = true.|
|RecognitionSettings(language, recognition_areas, recognize_single_line)|Initializes a new instance of the RecognitionSettings class|
## Properties
| Name | Description |
| :- | :- |
|recognize_vertical_lines|Gets or sets a value indicating whether vertical text lines should be detected <br/>            and recognized in addition to horizontal ones.<br/>            Default is|
|threads_count|Gets or sets the number fo threads for processing.|
|language|Gets or sets the language used for OCR.|
|ignored_symbols|Sets blacklist for recognition symbols.|
|allowed_symbols|Set the allowed characters with alphabet property.|
|allowed_characters|Allowed characters set. Determines the type of characters allowed for recognition result.|
|automatic_color_inversion|Detect images with white text on dark/black background and automatically choose a special OCR algorithm for them.|
|retain_image_for_export|Gets or sets a value indicating whether the preprocessed source image is retained<br/>            in the recognition result. The image is stored in a compressed form and decoded<br/>            only when|
|recognition_areas|Gets or sets the list of text areas for processing.|
|recognize_single_line|Sets single-line image recognition. <br/>            Disabled (false) by default. <br/>            Disable all the processing steps associated with splitting into lines. <br/>            Set this parameter to true if your image contains only one line. Disables RecognitionAreas settings, so all areas settings will be ignored.|
|language_detection_level|Specifies the level of language detection for text recognition.<br/>            Works only if the selected language is [MULTILANGUAGE](/ocr/python-net/aspose.ocr/language/), <br/>            [AUTO](/ocr/python-net/aspose.ocr/language/), or [UNIVERSAL](/ocr/python-net/aspose.ocr/language/).<br/>            This process is time-consuming and significantly slows down the overall recognition.|
|lines_filtration|Allows to recognize text in the tables (regions surrounded lines).|
|detect_areas_mode|Allows to select the optimal mode for document type areas: document, photo, plain text, column, image.|
|upscale_small_font|Allows you to use additional algorithms specifically for small font recognition.<br/>            Useful for images with small size characters.|
|detect_fonts|Enables font detection for each recognized text line.<br/>            When enabled, font family, style, and estimated size are returned in|

### See Also

* namespace [aspose.ocr](/ocr/python-net/aspose.ocr/)
* assembly [Aspose.ocr](/ocr/python-net/)

