[][src]Struct opencv::dnn::TextDetectionModel_EAST

pub struct TextDetectionModel_EAST { /* fields omitted */ }

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

impl TextDetectionModel_EAST[src]

impl TextDetectionModel_EAST[src]

pub fn default() -> Result<TextDetectionModel_EAST>[src]

pub fn new(network: &Net) -> Result<TextDetectionModel_EAST>[src]

Create text detection algorithm from deep learning network

Parameters

  • network: Net object

pub fn new_1(model: &str, config: &str) -> Result<TextDetectionModel_EAST>[src]

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

impl Boxed for TextDetectionModel_EAST[src]

impl Drop for TextDetectionModel_EAST[src]

impl ModelTrait for TextDetectionModel_EAST[src]

impl Send for TextDetectionModel_EAST[src]

impl TextDetectionModelTrait for TextDetectionModel_EAST[src]

impl TextDetectionModel_EASTTrait for TextDetectionModel_EAST[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.