Learn R Programming

Rvision (version 0.6.0)

Video-class: An S4 Class Containing an OpenCV Video

Description

A Video object contains an OpenCV video that originates from a video file.

Usage

Video

Arguments

Format

An object of class C++Class of length 1.

Slots

dim,ncol,nrow

Functions returning the dimensions of the object.

nframes

Function returning the number of frames in the object.

codec

Function returning the codec of the object.

fps

Function returning the frame rate of the object.

frame

Function returning the index of the frame to be read next.

get,set

Functions to access and set internal properties of the object.

isOpened

Function to check the status of the video stream.

readNext,readFrame

Functions to access the next or an arbitrary frame in the stream.

release

Function to release the object from memory.