Trait opencv::dnn::prelude::TextDetectionModel_EASTTrait[][src]

pub trait TextDetectionModel_EASTTrait {
    fn as_raw_TextDetectionModel_EAST(&self) -> *const c_void;
fn as_raw_mut_TextDetectionModel_EAST(&mut self) -> *mut c_void; fn set_confidence_threshold(
        &mut self,
        conf_threshold: f32
    ) -> Result<TextDetectionModel_EAST> { ... }
fn get_confidence_threshold(&self) -> Result<f32> { ... }
fn set_nms_threshold(
        &mut self,
        nms_threshold: f32
    ) -> Result<TextDetectionModel_EAST> { ... }
fn get_nms_threshold(&self) -> Result<f32> { ... } }
Expand description

This class represents high-level API for text detection DL networks compatible with EAST model.

Configurable parameters:

  • (float) confThreshold - used to filter boxes by confidences, default: 0.5f
  • (float) nmsThreshold - used in non maximum suppression, default: 0.0f

Required methods

Provided methods

Set the detection confidence threshold

Parameters

  • confThreshold: A threshold used to filter boxes by confidences

Get the detection confidence threshold

Set the detection NMS filter threshold

Parameters

  • nmsThreshold: A threshold used in non maximum suppression

Get the detection confidence threshold

Implementors