Package org.bytedeco.tesseract
Class ETEXT_DESC
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.tesseract.ETEXT_DESC
-
- All Implemented Interfaces:
AutoCloseable
@Namespace("tesseract") @NoOffset @Properties(inherit=tesseract.class) public class ETEXT_DESC extends Pointer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description ETEXT_DESC()character dataETEXT_DESC(long size)Native array allocator.ETEXT_DESC(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CANCEL_FUNCcancel()for errcode useETEXT_DESCcancel(CANCEL_FUNC setter)Pointercancel_this()monitor-aware progress callbackETEXT_DESCcancel_this(Pointer setter)shortcount()ETEXT_DESCcount(short setter)booleandeadline_exceeded()Pointerend_time()this or other data for cancelETEXT_DESCend_time(Pointer setter)byteerr_code()ocr sets to 1, HP 0ETEXT_DESCerr_code(byte setter)ETEXT_DESCgetPointer(long i)bytemore_to_come()percent complete increasing (0-100) /** Progress monitor covers word recognition and it does not cover layout analysis.ETEXT_DESCmore_to_come(byte setter)byteocr_alive()true if not lastETEXT_DESCocr_alive(byte setter)ETEXT_DESCposition(long position)shortprogress()chars in this buffer(0)ETEXT_DESCprogress(short setter)PROGRESS_FUNCprogress_callback()returns true to cancelETEXT_DESCprogress_callback(PROGRESS_FUNC setter)PROGRESS_FUNC2progress_callback2()called whenever progress increasesETEXT_DESCprogress_callback2(PROGRESS_FUNC2 setter)voidset_deadline_msecs(int deadline_msecs)EANYCODE_CHARtext()EANYCODE_CHARtext(int i)Time to stop.ETEXT_DESCtext(int i, EANYCODE_CHAR setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
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, trimMemory, withDeallocator, zero
-
-
-
-
Constructor Detail
-
ETEXT_DESC
public ETEXT_DESC(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
ETEXT_DESC
public ETEXT_DESC(long size)
Native array allocator. Access withPointer.position(long).
-
ETEXT_DESC
public ETEXT_DESC()
character data
-
-
Method Detail
-
position
public ETEXT_DESC position(long position)
-
getPointer
public ETEXT_DESC getPointer(long i)
- Overrides:
getPointerin classPointer
-
count
public short count()
-
count
public ETEXT_DESC count(short setter)
-
progress
public short progress()
chars in this buffer(0)
-
progress
public ETEXT_DESC progress(short setter)
-
more_to_come
public byte more_to_come()
percent complete increasing (0-100) /** Progress monitor covers word recognition and it does not cover layout analysis. See Ray comment in https://github.com/tesseract-ocr/tesseract/pull/27
-
more_to_come
public ETEXT_DESC more_to_come(byte setter)
-
ocr_alive
public byte ocr_alive()
true if not last
-
ocr_alive
public ETEXT_DESC ocr_alive(byte setter)
-
err_code
public byte err_code()
ocr sets to 1, HP 0
-
err_code
public ETEXT_DESC err_code(byte setter)
-
cancel
public CANCEL_FUNC cancel()
for errcode use
-
cancel
public ETEXT_DESC cancel(CANCEL_FUNC setter)
-
progress_callback
public PROGRESS_FUNC progress_callback()
returns true to cancel
-
progress_callback
public ETEXT_DESC progress_callback(PROGRESS_FUNC setter)
-
progress_callback2
public PROGRESS_FUNC2 progress_callback2()
called whenever progress increases
-
progress_callback2
public ETEXT_DESC progress_callback2(PROGRESS_FUNC2 setter)
-
cancel_this
public Pointer cancel_this()
monitor-aware progress callback
-
cancel_this
public ETEXT_DESC cancel_this(Pointer setter)
-
end_time
@ByRef @Cast("std::chrono::steady_clock::time_point*") public Pointer end_time()
this or other data for cancel
-
end_time
public ETEXT_DESC end_time(Pointer setter)
-
text
@ByRef public EANYCODE_CHAR text(int i)
Time to stop. Expected to be set only by call to set_deadline_msecs().
-
text
public ETEXT_DESC text(int i, EANYCODE_CHAR setter)
-
text
@MemberGetter public EANYCODE_CHAR text()
-
set_deadline_msecs
public void set_deadline_msecs(int deadline_msecs)
-
deadline_exceeded
@Cast("bool") public boolean deadline_exceeded()
-
-