为文本检测算法提供接口的抽象类。 更多...
#include <opencv2/text/textDetector.hpp>
◆ ~TextDetector()
| virtual cv::text::TextDetector::~TextDetector |
( |
| ) |
|
|
内联虚函数 |
◆ detect()
| virtual void cv::text::TextDetector::detect |
( |
InputArray | inputImage, |
|
|
std::vector< Rect > & | Bbox, |
|
|
std::vector< float > & | confidence ) |
|
纯虚函数 |
| Python |
|---|
| cv.text.TextDetector.detect( | inputImage | ) -> | Bbox, confidence |
提供快速简单接口以检测图像内的文本的方法。
- 参数
-
| inputImage | 要处理的图像 |
| Bbox | 将存储检测到的单词边界框的 Rect 向量 |
| confidence | 一个浮点向量,将使用分类器对所选边界框的置信度进行更新 |
在 cv::text::TextDetectorCNN 中实现。
此类的文档是从以下文件生成的