mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 04:12:52 +08:00
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…
Reference in New Issue
Block a user