RecognitionSettings

RecognitionSettings class

Settings for the image recognition.
Contains elements that allow customizing the recognition process.

The RecognitionSettings type exposes the following members:

Constructors

NameDescription
RecognitionSettings()Initializes a new instance of the
RecognitionSettings(language, recognition_areas, recognize_single_line)Initializes a new instance of the RecognitionSettings class

Properties

NameDescription
threads_countGets or sets the number fo threads for processing.
languageGets or sets the language used for OCR.
ignored_symbolsSets blacklist for recognition symbols.
allowed_symbolsSet the allowed characters with alphabet property.
lines_filtrationAllows to recognize text in the tables (regions surrounded lines).
allowed_charactersAllowed characters set. Determines the type of characters allowed for recognition result.
detect_areas_modeAllows to select the optimal mode for document type areas: document, photo, plain text, column, image.
automatic_color_inversionDetect images with white text on dark/black background and automatically choose a special OCR algorithm for them.
upscale_small_fontAllows you to use additional algorithms specifically for small font recognition.
Useful for images with small size characters.
recognition_areasGets or sets the list of text areas for processing.
recognize_single_lineSets single-line image recognition.
Disabled (false) by default.
Disable all the processing steps associated with splitting into lines.
Set this parameter to true if your image contains only one line. Disables RecognitionAreas settings, so all areas settings will be ignored.

See Also