[2nd Attempt] Solves HOGDescriptor::detectMultiScale weight grouping problem