outputFrom

fun outputFrom(    surfaceTexture: SurfaceTexture,     purpose: ImageProcessor.Output.Purpose = ImageProcessor.Output.Purpose.PREVIEW,     rotationDegrees: Int = Int.MIN_VALUE): ImageProcessor.Output

Creates SurfaceTexture backed ImageProcessor.Output with the provided purpose and rotationDegrees.

See also


fun outputFrom(    surface: Surface,     purpose: ImageProcessor.Output.Purpose = ImageProcessor.Output.Purpose.PREVIEW,     rotationDegrees: Int = Int.MIN_VALUE): ImageProcessor.Output

Creates Surface backed ImageProcessor.Output with the provided purpose and rotationDegrees.

See also