Crop

sealed class Crop : ImageProcessor.Input.Option

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

Center
Link copied to clipboard
class Center(aspectRatioNumerator: Int, aspectRatioDenominator: Int) : ImageProcessor.Input.Option.Crop
An option to crop each Input.Frame around the central point to match aspectRatioNumerator/aspectRatioDenominator aspect ratio.

Inheritors

ImageProcessor.Input.Option.Crop
Link copied to clipboard