detection Normalized Rectangle
fun detectionNormalizedRectangle(detectionNormalizedRectangle: RectangleDouble): DocumentAutoCaptureControllerConfiguration.Builder
Rectangle of a submitted image (via the DocumentAutoCaptureController.process method) where a document should be detected. The rectangle defines an area inside the image.
E.g. if you post images of size 1080x1920 and you want to ignore top and bottom areas, you can use the detectionNormalizedRectangle as follows: RectangleDouble(0.0, 0.25, 1.0, 0.75)
.
Source image is used if detectionNormalizedRectangle is not defined.
Return
Builder instance.
Parameters
detection Normalized Rectangle
Rectangle normalized to the submitted image.