ImageCapture fix when bounding box not found.
This commit is contained in:
parent
475f6b9dfa
commit
03a7fc2309
1 changed files with 5 additions and 5 deletions
|
@ -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());
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue