[−][src]Trait opencv::bgsegm::prelude::SyntheticSequenceGeneratorTrait
Synthetic frame sequence generator for testing background subtraction algorithms.
It will generate the moving object on top of the background. It will apply some distortion to the background to make the test more complex.
Required methods
pub fn as_raw_SyntheticSequenceGenerator(&self) -> *const c_void
[src]
pub fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void
[src]
Provided methods
pub fn get_next_frame(
&mut self,
frame: &mut dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
frame: &mut dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()>
Obtain the next frame in the sequence.
Parameters
- frame: Output frame.
- gtMask: Output ground-truth (reference) segmentation mask object/background.