OpenCV  3.4.14
Open Source Computer Vision
Public Member Functions | List of all members
cv::text::TextDetector Class Referenceabstract

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

#include <opencv2/text/textDetector.hpp>

Inheritance diagram for cv::text::TextDetector:
cv::text::TextDetectorCNN

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 ( )
inlinevirtual

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
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: