public static class ITessAPI.ETEXT_DESC
extends com.sun.jna.Structure
ocr_alive
to 1.
The HP side will set ocr_alive
to 0. Repeated failure to
reset to 1 indicates that the OCR engine is dead. If the cancel function
is not null then it is called with the number of user words found. If it
returns true then operation is cancelled.Modifier and Type | Field and Description |
---|---|
ITessAPI.CANCEL_FUNC |
cancel
returns true to cancel
|
com.sun.jna.Pointer |
cancel_this
this or other data for cancel
|
short |
count
chars in this buffer(0).
|
ITessAPI.TimeVal |
end_time
time to stop if not 0
|
byte |
err_code
for errcode use
|
byte |
more_to_come
true if not last
|
byte |
ocr_alive
ocr sets to 1, HP 0
|
short |
progress
percent complete increasing (0-100)
|
ITessAPI.EANYCODE_CHAR[] |
text
character data
|
Constructor and Description |
---|
ETEXT_DESC() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
getFieldOrder()
Gets Field Order.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public short count
public short progress
public byte more_to_come
public byte ocr_alive
public byte err_code
public ITessAPI.CANCEL_FUNC cancel
public com.sun.jna.Pointer cancel_this
public ITessAPI.TimeVal end_time
public ITessAPI.EANYCODE_CHAR[] text