powered by
Read a specific frame of a Video object and returns it as an Image object.
Video
Image
readFrame(x, pos)
A Video object.
An integer corresponding to the number of the frame to read.
An Image object.
Video, Image
# 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