[modules/objdetect] weights are not updated in HOGDescriptor::detect function. (Bug #2439)


Added by Yuhang Zhao over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-10-14
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

Category:objdetect
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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

Revision fa3f29f2
Added by Roman Donchenko about 11 years ago

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

Also available in: Atom PDF