stream: Create an Object of Class Stream
Description
Function for creating Stream
objects from video
streams.
Usage
stream(index = 0, api = "ANY")
Arguments
index
An integer value corresponding to the index of the camera to
read a stream from (default: 0; 0 is usually the default webcam on most
computers).
api
A character string corresponding to the API to use for reading the
stream from the camera (see Note; default: "ANY").