diff --git a/bin/data/samples_GT.bmp b/bin/data/samples_GT.bmp index 2bd0cbee..d83a399f 100644 Binary files a/bin/data/samples_GT.bmp and b/bin/data/samples_GT.bmp differ diff --git a/tools/ConsoleApp/main.cpp b/tools/ConsoleApp/main.cpp index 4336ece5..9b35da49 100644 --- a/tools/ConsoleApp/main.cpp +++ b/tools/ConsoleApp/main.cpp @@ -540,9 +540,9 @@ int main(int argc, char * argv[]) } // Generate the ground truth file - printf("Generate ground truth to file %s, size of %d\n", (rtabmap.getWorkingDir()+GENERATED_GT_NAME).c_str(), groundTruthMat.rows); + printf("Generate ground truth to file %s, size of %d\n", GENERATED_GT_NAME, groundTruthMat.rows); IplImage img = groundTruthMat; - cvSaveImage((rtabmap.getWorkingDir()+GENERATED_GT_NAME).c_str(), &img); + cvSaveImage(GENERATED_GT_NAME, &img); printf(" Creating ground truth file = %fs\n", timer.ticks()); }