pub trait TextDetectionModel_EASTTraitConst: TextDetectionModelTraitConst {
// Required method
fn as_raw_TextDetectionModel_EAST(&self) -> *const c_void;
// Provided methods
fn get_confidence_threshold(&self) -> Result<f32> { ... }
fn get_nms_threshold(&self) -> Result<f32> { ... }
}
Expand description
Constant methods for crate::dnn::TextDetectionModel_EAST
Required Methods§
fn as_raw_TextDetectionModel_EAST(&self) -> *const c_void
Provided Methods§
Sourcefn get_confidence_threshold(&self) -> Result<f32>
fn get_confidence_threshold(&self) -> Result<f32>
Get the detection confidence threshold
Sourcefn get_nms_threshold(&self) -> Result<f32>
fn get_nms_threshold(&self) -> Result<f32>
Get the detection confidence threshold
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.