為文字檢測演算法提供介面的抽象類。 更多...
#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 中實現。
此類的文件是從以下檔案生成的