warp
abstract fun warp(image: Image, detectionPosition: DetectionPosition, targetImageSize: ImageSize): Image
Perspective warp of an image according to the position of the document. This operation should be called on a background thread.
Return
Warped image.
Parameters
image
Image in format com.innovatrics.dot.image.ImageFormat.RAW_BGRA.
detection Position
Position of the document.
target Image Size
Size of the warped image.