ImageCapture fix when bounding box not found.

This commit is contained in:
Tadas Baltrusaitis 2017-11-15 09:03:41 +00:00
parent 475f6b9dfa
commit 03a7fc2309

View file

@ -249,11 +249,11 @@ bool ImageCapture::OpenDirectory(std::string directory, std::string bbox_directo
bounding_boxes.push_back(bboxes_image);
}
}
else
{
ERROR_STREAM("Could not find the corresponding bounding box for file:" + file_iterator->string());
else
{
ERROR_STREAM("Could not find the corresponding bounding box for file:" + file_iterator->string());
exit(1);
}
}
}
}