gstreamer_analytics

Trait AnalyticsRelationMetaClassificationExt

Source
pub trait AnalyticsRelationMetaClassificationExt: Sealed {
    // Required methods
    fn add_one_cls_mtd(
        &mut self,
        confidence_level: f32,
        class_quark: Quark,
    ) -> Result<AnalyticsMtdRef<'_, AnalyticsClassificationMtd>, BoolError>;
    fn add_cls_mtd(
        &mut self,
        confidence_levels: &[f32],
        class_quarks: &[Quark],
    ) -> Result<AnalyticsMtdRef<'_, AnalyticsClassificationMtd>, BoolError>;
}

Required Methods§

Source

fn add_one_cls_mtd( &mut self, confidence_level: f32, class_quark: Quark, ) -> Result<AnalyticsMtdRef<'_, AnalyticsClassificationMtd>, BoolError>

Source

fn add_cls_mtd( &mut self, confidence_levels: &[f32], class_quarks: &[Quark], ) -> Result<AnalyticsMtdRef<'_, AnalyticsClassificationMtd>, BoolError>

Implementations on Foreign Types§

Source§

impl<'a> AnalyticsRelationMetaClassificationExt for MetaRefMut<'a, AnalyticsRelationMeta, Standalone>

Source§

fn add_one_cls_mtd( &mut self, confidence_level: f32, class_quark: Quark, ) -> Result<AnalyticsMtdRef<'a, AnalyticsClassificationMtd>, BoolError>

Source§

fn add_cls_mtd( &mut self, confidence_levels: &[f32], class_quarks: &[Quark], ) -> Result<AnalyticsMtdRef<'a, AnalyticsClassificationMtd>, BoolError>

Implementors§