pub trait TextDetectionModel_EASTTraitConst: TextDetectionModelTraitConst {
fn as_raw_TextDetectionModel_EAST(&self) -> *const c_void;
fn get_confidence_threshold(&self) -> Result<f32> { ... }
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§
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