Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@Berak's comment is right. I would add that for me, it was easier to place an image in a specific path on my computer, then hardcode the path like this:

Mat image;

string path = "C:/myfirstimage.jpg";

image = imread( path );

From there, I was able to elaborate (like, scanning through a folder and display all images, one at a time, etc.).

As I said, I was not that familiar with VS command line at the time so this was easier for me, but others might realy prefer the command line...