1
votes

I'd like to use this version of the function 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;

What does foundWeights mean, what does each value represent? It is not correlated to the size of the boxes. What else is it good for?

Kind regards,

1

1 Answers

2
votes

As discussed here, foundWeights are the normalized scores of every object detected:

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