c++ - opencv:foundWeights 在 vi​​rtual void detectMultiScale(..) 中意味着什么

标签 c++ opencv

我想使用这个版本的函数 CV_WRAP virtual void detectMultiScale(const Mat& img, CV_OUT vector& foundLocations, CV_OUT vector& foundWeights, double hitThreshold=0, size winStride=Size(), Size padding=Size(), double scale=1.05, double finalThreshold=2.0,bool useMeanshiftGrouping = false) const;

foundWeights是什么意思,每个值代表什么?它与盒子的大小无关。它还有什么用处?

亲切的问候,

最佳答案

讨论 here , foundWeights 是检测到的每个对象的归一化分数:

weight_i = score_i / sum(score, from 1 = N), if score_i > 0

关于c++ - opencv:foundWeights 在 vi​​rtual void detectMultiScale(..) 中意味着什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26362580/

相关文章:

c++ - 指向引用的段错误指针

c++ - 鸟瞰opencv c++的透视变换

python - python中没有highgui

image-processing - 在 OpenCV 中应用形态学时,SetROI 是否有效?

python - OpenCV 重映射插值错误?

c++ - 将 if 语句与指针一起使用时出现段错误(BST 树)

c++ - 在 QML 文件中使用 C++ 类变量

c++ - 如何在C++中有效地存储数据

python-3.x - 如何将列表转换为 cv::UMat?

c++ - 在 opencv 中使用 imshow 显示字节数组的最快方法是什么?