Package io.scanbot.sdk.genericdocument
Class OcrResult
java.lang.Object
io.scanbot.sdk.genericdocument.OcrResult
Result of OCR text recognition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGetter for confidence field.getText()Getter for text field.
-
Constructor Details
-
OcrResult
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 Details
-
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
-