public class OcrResult
Result of OCR text recognition.
public OcrResult(@NotNull
java.lang.String text,
float confidence)
Result of OCR text recognition.
text - recognized textconfidence - confidence in result accuracy. The value ranges from 0 to 100, higher is better.@NotNull public java.lang.String getText()
recognized text
public float getConfidence()
confidence in result accuracy.
The value ranges from 0 to 100, higher is better.
@NotNull public java.lang.String component1()
recognized text
public float component2()
confidence in result accuracy.
The value ranges from 0 to 100, higher is better.
@NotNull public OcrResult copy(@NotNull java.lang.String text, float confidence)
Result of OCR text recognition.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)