pub trait SyntheticSequenceGeneratorTrait: AlgorithmTrait + SyntheticSequenceGeneratorTraitConst {
    fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void;

    fn get_next_frame(
        &mut self,
        frame: &mut dyn ToOutputArray,
        gt_mask: &mut dyn ToOutputArray
    ) -> Result<()> { ... } }

Required Methods§

Provided Methods§

Obtain the next frame in the sequence.

Parameters
  • frame: Output frame.
  • gtMask: Output ground-truth (reference) segmentation mask object/background.

Implementors§