1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00

Merge pull request #1515 from sturkmen72:update_datasets

This commit is contained in:
Alexander Alekhin
2018-01-27 17:09:23 +00:00

View File

@@ -134,9 +134,9 @@ namespace cv
printf("Error to open groundtruth.txt!!!");
//Make a list of datasets lengths
int currFrameID = 1;
int currFrameID = 0;
if (currDatasetID == 0)
printf("VOT 2015 Dataset Initialization...\n");
printf("VOT Dataset Initialization...\n");
bool trFLG = true;
do
{
@@ -174,7 +174,7 @@ namespace cv
}
else
{
printf("Couldn't find a *list.txt* in VOT 2015 folder!!!");
printf("Couldn't find a *list.txt* in VOT Dataset folder!!!");
}
namesList.close();
@@ -202,11 +202,12 @@ namespace cv
if (id > 0 && id <= (int)data.size())
{
activeDatasetID = id;
frameCounter = 0;
return true;
}
else
{
printf("Dataset ID is out of range...\nAllowed IDs are: 1~%d\n", (int)data.size());
printf("Dataset ID is out of range...\nAllowed IDs are: 1~%d\n", (int)data.size());
return false;
}
}