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