File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/applications/detection Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2121#include < boost/archive/xml_oarchive.hpp>
2222#include < boost/exception/all.hpp>
2323#include < boost/filesystem.hpp>
24- #include < boost/filesystem/convenience.hpp>
2524#include < boost/ptr_container/ptr_list.hpp>
2625#include < boost/timer/timer.hpp>
2726#include < opencv2/core/core.hpp>
@@ -501,7 +500,7 @@ int main(int argc, char** argv)
501500 tbb::parallel_for (0 , 2 , [&](size_t fileListIdx) {
502501 for (const auto & fileInFolder : files[fileListIdx])
503502 {
504- const std::string subExt (bfs::extension ( fileInFolder.second ));
503+ const std::string subExt (fileInFolder.second . extension (). string ( ));
505504
506505 if ((subExt == " .png" ) || (subExt == " .jpg" ) || (subExt == " .PNG" ) || (subExt == " .JPG" ))
507506 {
You can’t perform that action at this time.
0 commit comments