pub trait TextDetectionModel_EASTTrait: TextDetectionModelTrait + TextDetectionModel_EASTTraitConst {
    // Required method
    fn as_raw_mut_TextDetectionModel_EAST(&mut self) -> *mut c_void;

    // Provided methods
    fn set_confidence_threshold(
        &mut self,
        conf_threshold: f32
    ) -> Result<TextDetectionModel_EAST> { ... }
    fn set_nms_threshold(
        &mut self,
        nms_threshold: f32
    ) -> Result<TextDetectionModel_EAST> { ... }
}
Expand description

Required Methods§

Provided Methods§

source

fn set_confidence_threshold( &mut self, conf_threshold: f32 ) -> Result<TextDetectionModel_EAST>

Set the detection confidence threshold

Parameters
  • confThreshold: A threshold used to filter boxes by confidences
source

fn set_nms_threshold( &mut self, nms_threshold: f32 ) -> Result<TextDetectionModel_EAST>

Set the detection NMS filter threshold

Parameters
  • nmsThreshold: A threshold used in non maximum suppression

Implementors§