Skip to content

Commit 6b37706

Browse files
committed
Fixing Warnings
1 parent 1a8f4a8 commit 6b37706

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/tracking/src/tldModel.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ namespace cv
198198
int positiveIntoModel = 0, negativeIntoModel = 0, positiveIntoEnsemble = 0, negativeIntoEnsemble = 0;
199199
if ((int)eForModel.size() == 0) return;
200200

201-
int64 e1, e2;
202-
double t;
203-
e1 = getTickCount();
201+
//int64 e1, e2;
202+
//double t;
203+
//e1 = getTickCount();
204204
for (int k = 0; k < (int)eForModel.size(); k++)
205205
{
206206
double sr = detector->Sr(eForModel[k]);
@@ -231,8 +231,8 @@ namespace cv
231231
detector->classifiers[i].integrate(eForEnsemble[k], isPositive);
232232
}
233233
}
234-
e2 = getTickCount();
235-
t = (e2 - e1) / getTickFrequency() * 1000;
234+
//e2 = getTickCount();
235+
//t = (e2 - e1) / getTickFrequency() * 1000;
236236
//printf("Integrate Additional: %fms\n", t);
237237
/*
238238
if( negativeIntoModel > 0 )
@@ -251,9 +251,9 @@ namespace cv
251251
int positiveIntoModel = 0, negativeIntoModel = 0, positiveIntoEnsemble = 0, negativeIntoEnsemble = 0;
252252
if ((int)eForModel.size() == 0) return;
253253

254-
int64 e1, e2;
255-
double t;
256-
e1 = getTickCount();
254+
//int64 e1, e2;
255+
//double t;
256+
//e1 = getTickCount();
257257

258258
//Prepare batch of patches
259259
int numOfPatches = (int)eForModel.size();
@@ -301,8 +301,8 @@ namespace cv
301301
detector->classifiers[i].integrate(eForEnsemble[k], isPositive);
302302
}
303303
}
304-
e2 = getTickCount();
305-
t = (e2 - e1) / getTickFrequency() * 1000;
304+
//e2 = getTickCount();
305+
//t = (e2 - e1) / getTickFrequency() * 1000;
306306
//printf("Integrate Additional OCL: %fms\n", t);
307307
/*
308308
if( negativeIntoModel > 0 )

0 commit comments

Comments
 (0)