From 190d2dcf85cbe08e4c128d5b734f8ae4ede48514 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Sun, 16 Aug 2015 04:25:09 +0900 Subject: [PATCH] Warnings Fix #3 --- modules/tracking/src/multiTracker.cpp | 2 -- modules/tracking/src/tldDataset.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/tracking/src/multiTracker.cpp b/modules/tracking/src/multiTracker.cpp index cc80d67f9..d7bb283e6 100644 --- a/modules/tracking/src/multiTracker.cpp +++ b/modules/tracking/src/multiTracker.cpp @@ -90,8 +90,6 @@ namespace cv printf("Optimized MO-TLD Update....\n"); //Get parameters from first object - //Set current target(tracker) parameters - Rect2d boundingBox = boundingBoxes[0]; //TLD Tracker data extraction Tracker* trackerPtr = trackers[0]; tld::TrackerTLDImpl* tracker = static_cast(trackerPtr); diff --git a/modules/tracking/src/tldDataset.cpp b/modules/tracking/src/tldDataset.cpp index 240066a9c..9ddbeed25 100644 --- a/modules/tracking/src/tldDataset.cpp +++ b/modules/tracking/src/tldDataset.cpp @@ -118,7 +118,7 @@ namespace cv cv::Rect2d tld_InitDataset(int videoInd, const char* rootPath, int datasetInd) { char* folderName = (char *)""; - int x = 0, + double x = 0, y = 0, w = 0, h = 0;