|
| | TextDetectionModel_EAST () |
| |
| | TextDetectionModel_EAST (const Net &network) |
| | 從深度學習網路建立文字檢測演算法。
|
| |
| | TextDetectionModel_EAST (CV_WRAP_FILE_PATH const std::string &model, CV_WRAP_FILE_PATH const std::string &config="") |
| | 從以支援格式之一表示的網路建立文字檢測模型。 model 和 config 引數的順序無關緊要。
|
| |
| float | getConfidenceThreshold () const |
| | 獲取檢測置信度閾值。
|
| |
| float | getNMSThreshold () const |
| | 獲取檢測置信度閾值。
|
| |
| TextDetectionModel_EAST & | setConfidenceThreshold (float confThreshold) |
| | 設定檢測置信度閾值。
|
| |
| TextDetectionModel_EAST & | setNMSThreshold (float nmsThreshold) |
| | 設定檢測 NMS 過濾器閾值。
|
| |
| void | detect (InputArray frame, std::vector< std::vector< Point > > &detections) const |
| |
| void | detect (InputArray frame, std::vector< std::vector< Point > > &detections, std::vector< float > &confidences) const |
| | 執行檢測。
|
| |
| void | detectTextRectangles (InputArray frame, std::vector< cv::RotatedRect > &detections) const |
| |
| void | detectTextRectangles (InputArray frame, std::vector< cv::RotatedRect > &detections, std::vector< float > &confidences) const |
| | 執行檢測。
|
| |
| | Model (模型) () |
| |
| | Model (const Model &)=default |
| |
| | Model (const Net &network) |
| | 從深度學習網路建立模型。
|
| |
| | Model (CV_WRAP_FILE_PATH const String &model, CV_WRAP_FILE_PATH const String &config="") |
| | 從以支援格式之一表示的深度學習網路建立模型。 model 和 config 引數的順序無關緊要。
|
| |
| | Model (Model &&)=default |
| |
| Model & | enableWinograd (bool useWinograd) |
| |
| Impl * | getImpl () const |
| |
| Impl & | getImplRef () const |
| |
| Net & | getNetwork_ () |
| |
| Net & | getNetwork_ () const |
| |
| | operator Net & () const |
| |
| Model & | operator= (const Model &)=default |
| |
| Model & | operator= (Model &&)=default |
| |
| void | predict (InputArray frame, OutputArrayOfArrays outs) const |
| | 給定 input 幀,建立輸入 blob,執行網路並返回輸出 blobs。
|
| |
| Model & | setInputCrop (bool crop) |
| | 設定幀的 crop 標誌。
|
| |
| Model & | setInputMean (const Scalar &mean) |
| | 設定幀的均值。
|
| |
| void | setInputParams (double scale=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false) |
| | 設定幀的預處理引數。
|
| |
| Model & | setInputScale (const Scalar &scale) |
| | 設定幀的 scalefactor 值。
|
| |
| Model & | setInputSize (const Size &size) |
| | 設定幀的輸入大小。
|
| |
| Model & | setInputSize (int width, int height) |
| |
| Model & | setInputSwapRB (bool swapRB) |
| | 設定幀的 swapRB 標誌。
|
| |
| Model & | setOutputNames (const std::vector< String > &outNames) |
| | 設定幀的輸出名稱。
|
| |
| Model & | setPreferableBackend (dnn::Backend backendId) |
| |
| Model & | setPreferableTarget (dnn::Target targetId) |
| |