Package org.bytedeco.tesseract
Class LTRResultIterator
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.tesseract.PageIterator
-
- org.bytedeco.tesseract.LTRResultIterator
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
ResultIterator
@Namespace("tesseract") @NoOffset @Properties(inherit=tesseract.class) public class LTRResultIterator extends PageIterator
-
-
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 LTRResultIterator(Pointer p)Pointer cast constructor.LTRResultIterator(PAGE_RES page_res, Tesseract tesseract, int scale, int scaled_yres, int rect_left, int rect_top, int rect_width, int rect_height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intBlanksBeforeWord()floatConfidence(int level)booleanEquivalentToTruth(String str)booleanEquivalentToTruth(BytePointer str)BytePointerGetBlamerDebug()BytePointerGetBlamerMisadaptionDebug()PointerGetParamsTrainingBundle()BytePointerGetUTF8Text(int level)booleanHasBlamerInfo()booleanHasTruthString()voidSetLineSeparator(String new_line)voidSetLineSeparator(BytePointer new_line)voidSetParagraphSeparator(String new_para)voidSetParagraphSeparator(BytePointer new_para)booleanSymbolIsDropcap()booleanSymbolIsSubscript()booleanSymbolIsSuperscript()intWordDirection()StringWordFontAttributes(boolean[] is_bold, boolean[] is_italic, boolean[] is_underlined, boolean[] is_monospace, boolean[] is_serif, boolean[] is_smallcaps, int[] pointsize, int[] font_id)StringWordFontAttributes(boolean[] is_bold, boolean[] is_italic, boolean[] is_underlined, boolean[] is_monospace, boolean[] is_serif, boolean[] is_smallcaps, IntBuffer pointsize, IntBuffer font_id)StringWordFontAttributes(boolean[] is_bold, boolean[] is_italic, boolean[] is_underlined, boolean[] is_monospace, boolean[] is_serif, boolean[] is_smallcaps, IntPointer pointsize, IntPointer font_id)BytePointerWordFontAttributes(BoolPointer is_bold, BoolPointer is_italic, BoolPointer is_underlined, BoolPointer is_monospace, BoolPointer is_serif, BoolPointer is_smallcaps, int[] pointsize, int[] font_id)BytePointerWordFontAttributes(BoolPointer is_bold, BoolPointer is_italic, BoolPointer is_underlined, BoolPointer is_monospace, BoolPointer is_serif, BoolPointer is_smallcaps, IntBuffer pointsize, IntBuffer font_id)BytePointerWordFontAttributes(BoolPointer is_bold, BoolPointer is_italic, BoolPointer is_underlined, BoolPointer is_monospace, BoolPointer is_serif, BoolPointer is_smallcaps, IntPointer pointsize, IntPointer font_id)booleanWordIsFromDictionary()booleanWordIsNumeric()BytePointerWordLattice(int[] lattice_size)StringWordLattice(IntBuffer lattice_size)BytePointerWordLattice(IntPointer lattice_size)BytePointerWordNormedUTF8Text()BytePointerWordRecognitionLanguage()BytePointerWordTruthUTF8Text()-
Methods inherited from class org.bytedeco.tesseract.PageIterator
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, RowAttributes, RowAttributes, RowAttributes, SetBoundingBoxComponents, SetWordBlamerBundle
-
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, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zero
-
-
-
-
Constructor Detail
-
LTRResultIterator
public LTRResultIterator(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
GetUTF8Text
@Cast("char*") public BytePointer GetUTF8Text(@Cast("tesseract::PageIteratorLevel") int level)
-
SetLineSeparator
public void SetLineSeparator(@Cast("const char*") BytePointer new_line)
-
SetLineSeparator
public void SetLineSeparator(String new_line)
-
SetParagraphSeparator
public void SetParagraphSeparator(@Cast("const char*") BytePointer new_para)
-
SetParagraphSeparator
public void SetParagraphSeparator(String new_para)
-
Confidence
public float Confidence(@Cast("tesseract::PageIteratorLevel") int level)
-
WordFontAttributes
@Cast("const char*") public BytePointer WordFontAttributes(@Cast("bool*") BoolPointer is_bold, @Cast("bool*") BoolPointer is_italic, @Cast("bool*") BoolPointer is_underlined, @Cast("bool*") BoolPointer is_monospace, @Cast("bool*") BoolPointer is_serif, @Cast("bool*") BoolPointer is_smallcaps, IntPointer pointsize, IntPointer font_id)
-
WordFontAttributes
public String WordFontAttributes(@Cast("bool*") boolean[] is_bold, @Cast("bool*") boolean[] is_italic, @Cast("bool*") boolean[] is_underlined, @Cast("bool*") boolean[] is_monospace, @Cast("bool*") boolean[] is_serif, @Cast("bool*") boolean[] is_smallcaps, IntBuffer pointsize, IntBuffer font_id)
-
WordFontAttributes
@Cast("const char*") public BytePointer WordFontAttributes(@Cast("bool*") BoolPointer is_bold, @Cast("bool*") BoolPointer is_italic, @Cast("bool*") BoolPointer is_underlined, @Cast("bool*") BoolPointer is_monospace, @Cast("bool*") BoolPointer is_serif, @Cast("bool*") BoolPointer is_smallcaps, int[] pointsize, int[] font_id)
-
WordFontAttributes
public String WordFontAttributes(@Cast("bool*") boolean[] is_bold, @Cast("bool*") boolean[] is_italic, @Cast("bool*") boolean[] is_underlined, @Cast("bool*") boolean[] is_monospace, @Cast("bool*") boolean[] is_serif, @Cast("bool*") boolean[] is_smallcaps, IntPointer pointsize, IntPointer font_id)
-
WordFontAttributes
@Cast("const char*") public BytePointer WordFontAttributes(@Cast("bool*") BoolPointer is_bold, @Cast("bool*") BoolPointer is_italic, @Cast("bool*") BoolPointer is_underlined, @Cast("bool*") BoolPointer is_monospace, @Cast("bool*") BoolPointer is_serif, @Cast("bool*") BoolPointer is_smallcaps, IntBuffer pointsize, IntBuffer font_id)
-
WordFontAttributes
public String WordFontAttributes(@Cast("bool*") boolean[] is_bold, @Cast("bool*") boolean[] is_italic, @Cast("bool*") boolean[] is_underlined, @Cast("bool*") boolean[] is_monospace, @Cast("bool*") boolean[] is_serif, @Cast("bool*") boolean[] is_smallcaps, int[] pointsize, int[] font_id)
-
WordRecognitionLanguage
@Cast("const char*") public BytePointer WordRecognitionLanguage()
-
WordDirection
@Cast("tesseract::StrongScriptDirection") public int WordDirection()
-
WordIsFromDictionary
@Cast("bool") public boolean WordIsFromDictionary()
-
BlanksBeforeWord
public int BlanksBeforeWord()
-
WordIsNumeric
@Cast("bool") public boolean WordIsNumeric()
-
HasBlamerInfo
@Cast("bool") public boolean HasBlamerInfo()
-
GetBlamerDebug
@Cast("const char*") public BytePointer GetBlamerDebug()
-
GetBlamerMisadaptionDebug
@Cast("const char*") public BytePointer GetBlamerMisadaptionDebug()
-
HasTruthString
@Cast("bool") public boolean HasTruthString()
-
EquivalentToTruth
@Cast("bool") public boolean EquivalentToTruth(@Cast("const char*") BytePointer str)
-
WordTruthUTF8Text
@Cast("char*") public BytePointer WordTruthUTF8Text()
-
WordNormedUTF8Text
@Cast("char*") public BytePointer WordNormedUTF8Text()
-
WordLattice
@Cast("const char*") public BytePointer WordLattice(IntPointer lattice_size)
-
WordLattice
@Cast("const char*") public BytePointer WordLattice(int[] lattice_size)
-
SymbolIsSuperscript
@Cast("bool") public boolean SymbolIsSuperscript()
-
SymbolIsSubscript
@Cast("bool") public boolean SymbolIsSubscript()
-
SymbolIsDropcap
@Cast("bool") public boolean SymbolIsDropcap()
-
-