public class GenericTextRecognitionResult
Recognition result of generic text scanner
public GenericTextRecognitionResult(@NotNull
java.lang.String rawText,
double confidenceValue,
@NotNull
java.util.List<io.scanbot.sdk.generictext.GenericTextWordBox> wordBoxes,
boolean validationSuccessful)
Recognition result of generic text scanner
rawText - raw detected textconfidenceValue - confidence of the recognitionwordBoxes - list of detected wordsvalidationSuccessful - if the recognition and validation was successful@NotNull public java.lang.String getRawText()
raw detected text
public double getConfidenceValue()
confidence of the recognition
@NotNull public java.util.List<io.scanbot.sdk.generictext.GenericTextWordBox> getWordBoxes()
list of detected words
public boolean getValidationSuccessful()
if the recognition and validation was successful
@NotNull public java.lang.String component1()
raw detected text
public double component2()
confidence of the recognition
@NotNull public java.util.List<io.scanbot.sdk.generictext.GenericTextWordBox> component3()
list of detected words
public boolean component4()
if the recognition and validation was successful
@NotNull public GenericTextRecognitionResult copy(@NotNull java.lang.String rawText, double confidenceValue, @NotNull java.util.List<io.scanbot.sdk.generictext.GenericTextWordBox> wordBoxes, boolean validationSuccessful)
Recognition result of generic text scanner
rawText - raw detected textvalidationSuccessful - if the recognition and validation was successfulconfidenceValue - confidence of the recognitionwordBoxes - list of detected words@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)