Reader Head Position
Source:R/QueueClass.R
, R/VideoClass.R
, R/VideoStackClass.R
, and 1 more
frame.Rd
Retrieve or set the index of the frame to be read next in a
Video
, VideoStack
or Queue
object.
Usage
# S3 method for class 'Rcpp_Queue'
frame(x)
# S3 method for class 'Rcpp_Video'
frame(x)
# S3 method for class 'Rcpp_Video'
frame(x) <- value
# S3 method for class 'VideoStack'
frame(x)
# S3 method for class 'VideoStack'
frame(x) <- value
frame(x)
frame(x) <- value
Arguments
- x
A
Video
,VideoStack
orQueue
object.- value
The index of the frame to be read next.
Author
Simon Garnier, garnier@njit.edu
Examples
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
frame(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found