CarPlateRecognitionSettings
Contents
[
Hide
]Inheritance: java.lang.Object
public class CarPlateRecognitionSettings
Settings for the car number recognition Contains elements that allow customizing the recognition process
Constructors
Constructor | Description |
---|---|
CarPlateRecognitionSettings() | Default constructor: set autoSkew true. |
CarPlateRecognitionSettings(DocumentRecognitionSettings docSettings) |
Methods
Method | Description |
---|---|
setLanguage(Language language) | |
setIgnoredCharacters(String characters) | Sets blacklist for recognition symbols. |
setPreprocessingFilters(PreprocessingFilter preprocessingFilters) | Allows to prepare the image for OCR by adjusting pre-processing methods. |
setAllowedCharacters(CharactersAllowedType allowedCharacters) | Allowed characters set. |
CarPlateRecognitionSettings()
public CarPlateRecognitionSettings()
Default constructor: set autoSkew true.
CarPlateRecognitionSettings(DocumentRecognitionSettings docSettings)
public CarPlateRecognitionSettings(DocumentRecognitionSettings docSettings)
Parameters:
Parameter | Type | Description |
---|---|---|
docSettings | DocumentRecognitionSettings |
setLanguage(Language language)
public void setLanguage(Language language)
Parameters:
Parameter | Type | Description |
---|---|---|
language | Language | Sets the language used for OCR. Multi-language (none) by default. |
setIgnoredCharacters(String characters)
public void setIgnoredCharacters(String characters)
Sets blacklist for recognition symbols.
Parameters:
Parameter | Type | Description |
---|---|---|
characters | java.lang.String | Characters excluded from recognition. |
setPreprocessingFilters(PreprocessingFilter preprocessingFilters)
public void setPreprocessingFilters(PreprocessingFilter preprocessingFilters)
Allows to prepare the image for OCR by adjusting pre-processing methods.
Parameters:
Parameter | Type | Description |
---|---|---|
preprocessingFilters | PreprocessingFilter | contains user preprocessing operations or null. |
setAllowedCharacters(CharactersAllowedType allowedCharacters)
public void setAllowedCharacters(CharactersAllowedType allowedCharacters)
Allowed characters set. Determines the type of characters allowed for recognition result.
Parameters:
Parameter | Type | Description |
---|---|---|
allowedCharacters | CharactersAllowedType | contains enum @see CharactersAllowedType value. |