mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-15 11:47:50 +00:00
ImageCapture fix when bounding box not found.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user