Package com.geniusscansdk.core
Class ScanProcessor.PerspectiveCorrection
- java.lang.Object
-
- com.geniusscansdk.core.ScanProcessor.PerspectiveCorrection
-
- Enclosing class:
- ScanProcessor
public static class ScanProcessor.PerspectiveCorrection extends java.lang.Object
Configuration for perspective correction. When this configuration is enabled, perspective correction will be applied to the image, either using the result of the document detection, or theQuadrangle
provided in this configuration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScanProcessor.PerspectiveCorrection
automatic()
static ScanProcessor.PerspectiveCorrection
none()
static ScanProcessor.PerspectiveCorrection
withQuadrangle(Quadrangle quadrangle)
-
-
-
Method Detail
-
automatic
public static ScanProcessor.PerspectiveCorrection automatic()
-
none
public static ScanProcessor.PerspectiveCorrection none()
-
withQuadrangle
public static ScanProcessor.PerspectiveCorrection withQuadrangle(@Nullable Quadrangle quadrangle)
-
-