Package io.scanbot.sdk.generictext
Class GenericTextRecognitionResult
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class GenericTextRecognitionResult implements Parcelable
Recognition result of generic text scanner
-
-
Field Summary
Fields Modifier and Type Field Description private final String
rawText
private final Double
confidenceValue
private final List<GenericTextWordBox>
wordBoxes
private final Boolean
validationSuccessful
-
Constructor Summary
Constructors Constructor Description GenericTextRecognitionResult(String rawText, Double confidenceValue, List<GenericTextWordBox> wordBoxes, Boolean validationSuccessful)
-
Method Summary
Modifier and Type Method Description final String
getRawText()
final Double
getConfidenceValue()
final List<GenericTextWordBox>
getWordBoxes()
final Boolean
getValidationSuccessful()
-
-
Constructor Detail
-
GenericTextRecognitionResult
GenericTextRecognitionResult(String rawText, Double confidenceValue, List<GenericTextWordBox> wordBoxes, Boolean validationSuccessful)
- Parameters:
rawText
- raw detected textconfidenceValue
- confidence of the recognitionwordBoxes
- list of detected wordsvalidationSuccessful
- if the recognition and validation was successful
-
-
Method Detail
-
getRawText
final String getRawText()
-
getConfidenceValue
final Double getConfidenceValue()
-
getWordBoxes
final List<GenericTextWordBox> getWordBoxes()
-
getValidationSuccessful
final Boolean getValidationSuccessful()
-
-
-
-