This website works better with JavaScript.
Home
Explore
Help
Sign In
yasarba71520
/
Line-Following-Robot
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
read certain file instead of random one
pull/1/head
Tim Zeuner
2 years ago
parent
eb64c8eded
commit
55dc2a9b9a
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
AutonomousMode/Input/input.cpp
+ 1
- 1
AutonomousMode/Input/input.cpp
View File
@@ -22,7 +22,7 @@ Mat Input::readFile(String filePath)
// Random shuffle
std::random_shuffle(filenames.begin(), filenames.end());
Mat image = imread(file
names[0]
, IMREAD_COLOR);
Mat image = imread(file
Path
, IMREAD_COLOR);
if(image.empty())
{
Write
Preview
Loading…
Cancel
Save