我想使用此版本的功能
CV_WRAP虚拟void detectMultiScale (常量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在虚拟虚空中的含义detectMultiScale(..),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/26362580/