@Namespace(value="tesseract") @NoOffset @Properties(inherit=tesseract.class) public class LTRResultIterator extends PageIterator
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
LTRResultIterator(PAGE_RES page_res,
Tesseract tesseract,
int scale,
int scaled_yres,
int rect_left,
int rect_top,
int rect_width,
int rect_height) |
LTRResultIterator(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BlanksBeforeWord() |
float |
Confidence(int level) |
boolean |
EquivalentToTruth(BytePointer str) |
boolean |
EquivalentToTruth(String str) |
BytePointer |
GetBlamerDebug() |
BytePointer |
GetBlamerMisadaptionDebug() |
Pointer |
GetParamsTrainingBundle() |
BytePointer |
GetUTF8Text(int level) |
boolean |
HasBlamerInfo() |
boolean |
HasTruthString() |
void |
RowAttributes(float[] row_height,
float[] descenders,
float[] ascenders) |
void |
RowAttributes(FloatBuffer row_height,
FloatBuffer descenders,
FloatBuffer ascenders) |
void |
RowAttributes(FloatPointer row_height,
FloatPointer descenders,
FloatPointer ascenders) |
void |
SetLineSeparator(BytePointer new_line) |
void |
SetLineSeparator(String new_line) |
void |
SetParagraphSeparator(BytePointer new_para) |
void |
SetParagraphSeparator(String new_para) |
boolean |
SymbolIsDropcap() |
boolean |
SymbolIsSubscript() |
boolean |
SymbolIsSuperscript() |
int |
WordDirection() |
String |
WordFontAttributes(boolean[] is_bold,
boolean[] is_italic,
boolean[] is_underlined,
boolean[] is_monospace,
boolean[] is_serif,
boolean[] is_smallcaps,
int[] pointsize,
int[] font_id) |
String |
WordFontAttributes(boolean[] is_bold,
boolean[] is_italic,
boolean[] is_underlined,
boolean[] is_monospace,
boolean[] is_serif,
boolean[] is_smallcaps,
IntBuffer pointsize,
IntBuffer font_id) |
String |
WordFontAttributes(boolean[] is_bold,
boolean[] is_italic,
boolean[] is_underlined,
boolean[] is_monospace,
boolean[] is_serif,
boolean[] is_smallcaps,
IntPointer pointsize,
IntPointer font_id) |
BytePointer |
WordFontAttributes(BoolPointer is_bold,
BoolPointer is_italic,
BoolPointer is_underlined,
BoolPointer is_monospace,
BoolPointer is_serif,
BoolPointer is_smallcaps,
int[] pointsize,
int[] font_id) |
BytePointer |
WordFontAttributes(BoolPointer is_bold,
BoolPointer is_italic,
BoolPointer is_underlined,
BoolPointer is_monospace,
BoolPointer is_serif,
BoolPointer is_smallcaps,
IntBuffer pointsize,
IntBuffer font_id) |
BytePointer |
WordFontAttributes(BoolPointer is_bold,
BoolPointer is_italic,
BoolPointer is_underlined,
BoolPointer is_monospace,
BoolPointer is_serif,
BoolPointer is_smallcaps,
IntPointer pointsize,
IntPointer font_id) |
boolean |
WordIsFromDictionary() |
boolean |
WordIsNumeric() |
BytePointer |
WordLattice(int[] lattice_size) |
String |
WordLattice(IntBuffer lattice_size) |
BytePointer |
WordLattice(IntPointer lattice_size) |
BytePointer |
WordNormedUTF8Text() |
BytePointer |
WordRecognitionLanguage() |
BytePointer |
WordTruthUTF8Text() |
Baseline, Baseline, Baseline, Begin, BlockPolygon, BlockType, BoundingBox, BoundingBox, BoundingBox, BoundingBox, BoundingBox, BoundingBox, BoundingBoxInternal, BoundingBoxInternal, BoundingBoxInternal, Cmp, Empty, GetBinaryImage, GetImage, GetImage, GetImage, IsAtBeginningOf, IsAtFinalElement, IsWithinFirstTextlineOfParagraph, Next, Orientation, Orientation, Orientation, ParagraphInfo, ParagraphInfo, ParagraphInfo, ParagraphInfo, ParagraphInfo, ParagraphInfo, PositionedAtSameWord, put, RestartParagraph, RestartRow, SetBoundingBoxComponents, SetWordBlamerBundleaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic LTRResultIterator(Pointer p)
Pointer.Pointer(Pointer).@Cast(value="char*") public BytePointer GetUTF8Text(@Cast(value="tesseract::PageIteratorLevel") int level)
public void SetLineSeparator(@Cast(value="const char*") BytePointer new_line)
public void SetLineSeparator(String new_line)
public void SetParagraphSeparator(@Cast(value="const char*") BytePointer new_para)
public void SetParagraphSeparator(String new_para)
public void RowAttributes(FloatPointer row_height, FloatPointer descenders, FloatPointer ascenders)
public void RowAttributes(FloatBuffer row_height, FloatBuffer descenders, FloatBuffer ascenders)
public void RowAttributes(float[] row_height,
float[] descenders,
float[] ascenders)
@Cast(value="const char*") public BytePointer WordFontAttributes(@Cast(value="bool*") BoolPointer is_bold, @Cast(value="bool*") BoolPointer is_italic, @Cast(value="bool*") BoolPointer is_underlined, @Cast(value="bool*") BoolPointer is_monospace, @Cast(value="bool*") BoolPointer is_serif, @Cast(value="bool*") BoolPointer is_smallcaps, IntPointer pointsize, IntPointer font_id)
public String WordFontAttributes(@Cast(value="bool*") boolean[] is_bold, @Cast(value="bool*") boolean[] is_italic, @Cast(value="bool*") boolean[] is_underlined, @Cast(value="bool*") boolean[] is_monospace, @Cast(value="bool*") boolean[] is_serif, @Cast(value="bool*") boolean[] is_smallcaps, IntBuffer pointsize, IntBuffer font_id)
@Cast(value="const char*") public BytePointer WordFontAttributes(@Cast(value="bool*") BoolPointer is_bold, @Cast(value="bool*") BoolPointer is_italic, @Cast(value="bool*") BoolPointer is_underlined, @Cast(value="bool*") BoolPointer is_monospace, @Cast(value="bool*") BoolPointer is_serif, @Cast(value="bool*") BoolPointer is_smallcaps, int[] pointsize, int[] font_id)
public String WordFontAttributes(@Cast(value="bool*") boolean[] is_bold, @Cast(value="bool*") boolean[] is_italic, @Cast(value="bool*") boolean[] is_underlined, @Cast(value="bool*") boolean[] is_monospace, @Cast(value="bool*") boolean[] is_serif, @Cast(value="bool*") boolean[] is_smallcaps, IntPointer pointsize, IntPointer font_id)
@Cast(value="const char*") public BytePointer WordFontAttributes(@Cast(value="bool*") BoolPointer is_bold, @Cast(value="bool*") BoolPointer is_italic, @Cast(value="bool*") BoolPointer is_underlined, @Cast(value="bool*") BoolPointer is_monospace, @Cast(value="bool*") BoolPointer is_serif, @Cast(value="bool*") BoolPointer is_smallcaps, IntBuffer pointsize, IntBuffer font_id)
public String WordFontAttributes(@Cast(value="bool*") boolean[] is_bold, @Cast(value="bool*") boolean[] is_italic, @Cast(value="bool*") boolean[] is_underlined, @Cast(value="bool*") boolean[] is_monospace, @Cast(value="bool*") boolean[] is_serif, @Cast(value="bool*") boolean[] is_smallcaps, int[] pointsize, int[] font_id)
@Cast(value="const char*") public BytePointer WordRecognitionLanguage()
public int BlanksBeforeWord()
@Cast(value="const char*") public BytePointer GetBlamerDebug()
@Cast(value="const char*") public BytePointer GetBlamerMisadaptionDebug()
@Cast(value="bool") public boolean EquivalentToTruth(@Cast(value="const char*") BytePointer str)
@Cast(value="char*") public BytePointer WordTruthUTF8Text()
@Cast(value="char*") public BytePointer WordNormedUTF8Text()
@Cast(value="const char*") public BytePointer WordLattice(IntPointer lattice_size)
@Cast(value="const char*") public BytePointer WordLattice(int[] lattice_size)
Copyright © 2019. All rights reserved.