Ask Your Question

unable to adjust grouping settings in OpenCV's hog.detectMultiScale (python)

asked 2015-04-14 07:47:51 -0500

fstab gravatar image

I am trying to set the grouping settings in the hog.detectMultiScale method from the OpenCV2 library (version 2.4.9).

What happens is that the group_threshold and groupThreshold parameters are both not recognized in the python binding:

TypeError: 'group_threshold' is an invalid keyword argument for this function


TypeError: 'groupThreshold' is an invalid keyword argument for this function

How can I fix this? Is there a way to set this parameter?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-14 08:26:32 -0500

Guanta gravatar image
In [3]: ? hog.detectMultiScale
Docstring: detectMultiScale(img[, hitThreshold[, winStride[, padding[, scale[, finalThreshold[, useMeanshiftGrouping]]]]]]) -> foundLocations, foundWeights
Type:      builtin_function_or_method

So, I guess it's the finalThreshold...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-14 07:47:51 -0500

Seen: 210 times

Last updated: Apr 14 '15