Class ScanResult.OcrResult

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ScanResult

    public static class ScanResult.OcrResult
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String hocrTextLayout
      The recognized text in hOCR format (with position, style)
      java.lang.String text
      Raw text recognized in the image
    • Constructor Summary

      Constructors 
      Constructor Description
      OcrResult​(java.lang.String text, java.lang.String hocrTextLayout)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • text

        public final java.lang.String text
        Raw text recognized in the image
      • hocrTextLayout

        public final java.lang.String hocrTextLayout
        The recognized text in hOCR format (with position, style)
    • Constructor Detail

      • OcrResult

        public OcrResult​(java.lang.String text,
                         java.lang.String hocrTextLayout)