Resolve mixing of std::string and cv::String, more work on new img processing approach.
This commit is contained in:
@@ -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