Skip to content
Snippets Groups Projects
Commit 697dc967 authored by Thomas Boy's avatar Thomas Boy
Browse files

small bug fix

parent 3581efbc
Branches
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment