An abstract class providing interface for text detection algorithms.
More...
#include <opencv2/text/textDetector.hpp>
|
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...
|
|
An abstract class providing interface for text detection algorithms.
◆ ~TextDetector()
virtual cv::text::TextDetector::~TextDetector |
( |
| ) |
|
|
inlinevirtual |
◆ 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
-
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: