enhance_image method
Enhance captured image
Implementation
ffi.Pointer<ffi.Void> enhance_image(
ffi.Pointer<ffi.Void> engine,
ffi.Pointer<ffi.Uint8> image_data,
int width,
int height,
int format,
ffi.Pointer<ffi.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,
) {
return _enhance_image(
engine,
image_data,
width,
height,
format,
corners,
apply_perspective,
apply_deskew,
apply_enhance,
apply_sharpening,
sharpening_strength,
enhance_mode,
output_width,
output_height,
);
}