Rectify Class

abstract class Rectify : RefineFeature

How to crop and straighten the page.

Inheritors

Constructors

Rectify

constructor()

Types

AutoDetect

object AutoDetect : RefineFeature.Rectify

Detect the document’s corners and crop to them, without asking the user.

SkipCutout

object SkipCutout : RefineFeature.Rectify

Leave the page uncropped, for when no document outline is available.

WithCutout

class WithCutout(cutout: ScanCutout) : RefineFeature.Rectify

Crop and straighten the page to the given outline, which is normally the one the user accepted on a crop screen.

Top