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

try next bug fix, huge work around for corrupted file test

parent dda824f2
Branches
No related tags found
No related merge requests found
......@@ -690,7 +690,7 @@ int main(int argc, char * argv[])
std::string nameOutErrorList = outputDir + "fileErrorList.yml";
cout <<"amount of file errors: "<< myFileErrorList.size()<<endl;
FileStorage fs2(nameOutErrorList.c_str(), FileStorage::WRITE);
fs2 << "fileErrorIO" << myFileErrorList;
fs2 << "fileErrorIOs" << myFileErrorList;
//we write error list no contours found in file
cout <<"amount contour errors with canny edge: "<< myFileListNoContour.size()<<endl;
......@@ -698,7 +698,13 @@ int main(int argc, char * argv[])
//we write error list no contours found in file
cout <<"amount contour errors after selection: "<< myFileListAfterContourSelection.size()<<endl;
fs2 << "fileErrorNoContoursAfterSelection" << myFileListAfterContourSelection;
fs2 << "fileErrorNoContoursAfterSelections" << myFileListAfterContourSelection;
//we write error list no contours found in file
cout <<"amount of corrupted jpg files: "<< myFileListCorrupted.size()<<endl;
fs2 << "fileErrorIOcorruptFiles" << myFileListCorrupted;
fs2.release();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment