[3rd attempt] fixed HOGDescriptor::detectMultiScale() to group weights as well as ROIs