public class TessBaseAPI.ProgressValues
Represents values indicating recognition progress and status.
public ProgressValues(int percent,
android.graphics.Rect wordRect,
android.graphics.Rect textRect)
public int getPercent()
Return word recognition progress.
public android.graphics.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.
android.graphics.Rect bounding boxpublic android.graphics.Rect getCurrentRect()
Return the bounds of the current recognition region. May match the bounds 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.
android.graphics.Rect bounding box