Description Usage Arguments Details Value See Also Examples
This function captures a video stream from a camera and return a vpVideo
object that can be manipulated using the videoplayR
image and
video manipulation toolbox. This function should support most webcams and
other cameras supported by OpenCV.
1 | readStream(cam = 0L)
|
cam |
The camera id number (default: 0). |
The vpStream object created by the readStream
function is not
a persistent object, but a pointer to a C++ object that cannot be saved for
reuse in a different session.
This function returns a vpVideo object.
release
, readImg
, readVideo
,
nextFrame
, vpStream
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.