LetterboxOp

class LetterboxOp(targetWidth: Int, targetHeight: Int) : ImageOperator

Constructors

Link copied to clipboard
constructor(targetWidth: Int, targetHeight: Int)

Functions

Link copied to clipboard
open override fun apply(image: TensorImage): TensorImage
Link copied to clipboard
open override fun getOutputImageHeight(inputImageHeight: Int, inputImageWidth: Int): Int
Link copied to clipboard
open override fun getOutputImageWidth(inputImageHeight: Int, inputImageWidth: Int): Int
Link copied to clipboard
open override fun inverseTransform(point: PointF?, inputImageHeight: Int, inputImageWidth: Int): PointF?