broken cvHaarDetectObjects when minNeighbors=0 (Feature #270)
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
Associated revisions
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.