- All Implemented Interfaces:
- com.sun.jna.NativeMapped
- Enclosing interface:
- ITessAPI
public static class ITessAPI.TessPageIterator
extends com.sun.jna.PointerType
Class to iterate over tesseract page structure, providing access to all
levels of the page hierarchy, without including any tesseract headers or
having to handle any tesseract structures.
WARNING! This class points to data held within the TessBaseAPI class, and
therefore can only be used while the TessBaseAPI class still exists and
has not been subjected to a call of Init
,
SetImage
, Recognize
, Clear
,
End
DetectOS
, or anything else that changes the
internal PAGE_RES
. See apitypes.h
for the
definition of PageIteratorLevel
. See also
ResultIterator
, derived from PageIterator
,
which adds in the ability to access OCR output with text-specific
methods.