mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor improvement to example
This commit is contained in:
parent
ab1575da20
commit
093f709a9a
@ -67,7 +67,8 @@ std::vector<std::vector<string>> load_objects_list (
|
||||
for (auto img : subdir.get_files())
|
||||
imgs.push_back(img);
|
||||
|
||||
objects.push_back(imgs);
|
||||
if (imgs.size() != 0)
|
||||
objects.push_back(imgs);
|
||||
}
|
||||
return objects;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user