Package | Description |
---|---|
net.sourceforge.tess4j |
Modifier and Type | Method and Description |
---|---|
ITessAPI.TessPageIterator |
TessAPI.TessBaseAPIAnalyseLayout(ITessAPI.TessBaseAPI handle)
Runs page layout analysis in the mode set by
SetPageSegMode . |
static ITessAPI.TessPageIterator |
TessAPI1.TessBaseAPIAnalyseLayout(ITessAPI.TessBaseAPI handle)
Runs page layout analysis in the mode set by
SetPageSegMode . |
ITessAPI.TessPageIterator |
TessAPI.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
ITessAPI.TessPageIterator |
TessAPI.TessResultIteratorGetPageIterator(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessResultIteratorGetPageIterator(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
ITessAPI.TessPageIterator |
TessAPI.TessResultIteratorGetPageIteratorConst(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessResultIteratorGetPageIteratorConst(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
Modifier and Type | Method and Description |
---|---|
int |
TessAPI.TessPageIteratorBaseline(ITessAPI.TessPageIterator handle,
int level,
java.nio.IntBuffer x1,
java.nio.IntBuffer y1,
java.nio.IntBuffer x2,
java.nio.IntBuffer y2)
Returns the baseline of the current object at the given level.
|
static int |
TessAPI1.TessPageIteratorBaseline(ITessAPI.TessPageIterator handle,
int level,
java.nio.IntBuffer x1,
java.nio.IntBuffer y1,
java.nio.IntBuffer x2,
java.nio.IntBuffer y2)
Returns the baseline of the current object at the given level.
|
void |
TessAPI.TessPageIteratorBegin(ITessAPI.TessPageIterator handle)
Resets the iterator to point to the start of the page.
|
static void |
TessAPI1.TessPageIteratorBegin(ITessAPI.TessPageIterator handle)
Resets the iterator to point to the start of the page.
|
int |
TessAPI.TessPageIteratorBlockType(ITessAPI.TessPageIterator handle)
Returns the type of the current block.
|
static int |
TessAPI1.TessPageIteratorBlockType(ITessAPI.TessPageIterator handle)
Returns the type of the current block.
|
int |
TessAPI.TessPageIteratorBoundingBox(ITessAPI.TessPageIterator handle,
int level,
java.nio.IntBuffer left,
java.nio.IntBuffer top,
java.nio.IntBuffer right,
java.nio.IntBuffer bottom)
Returns the bounding rectangle of the current object at the given level
in coordinates of the original image.
|
static int |
TessAPI1.TessPageIteratorBoundingBox(ITessAPI.TessPageIterator handle,
int level,
java.nio.IntBuffer left,
java.nio.IntBuffer top,
java.nio.IntBuffer right,
java.nio.IntBuffer bottom)
Returns the bounding rectangle of the current object at the given level
in coordinates of the original image.
|
ITessAPI.TessPageIterator |
TessAPI.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
void |
TessAPI.TessPageIteratorDelete(ITessAPI.TessPageIterator handle)
Deletes the specified PageIterator instance.
|
static void |
TessAPI1.TessPageIteratorDelete(ITessAPI.TessPageIterator handle)
Deletes the specified PageIterator instance.
|
int |
TessAPI.TessPageIteratorIsAtBeginningOf(ITessAPI.TessPageIterator handle,
int level)
Returns TRUE if the iterator is at the start of an object at the given
level.
|
static int |
TessAPI1.TessPageIteratorIsAtBeginningOf(ITessAPI.TessPageIterator handle,
int level)
Returns TRUE if the iterator is at the start of an object at the given
level.
|
int |
TessAPI.TessPageIteratorIsAtFinalElement(ITessAPI.TessPageIterator handle,
int level,
int element)
Returns whether the iterator is positioned at the last element in a given
level.
|
static int |
TessAPI1.TessPageIteratorIsAtFinalElement(ITessAPI.TessPageIterator handle,
int level,
int element)
Returns whether the iterator is positioned at the last element in a given
level.
|
int |
TessAPI.TessPageIteratorNext(ITessAPI.TessPageIterator handle,
int level)
Moves to the start of the next object at the given level in the page
hierarchy, and returns false if the end of the page was reached.
|
static int |
TessAPI1.TessPageIteratorNext(ITessAPI.TessPageIterator handle,
int level)
Moves to the start of the next object at the given level in the page
hierarchy, and returns false if the end of the page was reached.
|
void |
TessAPI.TessPageIteratorOrientation(ITessAPI.TessPageIterator handle,
java.nio.IntBuffer orientation,
java.nio.IntBuffer writing_direction,
java.nio.IntBuffer textline_order,
java.nio.FloatBuffer deskew_angle)
Returns the orientation.
|
static void |
TessAPI1.TessPageIteratorOrientation(ITessAPI.TessPageIterator handle,
java.nio.IntBuffer orientation,
java.nio.IntBuffer writing_direction,
java.nio.IntBuffer textline_order,
java.nio.FloatBuffer deskew_angle)
Returns the orientation.
|