public class OCRPageResults extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ORIENTATION_PAGE_DOWN |
static int |
ORIENTATION_PAGE_LEFT |
static int |
ORIENTATION_PAGE_RIGHT |
static int |
ORIENTATION_PAGE_UP |
static int |
TEXTLINE_ORDER_LEFT_TO_RIGHT |
static int |
TEXTLINE_ORDER_RIGHT_TO_LEFT |
static int |
TEXTLINE_ORDER_TOP_TO_BOTTOM |
static int |
WRITING_DIRECTION_LEFT_TO_RIGHT |
static int |
WRITING_DIRECTION_RIGHT_TO_LEFT |
static int |
WRITING_DIRECTION_TOP_TO_BOTTOM |
Constructor and Description |
---|
OCRPageResults(String hOCRText) |
OCRPageResults(String hOCRText,
int orientation,
int writingDirection,
int textlineOrder,
float deskewAngle) |
Modifier and Type | Method and Description |
---|---|
float |
getDeskewAngle() |
String |
getHOCRText() |
int |
getOrientation() |
int |
getTextlineOrder() |
int |
getWritingDirection() |
public static final int ORIENTATION_PAGE_UP
public static final int ORIENTATION_PAGE_RIGHT
public static final int ORIENTATION_PAGE_DOWN
public static final int ORIENTATION_PAGE_LEFT
public static final int WRITING_DIRECTION_LEFT_TO_RIGHT
public static final int WRITING_DIRECTION_RIGHT_TO_LEFT
public static final int WRITING_DIRECTION_TOP_TO_BOTTOM
public static final int TEXTLINE_ORDER_LEFT_TO_RIGHT
public static final int TEXTLINE_ORDER_RIGHT_TO_LEFT
public static final int TEXTLINE_ORDER_TOP_TO_BOTTOM
public OCRPageResults(String hOCRText, int orientation, int writingDirection, int textlineOrder, float deskewAngle)
public OCRPageResults(String hOCRText)
public String getHOCRText()
public int getOrientation()
public int getWritingDirection()
public int getTextlineOrder()
public float getDeskewAngle()