Class OcrResult

java.lang.Object
io.scanbot.sdk.genericdocument.OcrResult

public class OcrResult extends Object
Result of OCR text recognition.
  • Constructor Details

    • OcrResult

      public OcrResult(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 Details

    • getText

      public 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