Center
class Center(aspectRatioNumerator: Int, aspectRatioDenominator: Int) : ImageProcessor.Input.Option.Crop
Content copied to clipboard
An option to crop each Input.Frame around the central point to match aspectRatioNumerator/aspectRatioDenominator aspect ratio.
Parameters
aspectRatioNumerator
should be greater than 0.
aspectRatioDenominator
should be greater than 0.