Crop

ImageProcessor should crop each Input.Frame before processing. Only a single Crop option can be passed while calling ImageProcessor.connectInput.

Since

1.12.0

Types

Link copied to clipboard
class Center(val aspectRatioNumerator: Int, val aspectRatioDenominator: Int) : ImageProcessor.Input.Option.Crop

An option to crop each Input.Frame around the central point to match aspectRatioNumerator/aspectRatioDenominator aspect ratio.

Inheritors

Link copied to clipboard