Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem : Couldn't find or open the image

Hi all :) To begin with, I wanted to say you that i'm not a native speaker and I'm only 16, so please be tolerant with my English :p Moreover, I begin with OpenCV by myself, so I know almost nothing about it... HEre is my question : In fact, I was in one of the first tutorial (http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html#display-image) and I tried to display an image. But I can't do it... I've tried to execute the exe file with CMD, with "release interface" in Visual Studio ultimate 2012 with arguments,... (I've also tried to put the image file (I've tried with bmp and jpg formats) into C:, my project's folder, the release's folder where I can find the .exe,...) Whatever I do, the image doesn't appear and I can just read "Could not open or find the image" (the text who appear when !image.data is true) Have one of you the answer? Best regards, Evoxz

Problem : Couldn't find or open the image

Hi all :) To begin with, I wanted to say you that i'm not a native speaker and I'm only 16, so please be tolerant with my English :p Moreover, I begin with OpenCV by myself, so I know almost nothing about it... HEre is my question : In fact, I was in one of the first tutorial (http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html#display-image) and I tried to display an image. But I can't do it... I've tried to execute the exe file with CMD, with "release interface" in Visual Studio ultimate 2012 with arguments,... (I've also tried to put the image file (I've tried with bmp and jpg formats) into C:, my project's folder, the release's folder where I can find the .exe,...) Whatever I do, the image doesn't appear and I can just read "Could not open or find the image" (the text who appear when !image.data is true) Have one of you the answer? Best regards, Evoxz

PS : The code I use can be found on the tutorial I linked, I haven't changed anything

Problem : Couldn't find or open the image

Hi all :) To begin with, I wanted to say you that i'm not a native speaker and I'm only 16, so please be tolerant with my English :p Moreover, I begin with OpenCV by myself, so I know almost nothing about it... HEre is my question : In fact, I was in one of the first tutorial (http://docs.opencv.org/doc/tutorials/introduction/display_image/display_image.html#display-image) and I tried to display an image. But I can't do it... I've tried to execute the exe file with CMD, with "release interface" in Visual Studio ultimate 2012 with arguments,... (I've also tried to put the image file (I've tried with bmp and jpg formats) into C:, my project's folder, the release's folder where I can find the .exe,...) Whatever I do, the image doesn't appear and I can just read "Could not open or find the image" (the text who appear when !image.data is true) Have one of you the answer? Best regards, Evoxz

PS : The code I use can be found on the tutorial I linked, I haven't changed anything

NB : I use OpenCV 2.4.10, the latest final version