Release Object from Memory
Source:R/QueueClass.R
, R/StreamClass.R
, R/VideoClass.R
, and 3 more
release.Rd
Close a Video
, VideoStack
,
Stream
, VideoWriter
, or Queue
object.
Usage
# S3 method for class 'Rcpp_Queue'
release(x)
# S3 method for class 'Rcpp_Stream'
release(x)
# S3 method for class 'Rcpp_Video'
release(x)
# S3 method for class 'VideoStack'
release(x)
# S3 method for class 'Rcpp_VideoWriter'
release(x)
release(x)
Arguments
- x
A
Video
,VideoStack
,Stream
,VideoWriter
, orQueue
object.
Author
Simon Garnier, garnier@njit.edu
Examples
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
release(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found