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>

Implementors§