fix typo in integral buffer initialization
This commit is contained in:
parent
1bf696f392
commit
d539dae6d0
@ -137,7 +137,7 @@ BoostedSoftCascadeOctave::BoostedSoftCascadeOctave(cv::Rect bb, int np, int nn,
|
||||
int w = boundingBox.width;
|
||||
int h = boundingBox.height;
|
||||
|
||||
integrals.create(poolSize, (w / shrinkage + 1) * (h / shrinkage * builder->totalChannels() + 1), CV_32SC1);
|
||||
integrals.create(npositives + nnegatives, (w / shrinkage + 1) * (h / shrinkage * builder->totalChannels() + 1), CV_32SC1);
|
||||
}
|
||||
|
||||
BoostedSoftCascadeOctave::~BoostedSoftCascadeOctave(){}
|
||||
|
Loading…
x
Reference in New Issue
Block a user