From 697dc9676fc06ade4f389a93b1ccdbc89e1800d8 Mon Sep 17 00:00:00 2001 From: Thomas Boy <thomas-boy@idiv.de> Date: Thu, 23 Aug 2018 09:01:51 +0200 Subject: [PATCH] small bug fix --- Demo.cpp | 6 +++--- Demo2.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Demo.cpp b/Demo.cpp index 0e9f2e3..fb8fc4f 100644 --- a/Demo.cpp +++ b/Demo.cpp @@ -14,7 +14,7 @@ based on original demo.cpp #define PROCESS_CENTER_VERSION_MAJOR 0 -#define PROCESS_CENTER_VERSION_MINOR 6 +#define PROCESS_CENTER_VERSION_MINOR 8 //opencv #include <opencv2/opencv.hpp> @@ -306,14 +306,14 @@ int main(int argc, char * argv[]) int everyPic=60*5; int frameCounter=0; - for(frameCounter=0;i<amountFiles;frameCounter++) + for(frameCounter=0;frameCounter<amountFiles;frameCounter++) { //measure time consumption clock_t begin = clock(); fileName = inputDir + TToolBox::getFileName(frameCounter); - cout <<"\t"<<i<<"\tof \t"<<amountFiles<<" load file :"<< fileName<<endl; + cout <<"\t"<<frameCounter<<"\tof \t"<<amountFiles<<" load file :"<< fileName<<endl; //cv::imwrite(convert.str().c_str(), img_output); //we open the file img_input = imread(fileName.c_str(), CV_LOAD_IMAGE_COLOR); diff --git a/Demo2.cpp b/Demo2.cpp index 3ce6431..e518a8c 100644 --- a/Demo2.cpp +++ b/Demo2.cpp @@ -14,7 +14,7 @@ based on original demo.cpp #define PROCESS_CENTER_VERSION_MAJOR 0 -#define PROCESS_CENTER_VERSION_MINOR 6 +#define PROCESS_CENTER_VERSION_MINOR 2 //opencv #include <opencv2/opencv.hpp> -- GitLab