public class NativeTextRecognitionResult
Recognition result of generic text scanner
public NativeTextRecognitionResult(@NotNull
java.lang.String rawString,
double confidenceValue,
boolean validationSuccessful,
@NotNull
java.util.List<io.scanbot.generictext.NativeTextCharacterBox> listOfCharacters,
@NotNull
java.util.List<io.scanbot.generictext.NativeTextWordBox> listOfWords)
Recognition result of generic text scanner
rawString - raw detected textconfidenceValue - confidence of the recognitionvalidationSuccessful - if the recognition and validation was successfullistOfCharacters - list of detected characters@NotNull public java.lang.String getRawString()
raw detected text
public double getConfidenceValue()
confidence of the recognition
public boolean getValidationSuccessful()
if the recognition and validation was successful
@NotNull public java.util.List<io.scanbot.generictext.NativeTextCharacterBox> getListOfCharacters()
list of detected characters
@NotNull public java.util.List<io.scanbot.generictext.NativeTextWordBox> getListOfWords()
@NotNull public java.lang.String component1()
raw detected text
public double component2()
confidence of the recognition
public boolean component3()
if the recognition and validation was successful
@NotNull public java.util.List<io.scanbot.generictext.NativeTextCharacterBox> component4()
list of detected characters
@NotNull public java.util.List<io.scanbot.generictext.NativeTextWordBox> component5()
@NotNull public NativeTextRecognitionResult copy(@NotNull java.lang.String rawString, double confidenceValue, boolean validationSuccessful, @NotNull java.util.List<io.scanbot.generictext.NativeTextCharacterBox> listOfCharacters, @NotNull java.util.List<io.scanbot.generictext.NativeTextWordBox> listOfWords)
Recognition result of generic text scanner
rawString - raw detected textvalidationSuccessful - if the recognition and validation was successfulconfidenceValue - confidence of the recognitionlistOfCharacters - list of detected characters@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)