Resolve mixing of std::string and cv::String, more work on new img processing approach.
This commit is contained in:
1 parent
977f531f72
commit
f208cda1ed
2 files changed
+38
-11
No files matched your search
@@ -15,8 +15,8 @@ Mat Input::readFile(String filePath)
|
||||
{
|
||||
std::srand(std::time(0));
|
||||
// Read all .jpg files from the specified folder
|
||||
std::string folder = filePath;
|
||||
std::vector<std::string> filenames;
|
||||
cv::String folder = filePath;
|
||||
std::vector<cv::String> filenames;
|
||||
cv::glob(folder, filenames);
|
||||
|
||||
// Random shuffle
|
||||
|
||||
Reference in new issue
Block a user