Class OcrResult


  • public class OcrResult
    extends java.lang.Object
    Result 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
      double getConfidence()
      Getter for confidence field.
      java.lang.String getText()
      Getter for text field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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