KWebcam

class KWebcam(    deviceName: String,     pipeline: OpenCvPipeline,     width: Int,     height: Int,     orientation: OpenCvCameraRotation) : KDevice<WebcamName>

Webcam wrapper for OpenCvPipeline

Parameters

deviceName

Hardware configuration name for the webcam

pipeline

The OpenCvPipeline that will be run

width

Resolution width. Default 800

height

Resolution height. Default 448

orientation

Camera orientation. Default

Constructors

Link copied to clipboard
fun KWebcam(    deviceName: String,     pipeline: OpenCvPipeline,     width: Int,     height: Int,     orientation: OpenCvCameraRotation)

Inherited properties

Link copied to clipboard
val deviceName: String

Functions

Link copied to clipboard
fun startStreaming()

Start the camera stream

Link copied to clipboard
fun stopStreaming()

Stop the camera stream

Inherited functions

Link copied to clipboard
open override fun toString(): String