diff --git a/Demo.cpp b/Demo.cpp index 6ab12a8786b90ea4ba58dfbc87ee8892700b5556..cc605d32b5fe76d7d8bead78ad6ef732c081fedc 100644 --- a/Demo.cpp +++ b/Demo.cpp @@ -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();