[Feature Request] add perspective pruning to cvHaarDetectObjects() (patch attached) (Patch #826)


Added by Tobias Langner about 14 years ago. Updated over 12 years ago.


Status:Cancelled Start date:
Priority:Low Due date:
Assignee:Marina Kolpakova % Done:

0%

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

Description

For a given camera setup the y-coordinate of the horizon may be known. If the objects to be detected are attached to the ground, one can reduce the search space dramatically, because the search window must always be close to the horizon.

If the flag for perspective pruning is set, the y-range for the sliding window is limited to the proximity of the given horizon. The proximity is defined by up to three parameters: a fixed margin given in pixels, and two relative margins given in percentage of the window height. One margin for the maximum pixel distance above the horizon and one for the maximum distance below the horizon. (one could argue if one is enough, though)


haar.cpp.diff (734 Bytes) Tobias Langner, 2011-01-21 02:02 pm

cascadedetect.cpp.diff (724 Bytes) Tobias Langner, 2011-01-21 02:03 pm

objdetect.hpp.diff (1014 Bytes) Tobias Langner, 2011-01-21 02:03 pm


Associated revisions

Revision f6848b66
Added by Andrey Kamaev almost 12 years ago

Merge pull request #826 from pengx17:2.4_canny_clampfix

History

Updated by Kirill Kornyakov about 13 years ago

  • Tracker changed from Feature to Patch

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from High to Normal
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Priority changed from Normal to Low

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Marina Kolpakova over 12 years ago

If you are still interested in the integration of this patch please you can request pull to master on gitHub.

Updated by Marina Kolpakova over 12 years ago

Closed because of no activity.

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

Also available in: Atom PDF