crop

fun crop(polygon: List<PointF>, documentCropOptimization: DocumentCropOptimization = DocumentCropOptimization.OPTIMIZE_QUAD): ImageProcessor

Crops the image to the given polygon.

Parameters

polygon

polygon to crop