Resolve mixing of std::string and cv::String, more work on new img processing approach.

This commit is contained in:
2022-11-29 18:10:16 +01:00
parent 977f531f72
commit f208cda1ed
2 changed files with 38 additions and 11 deletions
+2 -2
View File
@@ -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