Class cv::text::TextDetector#

An abstract class providing interface for text detection algorithms.

Collaboration diagram for cv::text::TextDetector:

Detailed Description#

An abstract class providing interface for text detection algorithms.

Constructor & Destructor Documentation#

~TextDetector()#

cv::text::TextDetector::~TextDetector()

Member Function Documentation#

detect()#

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

Python:

cv.text.TextDetector.detect(inputImage) -> Bbox, confidence

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

Source file#

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