ImageTargetSize

data class ImageTargetSize(aspectRatio: Int? = null, size: Size? = null, outputSize: CameraController.OutputSize? = null)

Image Analysis target size is used to target the size of image analysis, accepting AspectRatio or Size.

Constructors

Link copied to clipboard
constructor(aspectRatio: Int?)

Image analysis target size using AspectRatio.

constructor(size: Size?)

Image analysis target size using Size.

constructor(aspectRatio: Int? = null, size: Size? = null, outputSize: CameraController.OutputSize? = null)