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 StringrawTextprivate final DoubleconfidenceValueprivate final List<GenericTextWordBox>wordBoxesprivate final BooleanvalidationSuccessful
-
Constructor Summary
Constructors Constructor Description GenericTextRecognitionResult(String rawText, Double confidenceValue, List<GenericTextWordBox> wordBoxes, Boolean validationSuccessful)
-
Method Summary
Modifier and Type Method Description final StringgetRawText()final DoublegetConfidenceValue()final List<GenericTextWordBox>getWordBoxes()final BooleangetValidationSuccessful()-
-
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()
-
-
-
-