Package io.scanbot.generictext
Class NativeTextRecognitionResult
-
- All Implemented Interfaces:
public final class NativeTextRecognitionResult
Recognition result of generic text scanner
-
-
Field Summary
Fields Modifier and Type Field Description private final String
rawString
private final Double
confidenceValue
private final Boolean
validationSuccessful
private final List<NativeTextCharacterBox>
listOfCharacters
private final List<NativeTextWordBox>
listOfWords
-
Constructor Summary
Constructors Constructor Description NativeTextRecognitionResult(String rawString, Double confidenceValue, Boolean validationSuccessful, List<NativeTextCharacterBox> listOfCharacters, List<NativeTextWordBox> listOfWords)
-
Method Summary
Modifier and Type Method Description final String
getRawString()
final Double
getConfidenceValue()
final Boolean
getValidationSuccessful()
final List<NativeTextCharacterBox>
getListOfCharacters()
final List<NativeTextWordBox>
getListOfWords()
-
-
Constructor Detail
-
NativeTextRecognitionResult
NativeTextRecognitionResult(String rawString, Double confidenceValue, Boolean validationSuccessful, List<NativeTextCharacterBox> listOfCharacters, List<NativeTextWordBox> listOfWords)
- Parameters:
rawString
- raw detected textconfidenceValue
- confidence of the recognitionvalidationSuccessful
- if the recognition and validation was successfullistOfCharacters
- list of detected characters
-
-
Method Detail
-
getRawString
final String getRawString()
-
getConfidenceValue
final Double getConfidenceValue()
-
getValidationSuccessful
final Boolean getValidationSuccessful()
-
getListOfCharacters
final List<NativeTextCharacterBox> getListOfCharacters()
-
getListOfWords
final List<NativeTextWordBox> getListOfWords()
-
-
-
-