Skip to main content

TextDetectionModel_EASTTraitConst

Trait TextDetectionModel_EASTTraitConst 

Source
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

Required Methods§

Provided Methods§

Source

fn get_confidence_threshold(&self) -> Result<f32>

Get the detection confidence threshold

Source

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".

Implementors§