DocumentCaptureBindings class
FFI bindings for flutter_document_capture native library
Constructors
- DocumentCaptureBindings(DynamicLibrary dynamicLibrary)
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
-
analyze_frame(
Pointer< Void> engine, Pointer<Uint8> image_data, int width, int height, int format, int rotation, int crop_x, int crop_y, int crop_w, int crop_h) → Pointer<Char> - Analyze a single frame
-
capture_engine_create(
) → Pointer< Void> - Create capture engine instance
-
capture_engine_destroy(
Pointer< Void> engine) → void - Destroy capture engine instance
-
capture_engine_reset(
Pointer< Void> engine) → void - Reset engine state
-
enhance_image(
Pointer< Void> engine, Pointer<Uint8> image_data, int width, int height, int format, Pointer<Float> corners, int apply_perspective, int apply_deskew, int apply_enhance, int apply_sharpening, double sharpening_strength, int enhance_mode, int output_width, int output_height) → Pointer<Void> - Enhance captured image
-
enhance_image_with_guide_frame(
Pointer< Void> engine, Pointer<Uint8> image_data, int width, int height, int format, double guide_left, double guide_top, double guide_right, double guide_bottom, int apply_sharpening, double sharpening_strength, int enhance_mode, int rotation) → Pointer<Void> - Enhance image with guide frame (auto-calculate virtual trapezoid)
-
free_enhancement_result(
Pointer< Void> result) → void - Free enhancement result
-
free_string(
Pointer< Char> str) → void - Free string
-
get_enhancement_channels(
Pointer< Void> result) → int - Get enhancement channels
-
get_enhancement_error(
Pointer< Void> result) → Pointer<Char> - Get enhancement error message
-
get_enhancement_height(
Pointer< Void> result) → int - Get enhancement height
-
get_enhancement_image_data(
Pointer< Void> result) → Pointer<Uint8> - Get enhancement image data pointer
-
get_enhancement_stride(
Pointer< Void> result) → int - Get enhancement stride
-
get_enhancement_success(
Pointer< Void> result) → int - Get enhancement success status
-
get_enhancement_width(
Pointer< Void> result) → int - Get enhancement width
-
get_version(
) → Pointer< Char> - Get version
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited