***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****
I have a problem I did what you show this video, altough I see this error : VIDEOINPUT LIBRARY - 0.1995 - TFW07
I am also add: Properties-> debugging->Command Argument: ../data/lena.jpg C/C++->Additional Include Directories->C:\OpenCv\build\include;%(AdditionalIncludeDirectories) Linker->Additional Library Directories->C:\OpenCv\build\x64\vc14\lib;%(AdditionalLibraryDirectories) Linker->Input->Additional Dependencies-> opencv_world310d.lib And system path.
Program and library information: Visual Studio 2015 Opencv 3.1
I have tried:
1-) image = imread("C:\lena.jpg", IMREAD_COLOR);
It doesnt work. Same problem.
How can fix it ? Have you ever faced such a problem.
Best Regards
that's a debug msg, not an error. (if you switch to release mode, it will go away)
don't forget to C:\lena.jpg or C:/lena.jpg in your file name
Thanks, but I have still problem.
Could not open or find the image OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file C:\buildslave64\win64_amdocl\master_PackSlave-win64-vc14-shared\opencv\modules\highgui\src\window.cpp, line 281
Could you help to solve this problem?
Check image size before imshow
Result : [0 x 0]
Thanks all,
I solved this problem. I have changed my perspective on problems so I didnt think about code. I changed "lena.jpg" file which is a kind of incompatibility. It is working.