Description Usage Arguments Value Author(s) Examples
load specified frames of video
1 | load_video(video, frames, nb_frames, step = 1, maxSize = 1)
|
video |
path to a video file |
frames |
a numeric vecotr that specfies a frame or a numeric vector that specifies start frame and end frame. if frames is missing, try to load all frames. |
nb_frames |
the number of frames. if nb_frames is missing, info_video(video)$frames is used. |
step |
step value for frame reading. |
maxSize |
maximum allowed size in memory, in GB. |
a cimg object
Shota Ochi
1 2 3 | counts <- system.file("extdata", "counts.gif", package = "videor")
load_video(counts, c(2,7))
load_video(counts, c(2,7), step = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.