Package | Description |
---|---|
net.sourceforge.tess4j |
Modifier and Type | Method and Description |
---|---|
static ITessAPI.TessPageIterator |
TessAPI1.TessBaseAPIAnalyseLayout(ITessAPI.TessBaseAPI handle)
Runs page layout analysis in the mode set by
SetPageSegMode . |
ITessAPI.TessPageIterator |
TessAPI.TessBaseAPIAnalyseLayout(ITessAPI.TessBaseAPI handle)
Runs page layout analysis in the mode set by
SetPageSegMode . |
static ITessAPI.TessPageIterator |
TessAPI1.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
ITessAPI.TessPageIterator |
TessAPI.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessResultIteratorGetPageIterator(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
ITessAPI.TessPageIterator |
TessAPI.TessResultIteratorGetPageIterator(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.
|
ITessAPI.TessPageIterator |
TessAPI.TessResultIteratorGetPageIteratorConst(ITessAPI.TessResultIterator handle)
Gets the PageIterator of the specified ResultIterator instance.
|
Modifier and Type | Method and Description |
---|---|
static int |
TessAPI1.TessPageIteratorBaseline(ITessAPI.TessPageIterator handle,
int level,
IntBuffer x1,
IntBuffer y1,
IntBuffer x2,
IntBuffer y2)
Returns the baseline of the current object at the given level.
|
int |
TessAPI.TessPageIteratorBaseline(ITessAPI.TessPageIterator handle,
int level,
IntBuffer x1,
IntBuffer y1,
IntBuffer x2,
IntBuffer y2)
Returns the baseline of the current object at the given level.
|
static void |
TessAPI1.TessPageIteratorBegin(ITessAPI.TessPageIterator handle)
Resets the iterator to point to the start of the page.
|
void |
TessAPI.TessPageIteratorBegin(ITessAPI.TessPageIterator handle)
Resets the iterator to point to the start of the page.
|
static int |
TessAPI1.TessPageIteratorBlockType(ITessAPI.TessPageIterator handle)
Returns the type of the current block.
|
int |
TessAPI.TessPageIteratorBlockType(ITessAPI.TessPageIterator handle)
Returns the type of the current block.
|
static int |
TessAPI1.TessPageIteratorBoundingBox(ITessAPI.TessPageIterator handle,
int level,
IntBuffer left,
IntBuffer top,
IntBuffer right,
IntBuffer bottom)
Returns the bounding rectangle of the current object at the given level
in coordinates of the original image.
|
int |
TessAPI.TessPageIteratorBoundingBox(ITessAPI.TessPageIterator handle,
int level,
IntBuffer left,
IntBuffer top,
IntBuffer right,
IntBuffer bottom)
Returns the bounding rectangle of the current object at the given level
in coordinates of the original image.
|
static ITessAPI.TessPageIterator |
TessAPI1.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
ITessAPI.TessPageIterator |
TessAPI.TessPageIteratorCopy(ITessAPI.TessPageIterator handle)
Creates a copy of the specified PageIterator instance.
|
static void |
TessAPI1.TessPageIteratorDelete(ITessAPI.TessPageIterator handle)
Deletes the specified PageIterator instance.
|
void |
TessAPI.TessPageIteratorDelete(ITessAPI.TessPageIterator handle)
Deletes the specified PageIterator instance.
|
static net.sourceforge.lept4j.Pix |
TessAPI1.TessPageIteratorGetBinaryImage(ITessAPI.TessPageIterator handle,
int level)
Returns a binary image of the current object at the given level.
|
net.sourceforge.lept4j.Pix |
TessAPI.TessPageIteratorGetBinaryImage(ITessAPI.TessPageIterator handle,
int level)
Returns a binary image of the current object at the given level.
|
static net.sourceforge.lept4j.Pix |
TessAPI1.TessPageIteratorGetImage(ITessAPI.TessPageIterator handle,
int level,
int padding,
net.sourceforge.lept4j.Pix original_image,
IntBuffer left,
IntBuffer top)
Returns an image of the current object at the given level in greyscale if
available in the input.
|
net.sourceforge.lept4j.Pix |
TessAPI.TessPageIteratorGetImage(ITessAPI.TessPageIterator handle,
int level,
int padding,
net.sourceforge.lept4j.Pix original_image,
IntBuffer left,
IntBuffer top)
Returns an image of the current object at the given level in greyscale if
available in the input.
|
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.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.TessPageIteratorIsAtFinalElement(ITessAPI.TessPageIterator handle,
int level,
int element)
Returns whether the iterator is positioned at the last element in a 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.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.
|
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 void |
TessAPI1.TessPageIteratorOrientation(ITessAPI.TessPageIterator handle,
IntBuffer orientation,
IntBuffer writing_direction,
IntBuffer textline_order,
FloatBuffer deskew_angle)
Returns the orientation.
|
void |
TessAPI.TessPageIteratorOrientation(ITessAPI.TessPageIterator handle,
IntBuffer orientation,
IntBuffer writing_direction,
IntBuffer textline_order,
FloatBuffer deskew_angle)
Returns the orientation.
|
static void |
TessAPI1.TessPageIteratorParagraphInfo(ITessAPI.TessPageIterator handle,
IntBuffer justification,
IntBuffer is_list_item,
IntBuffer is_crown,
IntBuffer first_line_indent)
Gets paragraph information.
|
void |
TessAPI.TessPageIteratorParagraphInfo(ITessAPI.TessPageIterator handle,
IntBuffer justification,
IntBuffer is_list_item,
IntBuffer is_crown,
IntBuffer first_line_indent)
Gets paragraph information.
|
Copyright © 2017 Tess4J. All Rights Reserved.