Struct opencv::dnn::TextDetectionModel_EAST [−][src]
pub struct TextDetectionModel_EAST { /* fields omitted */ }
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
Implementations
Create text detection model from network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.
Parameters
- model: Binary file contains trained weights.
- config: Text file contains network configuration.
C++ default parameters
- config: “”
Trait Implementations
Performs the conversion.
Performs the conversion.
Given the @p input frame, create input blob, run net and return the output @p blobs. Read more
fn detect_with_confidences(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<Vector<Point>>,
confidences: &mut Vector<f32>
) -> Result<()>
fn detect_with_confidences(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<Vector<Point>>,
confidences: &mut Vector<f32>
) -> Result<()>
Performs detection Read more
Performs detection Read more
fn detect_text_rectangles(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<RotatedRect>,
confidences: &mut Vector<f32>
) -> Result<()>
fn detect_text_rectangles(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<RotatedRect>,
confidences: &mut Vector<f32>
) -> Result<()>
Performs detection Read more
fn detect_text_rectangles_1(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<RotatedRect>
) -> Result<()>
fn detect_text_rectangles_1(
&self,
frame: &dyn ToInputArray,
detections: &mut Vector<RotatedRect>
) -> Result<()>
Performs detection Read more
fn set_confidence_threshold(
&mut self,
conf_threshold: f32
) -> Result<TextDetectionModel_EAST>
fn set_confidence_threshold(
&mut self,
conf_threshold: f32
) -> Result<TextDetectionModel_EAST>
Set the detection confidence threshold Read more
Set the detection NMS filter threshold Read more
Get the detection confidence threshold
Get the detection confidence threshold