SyntheticSequenceGeneratorTrait

Trait SyntheticSequenceGeneratorTrait 

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

    // Provided method
    fn get_next_frame(
        &mut self,
        frame: &mut impl ToOutputArray,
        gt_mask: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn get_next_frame( &mut self, frame: &mut impl ToOutputArray, gt_mask: &mut impl ToOutputArray, ) -> Result<()>

Obtain the next frame in the sequence.

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§