Package io.scanbot.sdk.genericdocument
Class OcrResult
- java.lang.Object
-
- io.scanbot.sdk.genericdocument.OcrResult
-
public class OcrResult extends java.lang.ObjectResult of OCR text recognition.
-
-
Constructor Summary
Constructors Constructor Description OcrResult(java.lang.String text, double confidence)Constructs OcrResult with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetConfidence()Getter for confidence field.java.lang.StringgetText()Getter for text field.
-
-
-
Constructor Detail
-
OcrResult
public OcrResult(java.lang.String text, double confidence)Constructs OcrResult with the given params.- Parameters:
text- Maximum number of accumulated frames to inspect before actual result is returned.confidence- Minimum number of accumulated frames that have equal result.
-
-
Method Detail
-
getText
public java.lang.String getText()
Getter for text field. See constructor documentation for more information about the field.- Returns:
- text
-
getConfidence
public double getConfidence()
Getter for confidence field. See constructor documentation for more information about the field.- Returns:
- confidence
-
-