Class cv::text::TextDetector#
An abstract class providing interface for text detection algorithms.
#include <opencv2/text/textDetector.hpp>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 processBbox— a vector of Rect that will store the detected word bounding boxconfidence— 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:
opencv2/text/textDetector.hpp