| OpenCV 3.4.7 Open Source Computer Vision

Public Member Functions | List of all members
cv::text::TextDetector Class Referenceabstract
Scene Text Detection and Recognition » Scene Text Detection

An abstract class providing interface for text detection algorithms. More...

`#include <opencv2/text/textDetector.hpp>`

Inheritance diagram for cv::text::TextDetector:

## Public Member Functions
virtual | ~TextDetector ()
virtual void | detect (InputArray inputImage, std::vector< Rect > &Bbox, std::vector< float > &confidence)=0
| Method that provides a quick and simple interface to detect text inside an image. More...

## Detailed Description

An abstract class providing interface for text detection algorithms.

## Constructor & Destructor Documentation

## § ~TextDetector()

virtual cv::text::TextDetector::~TextDetector | ( |  | ) |
| inline virtual

## Member Function Documentation

## § detect()

virtual void cv::text::TextDetector::detect | ( | InputArray | inputImage,
|  | std::vector< Rect > & | Bbox,
|  | std::vector< float > & | confidence
| ) |  |
| pure virtual

Python:
| Bbox, confidence | = | cv.text_TextDetector.detect( | inputImage | )

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

Implemented in cv::text::TextDetectorCNN.

The documentation for this class was generated from the following file:

- opencv2/text/textDetector.hpp