imread not working
I am trying a simple program to read an image and display it. However, imread is not reading the image. I checked on the internet but many told that its because of mixing debug library and release library. How do I know which library i am using? Is it someother issue? please help.
src = imread("colorchart.bmp", CV_LOAD_IMAGE_COLOR); if(! src.data ) // Check for invalid input { cout << "Could not open or find the image" << std::endl ; return -1; } imshow( source_window, src );