opencv:在Virtual void detectMultiScale(..)中,foundWeights的含义是什么

时间:2014-10-14 13:51:27

标签: c++ opencv

我想使用此版本的功能 CV_WRAP virtual void detectMultiScale const Mat& img,CV_OUT vector& foundLocations,                                    CV_OUT vector& foundWeights double hitThreshold = 0,                                   大小winStride = Size(),Size padding = Size(),double scale = 1.05,                                   double finalThreshold = 2.0,bool useMeanshiftGrouping = false )const;

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

亲切的问候,

1 个答案:

答案 0 :(得分:2)

正如所讨论的herefoundWeights是检测到的每个对象的标准化分数:

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