We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdec47 commit 98750eaCopy full SHA for 98750ea
modules/tracking/src/trackerKCF.cpp
@@ -223,8 +223,8 @@ namespace cv{
223
224
// create gaussian response
225
y=Mat::zeros((int)roi.height,(int)roi.width,CV_64F);
226
- for(unsigned i=0;i<roi.height;i++){
227
- for(unsigned j=0;j<roi.width;j++){
+ for(unsigned i=0;i<(int)roi.height;i++){
+ for(unsigned j=0;j<(int)roi.width;j++){
228
y.at<double>(i,j)=(i-roi.height/2+1)*(i-roi.height/2+1)+(j-roi.width/2+1)*(j-roi.width/2+1);
229
}
230
0 commit comments