read certain file instead of random one
This commit is contained in:
parent
eb64c8eded
commit
55dc2a9b9a
@ -22,7 +22,7 @@ Mat Input::readFile(String filePath)
|
|||||||
// Random shuffle
|
// Random shuffle
|
||||||
std::random_shuffle(filenames.begin(), filenames.end());
|
std::random_shuffle(filenames.begin(), filenames.end());
|
||||||
|
|
||||||
Mat image = imread(filenames[0], IMREAD_COLOR);
|
Mat image = imread(filePath, IMREAD_COLOR);
|
||||||
|
|
||||||
if(image.empty())
|
if(image.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user