CarPlateRecognitionSettings

Inheritance: java.lang.Object

public class CarPlateRecognitionSettings

車両ナンバー認識の設定。認識プロセスをカスタマイズできる要素が含まれています。

コンストラクタ

コンストラクタ説明
CarPlateRecognitionSettings()デフォルトコンストラクタ: autoSkew を true に設定します。

メソッド

メソッド説明
setAllowedCharacters(CharactersAllowedType allowedCharacters)許可された文字セット。
setAutomaticColorInversion(boolean automaticColorInversion)暗い/黒い背景に白いテキストがある画像を検出し、自動的に特別な OCR アルゴリズムを選択します。
setIgnoredCharacters(String characters)認識シンボルのブラックリストを設定します。
setLanguage(Language language)

CarPlateRecognitionSettings()

public CarPlateRecognitionSettings()

デフォルトコンストラクタ: autoSkew を true に設定します。

setAllowedCharacters(CharactersAllowedType allowedCharacters)

public void setAllowedCharacters(CharactersAllowedType allowedCharacters)

許可された文字セット。認識結果で許可される文字の種類を決定します。

Parameters:

パラメータタイプ説明
allowedCharactersCharactersAllowedTypeenum @see CharactersAllowedType の値を含みます。

setAutomaticColorInversion(boolean automaticColorInversion)

public void setAutomaticColorInversion(boolean automaticColorInversion)

暗い/黒い背景に白いテキストがある画像を検出し、自動的に特別な OCR アルゴリズムを選択します。

Parameters:

パラメータタイプ説明
automaticColorInversionbooleanブール値を含みます - automaticColorInversion が設定されています。

setIgnoredCharacters(String characters)

public void setIgnoredCharacters(String characters)

認識シンボルのブラックリストを設定します。

Parameters:

パラメータタイプ説明
charactersjava.lang.String認識から除外される文字。

setLanguage(Language language)

public void setLanguage(Language language)

Parameters:

パラメータタイプ説明
languageLanguageOCRで使用する言語を設定します。デフォルトはマルチ言語(なし)です。