![]() |
Aspose.OCR for Python via Java API docs
|
Public Member Functions | |
| __init__ (self) | |
| set_allowed_characters (self, str allowedCharacters) | |
| Allowed characters set. | |
| set_ignored_characters (self, str ignoredCharacters) | |
| Sets blacklist for recognition symbols. | |
| set_language (self, Language language) | |
| Sets the language used for OCR. | |
| set_threads_count (self, int threadsCount) | |
| Gets or sets the number of threads for processing. | |
Static Public Attributes | |
| str | JAVA_CLASS_NAME = "com.aspose.ocr.CarPlateRecognitionSettings" |
| __init__ | ( | self | ) |
| set_allowed_characters | ( | self, | |
| str | allowedCharacters | ||
| ) |
Allowed characters set.
Determines the array of characters allowed for recognition result.
| allowedCharacters | contains string of characters. |
| set_ignored_characters | ( | self, | |
| str | ignoredCharacters | ||
| ) |
Sets blacklist for recognition symbols.
| ignoredCharacters | Characters excluded from recognition. |
| set_language | ( | self, | |
| Language | language | ||
| ) |
Sets the language used for OCR.
Multi-language (none) by default.
| language | contains enum Language value. |
| 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.
| threadsCount | the number of threads that will be created for parallel recognition of image fragments. |
|
static |