opencv::mod_prelude

Trait TextDetectionModel_DBTrait

Source
pub trait TextDetectionModel_DBTrait: TextDetectionModelTrait + TextDetectionModel_DBTraitConst {
    // Required method
    fn as_raw_mut_TextDetectionModel_DB(&mut self) -> *mut c_void;

    // Provided methods
    fn set_binary_threshold(
        &mut self,
        binary_threshold: f32,
    ) -> Result<TextDetectionModel_DB> { ... }
    fn set_polygon_threshold(
        &mut self,
        polygon_threshold: f32,
    ) -> Result<TextDetectionModel_DB> { ... }
    fn set_unclip_ratio(
        &mut self,
        unclip_ratio: f64,
    ) -> Result<TextDetectionModel_DB> { ... }
    fn set_max_candidates(
        &mut self,
        max_candidates: i32,
    ) -> Result<TextDetectionModel_DB> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_binary_threshold( &mut self, binary_threshold: f32, ) -> Result<TextDetectionModel_DB>

Source

fn set_polygon_threshold( &mut self, polygon_threshold: f32, ) -> Result<TextDetectionModel_DB>

Source

fn set_unclip_ratio( &mut self, unclip_ratio: f64, ) -> Result<TextDetectionModel_DB>

Source

fn set_max_candidates( &mut self, max_candidates: i32, ) -> Result<TextDetectionModel_DB>

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§