input From
fun inputFrom(surfaceTexture: SurfaceTexture, width: Int, height: Int, rotationDegrees: Int, facingFront: Boolean, horizontalFieldOfView: Float, verticalFieldOfView: Float): ImageProcessor.Input
Content copied to clipboard
Creates SurfaceTexture backed ImageProcessor.Input with the provided properties.
Creates SurfaceTexture backed ImageProcessor.Input with the provided properties.
Since
1.4.0
Parameters
horizontalFieldOfView
a Callable to obtain the horizontal field of view of a ImageProcessor.Input.Frame.
verticalFieldOfView
a Callable to obtain the vertical field of view of a ImageProcessor.Input.Frame.