Browse Source

read certain file instead of random one

pull/1/head
Tim Zeuner 2 years ago
parent
commit
55dc2a9b9a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      AutonomousMode/Input/input.cpp

+ 1
- 1
AutonomousMode/Input/input.cpp View File

// 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…
Cancel
Save