Package 

Class TessBaseAPI.ProgressValues

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final int percent
    • Method Summary

      Modifier and Type Method Description
      int getPercent() Return word recognition progress.
      Rect getCurrentWordRect() Return the bounds of the word currently being recognized.
      Rect getCurrentRect() Return the bounds of the current recognition region.
      String toString()
      • Methods inherited from class java.lang.Object

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

      • TessBaseAPI.ProgressValues

        TessBaseAPI.ProgressValues(int percent, Rect wordRect, Rect textRect)
    • Method Detail

      • getPercent

         int getPercent()

        Return word recognition progress.

      • getCurrentWordRect

         Rect getCurrentWordRect()

        Return the bounds of the word currently being recognized.

        The returned bounding box is in the Android coordinate system,which has the origin in the top left.

      • getCurrentRect

         Rect getCurrentRect()

        Return the bounds of the current recognition region. May match thebounds of the entire image or a sub-rectangle of the entire image.

        The returned bounding box is in the Android coordinate system,which has the origin in the top left.