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


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 file: 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

duplicates Bug #2439: [modules/objdetect] weights are not updated in HOGDescrip... Cancelled 2012-10-14

Associated revisions

Revision 2879ff20
Added by Andrey Pavlenko about 11 years ago

Merge pull request #2437 from ilya-lavrenov:tapi_morph

History

Updated by Daniil Osokin over 12 years ago

Hi, Yuhang! Please, attach a test to reproduce this bug.

  • Assignee set to Yuhang Zhao
  • Category set to objdetect

Updated by Marina Kolpakova over 12 years ago

Closed because of duplicate.

  • Target version set to 2.4.3
  • Assignee changed from Yuhang Zhao to Marina Kolpakova
  • Status changed from Open to Cancelled

Also available in: Atom PDF