Trait opencv::prelude::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
Mutable methods for crate::dnn::TextDetectionModel_DB
Required Methods§
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>
Object Safety§
This trait is not object safe.