Package com.nefrock.edgeocr
Class Text
java.lang.Object
com.nefrock.edgeocr.Detection
com.nefrock.edgeocr.Text
検出対象が文字列の場合の検出結果を表すクラスです。
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfloat
検出された文字列の信頼値を取得します。検出された各文字について、その他の文字候補とその信頼値を取得します。getText()
検出された文字列を取得します。void
文字列を設定します。Methods inherited from class com.nefrock.edgeocr.Detection
getBoundingBox, getCropIndex, getDetectionScore, getStatus, getType
-
Method Details
-
getText
検出された文字列を取得します。- Returns:
- 検出された文字列
-
setText
文字列を設定します。- Parameters:
text
- 文字列
-
getConfidence
public float getConfidence()検出された文字列の信頼値を取得します。- Returns:
- 文字列の信頼値
-
getLetterCandidates
検出された各文字について、その他の文字候補とその信頼値を取得します。- Returns:
- 検出された文字列の候補列
-