@Namespace(value="tesseract") @NoOffset @Properties(inherit=tesseract.class) public class ETEXT_DESC extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ETEXT_DESC()
character data
|
ETEXT_DESC(long size)
Native array allocator.
|
ETEXT_DESC(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Pointer |
cancel_this()
monitor-aware progress callback
|
ETEXT_DESC |
cancel_this(Pointer setter) |
CANCEL_FUNC |
cancel()
for errcode use
|
ETEXT_DESC |
cancel(CANCEL_FUNC setter) |
short |
count() |
ETEXT_DESC |
count(short setter) |
boolean |
deadline_exceeded() |
Pointer |
end_time()
this or other data for cancel
|
ETEXT_DESC |
end_time(Pointer setter) |
byte |
err_code()
ocr sets to 1, HP 0
|
ETEXT_DESC |
err_code(byte setter) |
ETEXT_DESC |
getPointer(long i) |
byte |
more_to_come()
percent complete increasing (0-100)
/** Progress monitor covers word recognition and it does not cover layout
analysis.
|
ETEXT_DESC |
more_to_come(byte setter) |
byte |
ocr_alive()
true if not last
|
ETEXT_DESC |
ocr_alive(byte setter) |
ETEXT_DESC |
position(long position) |
PROGRESS_FUNC |
progress_callback()
returns true to cancel
|
ETEXT_DESC |
progress_callback(PROGRESS_FUNC setter) |
PROGRESS_FUNC2 |
progress_callback2()
called whenever progress increases
|
ETEXT_DESC |
progress_callback2(PROGRESS_FUNC2 setter) |
short |
progress()
chars in this buffer(0)
|
ETEXT_DESC |
progress(short setter) |
void |
set_deadline_msecs(int deadline_msecs) |
EANYCODE_CHAR |
text() |
EANYCODE_CHAR |
text(int i)
Time to stop.
|
ETEXT_DESC |
text(int i,
EANYCODE_CHAR setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ETEXT_DESC(Pointer p)
Pointer(Pointer)
.public ETEXT_DESC(long size)
Pointer.position(long)
.public ETEXT_DESC()
public ETEXT_DESC position(long position)
public ETEXT_DESC getPointer(long i)
getPointer
in class Pointer
public short count()
public ETEXT_DESC count(short setter)
public short progress()
public ETEXT_DESC progress(short setter)
public byte more_to_come()
public ETEXT_DESC more_to_come(byte setter)
public byte ocr_alive()
public ETEXT_DESC ocr_alive(byte setter)
public byte err_code()
public ETEXT_DESC err_code(byte setter)
public CANCEL_FUNC cancel()
public ETEXT_DESC cancel(CANCEL_FUNC setter)
public PROGRESS_FUNC progress_callback()
public ETEXT_DESC progress_callback(PROGRESS_FUNC setter)
public PROGRESS_FUNC2 progress_callback2()
public ETEXT_DESC progress_callback2(PROGRESS_FUNC2 setter)
public Pointer cancel_this()
public ETEXT_DESC cancel_this(Pointer setter)
@ByRef @Cast(value="std::chrono::steady_clock::time_point*") public Pointer end_time()
public ETEXT_DESC end_time(Pointer setter)
@ByRef public EANYCODE_CHAR text(int i)
public ETEXT_DESC text(int i, EANYCODE_CHAR setter)
@MemberGetter public EANYCODE_CHAR text()
public void set_deadline_msecs(int deadline_msecs)
Copyright © 2024. All rights reserved.