Struct opencv::highgui::VideoCapture
[−]
[src]
pub struct VideoCapture { pub ptr: *mut c_void, }
Fields
ptr |
Methods
impl VideoCapture
fn as_raw_VideoCapture(&self) -> *mut c_void
impl VideoCapture
fn default() -> Result<VideoCapture, String>
fn new(filename: &str) -> Result<VideoCapture, String>
fn device(device: i32) -> Result<VideoCapture, String>
fn open(&mut self, filename: &str) -> Result<bool, String>
fn open_device(&mut self, device: i32) -> Result<bool, String>
fn is_opened(&self) -> Result<bool, String>
fn release(&mut self) -> Result<(), String>
fn grab(&mut self) -> Result<bool, String>
fn retrieve(&mut self, image: &Mat, channel: i32) -> Result<bool, String>
fault value for arguments: - channel: default 0