Fixed bug when image is missing

This commit is contained in:
AlexeyAB
2019-04-06 16:26:17 +03:00
parent 71d20264d1
commit d6b9512a00

View File

@ -95,7 +95,6 @@ mat_cv *load_image_mat_cv(const char *filename, int flag)
std::ofstream bad_list("bad.list", std::ios::out | std::ios::app);
bad_list << shrinked_filename << std::endl;
//if (check_mistakes) getchar();
delete mat_ptr;
return NULL;
}
cv::cvtColor(mat, mat, CV_RGB2BGR);