ScanbotImageProcessor

Functions

Link copied to clipboard
abstract fun applyFilters(image: ImageRef, filters: List<ParametricFilter>): Result<ImageRef>

Applies the specified parametric filters to the provided image.

Link copied to clipboard
abstract fun crop(image: ImageRef, polygon: List<PointF>): Result<ImageRef>

Crops the provided image using the specified polygon.

Link copied to clipboard
abstract fun resize(image: ImageRef, maxSize: Int): Result<ImageRef>

Resizes the provided image to fit within the specified maximum size.

Link copied to clipboard
abstract fun rotate(image: ImageRef, rotation: ImageRotation): Result<ImageRef>

Rotates the provided image by the specified rotation.