[−][src]Trait opencv::hub_prelude::BackgroundSubtractorGSOC
Implementation of the different yet better algorithm which is called GSOC, as it was implemented during GSOC and was not originated from any paper.
This algorithm demonstrates better performance on CDNET 2014 dataset compared to other algorithms in OpenCV.
Required methods
fn as_raw_BackgroundSubtractorGSOC(&self) -> *mut c_void
Provided methods
fn apply(
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
&mut self,
image: &dyn ToInputArray,
fgmask: &mut dyn ToOutputArray,
learning_rate: f64
) -> Result<()>
C++ default parameters
- learning_rate: -1
fn get_background_image(
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>
&self,
background_image: &mut dyn ToOutputArray
) -> Result<()>