[modules/objdetect] weights are not updated in HOGDescriptor::detect function. (Bug #2439)
Description
The source:modules/objdetect/src/hog.cpp.
The problem is that: in the function:
void HOGDescriptor::detect(const Mat& img,
vector<Point>& hits, vector<double>& weights, double hitThreshold,
Size winStride, Size padding, const vector<Point>& locations) const
"weights.clear()" should be added in it. In the current version(2.4.2), this function is called by HOGDescriptor::detectMultiScale and the weights are wrongly updated.
Related issues
duplicated by Bug #2437: [modules/objdetect] weights are not updated in HOGDescrip... | Cancelled | 2012-10-14 |
Associated revisions
Merge pull request #2439 from ilya-lavrenov:typo
History
Updated by Marina Kolpakova over 12 years ago
HOGDescriptor::detectMultiScale and HOGInvoker clean weights vector before inserting new detections. So extra cleaning is not required.
- Target version set to 2.4.3
- Assignee set to Marina Kolpakova
- Status changed from Open to Cancelled
Updated by Marina Kolpakova over 12 years ago
- Description changed from The source file: modules/objdetect/src/hog.cpp. The problem is that: in the f... to The source:modules/objdetect/src/hog.cpp. The problem is that: in the functio... More