Ask Your Question
0

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

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

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

and

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
1

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

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

Question Tools

1 follower

Stats

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

Seen: 569 times

Last updated: Apr 14 '15