warp
abstract fun warp(bgraRawImage: BgraRawImage, detectionPosition: DetectionPosition, targetImageSize: ImageSize): BgraRawImage
Perspective warp of an image according detected document detectionPosition. This operation should be called on a background thread.
Return
Warped image.
Parameters
bgra Raw Image
BGRA raw image.
detection Position
Corner points.
target Image Size
Size of the warped image.