TemplateProcessor

Inheritance: java.lang.Object

public class TemplateProcessor

テンプレートと画像を処理するクラス。

メソッド

メソッド説明
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
recalculate(RecognitionResult result)微調整されたパラメータを使用して認識結果を更新します。
recalculate(RecognitionResult result, int recognitionThreshold)微調整されたパラメータを使用して認識結果を更新します。
recognizeImage(BufferedImage bufferedImage)画像を認識します
recognizeImage(BufferedImage bufferedImage, int recognitionThreshold)画像を認識します
recognizeImage(InputStream inputStream)画像を認識します
recognizeImage(InputStream inputStream, int recognitionThreshold)画像を認識します
recognizeImage(String imagePath)画像を認識します
recognizeImage(String imagePath, int recognitionThreshold)画像を認識します
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

パラメーター説明
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

recalculate(RecognitionResult result)

public final void recalculate(RecognitionResult result)

微調整されたパラメータを使用して認識結果を更新します。

Parameters:

パラメーター説明
resultRecognitionResult更新する認識結果です。

recalculate(RecognitionResult result, int recognitionThreshold)

public final void recalculate(RecognitionResult result, int recognitionThreshold)

微調整されたパラメータを使用して認識結果を更新します。

Parameters:

パラメーター説明
resultRecognitionResult更新する認識結果です。
recognitionThresholdint(オプション)認識しきい値(0〜100)の範囲です。しきい値を超えて入力された要素のみが入力済みとしてカウントされます。

recognizeImage(BufferedImage bufferedImage)

public final RecognitionResult recognizeImage(BufferedImage bufferedImage)

画像を認識します

Parameters:

パラメーター説明
bufferedImagejava.awt.image.BufferedImage認識対象の画像

Returns: RecognitionResult - The recognition result

recognizeImage(BufferedImage bufferedImage, int recognitionThreshold)

public final RecognitionResult recognizeImage(BufferedImage bufferedImage, int recognitionThreshold)

画像を認識します

Parameters:

パラメーター説明
bufferedImagejava.awt.image.BufferedImage認識対象の画像
recognitionThresholdint(オプション)認識しきい値(0〜100)の範囲です。しきい値を超えて入力された要素のみが入力済みとしてカウントされます。

Returns: RecognitionResult - The recognition result

recognizeImage(InputStream inputStream)

public final RecognitionResult recognizeImage(InputStream inputStream)

画像を認識します

Parameters:

パラメーター説明
inputStreamjava.io.InputStream画像のストリーム

Returns: RecognitionResult - The recognition result

recognizeImage(InputStream inputStream, int recognitionThreshold)

public final RecognitionResult recognizeImage(InputStream inputStream, int recognitionThreshold)

画像を認識します

Parameters:

パラメーター説明
inputStreamjava.io.InputStream画像のストリーム
recognitionThresholdint(オプション)認識しきい値(0〜100)の範囲です。しきい値を超えて入力された要素のみが入力済みとしてカウントされます。

Returns: RecognitionResult - The recognition result

recognizeImage(String imagePath)

public final RecognitionResult recognizeImage(String imagePath)

画像を認識します

Parameters:

パラメーター説明
imagePathjava.lang.String認識対象画像へのパス

Returns: RecognitionResult - The recognition result

recognizeImage(String imagePath, int recognitionThreshold)

public final RecognitionResult recognizeImage(String imagePath, int recognitionThreshold)

画像を認識します

Parameters:

パラメーター説明
imagePathjava.lang.String認識対象画像へのパス
recognitionThresholdint(オプション)認識しきい値(0〜100)の範囲です。しきい値を超えて入力された要素のみが入力済みとしてカウントされます。

Returns: RecognitionResult - The recognition result

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

パラメーター説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメーター説明
arg0long
arg1int