Ask Your Question

Roman_Kuznecov's profile - activity

2014-02-08 10:03:08 -0600 asked a question problem of using class cv :: Mat in the environment C + + CLR

Hi!

cv::Mat img = imread("test.jpg");
if (img.empty())
// Print ERROR_1 ...

Fails to initialize the object Mat. Method emty () always returns true. Initialize the structure IplImage same file - "test.jpg" not shed any causes. In console applications, class cv :: Mat works fine. IDE: Visual Studio 2010 Professional, NET Framework 4.5 Prompt in what could be the reason?