outputFrom

fun outputFrom(surfaceTexture: SurfaceTexture, purpose: ERROR CLASS: Symbol not found for ImageProcessor.Output.Purpose = ImageProcessor.Output.Purpose.PREVIEW, rotationDegrees: Int = Int.MIN_VALUE): ERROR CLASS: Symbol not found for ImageProcessor.Output

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

See also

ImageProcessor.Output.purpose
ImageProcessor.Output.rotationDegrees

fun outputFrom(surface: Surface, purpose: ERROR CLASS: Symbol not found for ImageProcessor.Output.Purpose = ImageProcessor.Output.Purpose.PREVIEW, rotationDegrees: Int = Int.MIN_VALUE): ERROR CLASS: Symbol not found for ImageProcessor.Output

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

See also

ImageProcessor.Output.purpose
ImageProcessor.Output.rotationDegrees