[−][src]Trait opencv::dnn::prelude::TextDetectionModel_EASTTrait
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
pub fn as_raw_TextDetectionModel_EAST(&self) -> *const c_void
[src]
pub fn as_raw_mut_TextDetectionModel_EAST(&mut self) -> *mut c_void
[src]
Provided methods
pub fn set_confidence_threshold(
&mut self,
conf_threshold: f32
) -> Result<TextDetectionModel_EAST>
[src]
&mut self,
conf_threshold: f32
) -> Result<TextDetectionModel_EAST>
Set the detection confidence threshold
Parameters
- confThreshold: A threshold used to filter boxes by confidences
pub fn get_confidence_threshold(&self) -> Result<f32>
[src]
Get the detection confidence threshold
pub fn set_nms_threshold(
&mut self,
nms_threshold: f32
) -> Result<TextDetectionModel_EAST>
[src]
&mut self,
nms_threshold: f32
) -> Result<TextDetectionModel_EAST>
Set the detection NMS filter threshold
Parameters
- nmsThreshold: A threshold used in non maximum suppression
pub fn get_nms_threshold(&self) -> Result<f32>
[src]
Get the detection confidence threshold