Skip to contents

reset flush a Queue object from all the frames it contains and starts filling it up again with new frames.

Usage

reset(x)

Arguments

x

A Queue object.

Value

This function returns nothing.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
buf <- queue(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found
reset(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found