powered by
Stream
Function for creating Stream objects from video streams.
stream(index = 0, api = "ANY")
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).
A character string corresponding to the API to use for reading the stream from the camera (see Note; default: "ANY").
A Stream object.
# NOT RUN { live <- stream(0) release(live) # } # NOT RUN { # }
Run the code above in your browser using DataLab