| readNext.Rcpp_Queue | R Documentation |
Read the next frame of a Video,
VideoStack, Stream, or Queue
object and returns it as an Image object.
## S3 method for class 'Rcpp_Queue'
readNext(x, target = "new")
## S3 method for class 'Rcpp_Stream'
readNext(x, target = "new")
## S3 method for class 'Rcpp_Video'
readNext(x, target = "new")
## S3 method for class 'VideoStack'
readNext(x, target = "new")
readNext(x, target = "new")
x |
A |
target |
The location where the results should be stored. It can take 2 values:
|
If target="new", the function returns an Image
object. If target is an Image object, the function
returns nothing and modifies that Image object in place.
Simon Garnier, garnier@njit.edu
Video, VideoStack, Stream,
Queue, Image, readFrame
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
frame_next <- readNext(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.