process
fun process(inputImage: File, configuration: ScanProcessor.Configuration<File>): ScanProcessor.Result<File>
Process image file using the given configuration.
Return
the path of the output file and settings used to process the image
Parameters
input Image
the input image
configuration
configuration of the processing
fun process(inBitmap: Bitmap, configuration: ScanProcessor.Configuration<Bitmap>): ScanProcessor.Result<Bitmap>
Process image file using the given configuration.
Return
the processed bitmap and the settings used to process the image
Parameters
in Bitmap
input bitmap
configuration
configuration of the processing