OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::text::TextDetector 類參考抽象

為文字檢測演算法提供介面的抽象類。 更多...

#include <opencv2/text/textDetector.hpp>

cv::text::TextDetector 的協作圖

公共成員函式

virtual ~TextDetector ()
 
virtual void detect (InputArray inputImage, std::vector< Rect > &Bbox, std::vector< float > &confidence)=0
 提供快速簡單介面以檢測影像內的文字的方法。
 

詳細描述

為文字檢測演算法提供介面的抽象類。

建構函式 & 解構函式文件

◆ ~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 中實現。


此類的文件是從以下檔案生成的