[][src]Trait opencv::hub_prelude::TextDetector

pub trait TextDetector {
    pub fn as_raw_TextDetector(&self) -> *const c_void;
pub fn as_raw_mut_TextDetector(&mut self) -> *mut c_void; pub fn detect(
        &mut self,
        input_image: &dyn ToInputArray,
        bbox: &mut Vector<Rect>,
        confidence: &mut Vector<f32>
    ) -> Result<()> { ... } }

An abstract class providing interface for text detection algorithms

Required methods

Loading content...

Provided methods

pub fn detect(
    &mut self,
    input_image: &dyn ToInputArray,
    bbox: &mut Vector<Rect>,
    confidence: &mut Vector<f32>
) -> Result<()>
[src]

Method that provides a quick and simple interface to detect text inside an image

Parameters

  • inputImage: an image to process
  • Bbox: a vector of Rect that will store the detected word bounding box
  • confidence: a vector of float that will be updated with the confidence the classifier has for the selected bounding box
Loading content...

Implementors

Loading content...