CarPlateRecognitionSettings

CarPlateRecognitionSettings class

Module: recognitionsettings

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
set_allowed_charactersNoAllowed characters set. Determines the array of characters allowed for recognition result.
set_ignored_charactersNoSets blacklist for recognition symbols.
set_languageNoSets the language used for OCR. Multi-language (none) by default.
set_threads_countNoGets or sets the number of threads for processing. By default, 0 means that the image will be processed with the number of threads equal to your number of processors. ThreadsCount = 1 means that the image will be processed in the main thread.

Fields

NameValueDescription
JAVA_CLASS_NAME"com.aspose.ocr.CarPlateRecognitionSettings"

CarPlateRecognitionSettings Constructor

__init__(self)

CarPlateRecognitionSettings.set_allowed_characters

set_allowed_characters(self, str allowedCharacters)

Allowed characters set. Determines the array of characters allowed for recognition result.

ParameterTypeDescription
allowedCharactersstrcontains string of characters.

CarPlateRecognitionSettings.set_ignored_characters

set_ignored_characters(self, str ignoredCharacters)

Sets blacklist for recognition symbols.

ParameterTypeDescription
ignoredCharactersstrCharacters excluded from recognition.

CarPlateRecognitionSettings.set_language

set_language(self, Language language)

Sets the language used for OCR. Multi-language (none) by default.

ParameterTypeDescription
languageLanguagecontains enum Language value.

CarPlateRecognitionSettings.set_threads_count

set_threads_count(self, int threadsCount)

Gets or sets the number of threads for processing. By default, 0 means that the image will be processed with the number of threads equal to your number of processors. ThreadsCount = 1 means that the image will be processed in the main thread.

ParameterTypeDescription
threadsCountintthe number of threads that will be created for parallel recognition of image fragments.

CarPlateRecognitionSettings.JAVA_CLASS_NAME

Type: str

Value: "com.aspose.ocr.CarPlateRecognitionSettings"