frame.Rcpp_Queue | R Documentation |
Retrieve or set the index of the frame to be read next in a
Video
, VideoStack
or Queue
object.
## S3 method for class 'Rcpp_Queue'
frame(x)
## S3 method for class 'Rcpp_Video'
frame(x)
## S3 replacement method for class 'Rcpp_Video'
frame(x) <- value
## S3 method for class 'VideoStack'
frame(x)
## S3 replacement method for class 'VideoStack'
frame(x) <- value
frame(x)
frame(x) <- value
x |
A |
value |
The index of the frame to be read next. |
A numeric value or 'x' with a new head position.
Frame index starts at 1 (i.e. the first image has index 1).
Simon Garnier, garnier@njit.edu
Video
, VideoStack
, Queue
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
frame(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.