interface ScanbotCroppingViewHandle {
    detectPolygon: (() => void);
    extractCroppedArea: (() => void);
    resetPolygon: (() => void);
    rotate: ((rotation) => void);
}

Properties

detectPolygon: (() => void)

Detect a document on the source image and draw the polygons.

Type declaration

    • (): void
    • Returns void

extractCroppedArea: (() => void)

Extracts cropped area from the currently drawn polygon area on the image

Type declaration

    • (): void
    • Returns void

resetPolygon: (() => void)

Reset the drawn polygons

Type declaration

    • (): void
    • Returns void

rotate: ((rotation) => void)

Rotates the source image.

Type declaration