OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::text::TextDetector Class Referenceabstract

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

#include <opencv2/text/textDetector.hpp>

Collaboration 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.
 

Detailed Description

An abstract class providing interface for text detection algorithms.

Constructor & Destructor Documentation

◆ ~TextDetector()

virtual cv::text::TextDetector::~TextDetector ( )
inlinevirtual

Member Function Documentation

◆ detect()

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

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

Parameters
inputImagean image to process
Bboxa vector of Rect that will store the detected word bounding box
confidencea 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: