detectionNormalizedRectangle

fun detectionNormalizedRectangle(detectionNormalizedRectangle: RectangleDouble): FaceAutoCaptureControllerConfiguration.Builder

Rectangle of a submitted image (via the FaceAutoCaptureController.process method) where a face 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.of(0.0, 0.25, 1.0, 0.75).

Source image is used if detectionNormalizedRectangle is not defined.

Return

Builder instance.

Parameters

detectionNormalizedRectangle

Rectangle normalized to the submitted image.