@Namespace(value="tesseract") @NoOffset @Properties(inherit=tesseract.class) public class TessResultRenderer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TessResultRenderer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AddImage(TessBaseAPI api)
Adds the recognized text from the source image to the current document.
|
boolean |
BeginDocument(BytePointer title)
Starts a new document with the given title.
|
boolean |
BeginDocument(String title) |
boolean |
EndDocument()
Finishes the document and finalizes the output data
Invalid if BeginDocument not yet called.
|
BytePointer |
file_extension() |
boolean |
happy() |
int |
imagenum()
Returns the index of the last image given to AddImage
(i.e.
|
void |
insert(TessResultRenderer next) |
TessResultRenderer |
next() |
BytePointer |
title() |
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, withDeallocator, zeropublic TessResultRenderer(Pointer p)
Pointer(Pointer).public void insert(TessResultRenderer next)
public TessResultRenderer next()
@Cast(value="bool") public boolean BeginDocument(@Cast(value="const char*") BytePointer title)
@Cast(value="bool") public boolean AddImage(TessBaseAPI api)
@Cast(value="bool") public boolean EndDocument()
@Cast(value="const char*") public BytePointer file_extension()
@Cast(value="const char*") public BytePointer title()
public int imagenum()
Copyright © 2024. All rights reserved.