mirror of https://github.com/davisking/dlib.git
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())
|
for (auto img : subdir.get_files())
|
||||||
imgs.push_back(img);
|
imgs.push_back(img);
|
||||||
|
|
||||||
objects.push_back(imgs);
|
if (imgs.size() != 0)
|
||||||
|
objects.push_back(imgs);
|
||||||
}
|
}
|
||||||
return objects;
|
return objects;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue