enhance_image method

Pointer<Void> enhance_image(
  1. Pointer<Void> engine,
  2. Pointer<Uint8> image_data,
  3. int width,
  4. int height,
  5. int format,
  6. Pointer<Float> corners,
  7. int apply_perspective,
  8. int apply_deskew,
  9. int apply_enhance,
  10. int apply_sharpening,
  11. double sharpening_strength,
  12. int enhance_mode,
  13. int output_width,
  14. int output_height,
)

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,
  );
}