Configuration

interface Configuration

Exposes configuration options available to lenses processor.

Since

1.4.0

Properties

Link copied to clipboard

Specifies the way processor rotates input frame before processing. InputFrameRotationBehavior.USE_SCREEN_ORIENTATION by default, meaning processor rotates input frames relative to current screen orientation.

Link copied to clipboard

Specifies if face detection and further tracking should be performed on input frames rotated correspondingly to real orientation of the device, while screen orientation is locked to either portrait or landscape. Since 1.6.0 face detection performed by default in portrait, landscape and reverse landscape device orientation. This option should be used only to enable face detection for the reverse portrait orientation. False by default.