FlusseractBindings class

Bindings for src/flusseract.h.

Regenerate bindings with flutter pub run ffigen --config ffigen.yaml.

Constructors

FlusseractBindings.new(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
FlusseractBindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

Clear(tess_api_ptr_t arg0) → void
ClearPersistentCache(tess_api_ptr_t arg0) → void
Create() tess_api_ptr_t
CreatePixImageByFilePath(Pointer<Char> arg0) pix_image_ptr_t
CreatePixImageFromBytes(Pointer<Uint8> arg0, int arg1) pix_image_ptr_t
Destroy(tess_api_ptr_t arg0) → void
DestroyPixImage(pix_image_ptr_t arg0) → void
GetBoundingBoxes(tess_api_ptr_t arg0, int arg1) Pointer<bounding_boxes>
GetBoundingBoxesVerbose(tess_api_ptr_t arg0) Pointer<bounding_boxes>
GetDataPath() Pointer<Char>
GetPageSegMode(tess_api_ptr_t arg0) int
GetPixImageHeight(pix_image_ptr_t arg0) int
GetPixImageWidth(pix_image_ptr_t arg0) int
HOCRText(tess_api_ptr_t arg0) Pointer<Char>
Init(tess_api_ptr_t arg0, Pointer<Char> arg1, Pointer<Char> arg2, Pointer<Char> arg3) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ProcessDocumentFile(tess_api_ptr_t arg0, Pointer<Char> arg1, Pointer<Char> arg2) → void
setLogger(Pointer<logger_t> arg0) → void
Set the logger to be used by the library
SetPageSegMode(tess_api_ptr_t arg0, int arg1) → void
SetPixImage(tess_api_ptr_t arg0, pix_image_ptr_t arg1) → void
SetVariable(tess_api_ptr_t arg0, Pointer<Char> arg1, Pointer<Char> arg2) bool
toString() String
A string representation of this object.
inherited
UTF8Text(tess_api_ptr_t arg0) Pointer<Char>
Version(tess_api_ptr_t arg0) Pointer<Char>

Operators

operator ==(Object other) bool
The equality operator.
inherited