-
public class TessBaseAPI.ProgressValuesRepresents values indicating recognition progress and status.
-
-
Field Summary
Fields Modifier and Type Field Description private final intpercent
-
Constructor Summary
Constructors Constructor Description TessBaseAPI.ProgressValues(int percent, Rect wordRect, Rect textRect)
-
Method Summary
Modifier and Type Method Description intgetPercent()Return word recognition progress. RectgetCurrentWordRect()Return the bounds of the word currently being recognized. RectgetCurrentRect()Return the bounds of the current recognition region. StringtoString()-
-
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.
-
-
-
-