1 | initial version |
You are using a relative path for test.jpg are you sure that the image is located where it is supposed to when you run your executable?
You are probably executing your program from a working directory different than what you are expecting.
Just to be sure, you could try to provide imread the absolute path to the image test.jpg
Good luck!
2 | grammar |
You are using a relative path for test.jpg are . Are you sure that the image is located where it is supposed to when you run your executable?
You are probably executing your program from a working directory different than what you are expecting.
Just to be sure, you could try to provide imread the absolute path to the image test.jpg
Good luck!