broken cvHaarDetectObjects when minNeighbors=0 (Feature #270)


Added by Vincent Rabaud almost 15 years ago. Updated almost 15 years ago.


Status:Done Start date:
Priority:Blocker Due date:
Assignee:- % Done:

0%

Category:imgproc, video
Target version:-
Difficulty: Pull request:

Description

The current trunk (rev 2999, post 2.1) version of cvHaarDetectObjects crashes when minNeighbors=0.

This is very simple: rweights is referenced in line 1270 even though it still has a size of 0 when minNeighbors=0.

The patch fixes that.

Regards,
Vincent


cvhaar.patch (424 Bytes) Vincent Rabaud, 2010-04-07 11:21 pm


Associated revisions

Revision dcde3591
Added by Andrey Kamaev about 12 years ago

Merge pull request #270 from wswld:2.4

History

Updated by Vadim Pisarevsky almost 15 years ago

thanks! your patch is applied in r3009

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Nicholas Butko almost 15 years ago

I still get (periodic) segfaults when minNeighbors=0. I am using r3177, and the patch appears to have been applied. Maybe this ticket should be reopened?

Updated by Nicholas Butko almost 15 years ago

Sorry, this is a false alarm. I was linking to an older version than the one I'd built.

Also available in: Atom PDF