Read a specific frame of a Video
object and
returns it as an Image
object.
readFrame(x, pos)
A Video
object.
An integer corresponding to the number of the frame to read.
An Image
object.
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
plot(readFrame(balloon, 10))
plot(readNext(balloon))
release(balloon)
# }
Run the code above in your browser using DataLab