read certain file instead of random one

This commit is contained in:
zeunerti74726 committed 2022-11-23 17:09:27 +01:00
1 parent eb64c8eded
commit 55dc2a9b9a
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ Mat Input::readFile(String filePath)
// Random shuffle
std::random_shuffle(filenames.begin(), filenames.end());
Mat image = imread(filenames[0], IMREAD_COLOR);
Mat image = imread(filePath, IMREAD_COLOR);
if(image.empty())
{