1 | initial version |
A great help. Thanks a lot. I had spent lot of time, though learned the hard way.
Only getting one problem in Debug : My system is windows 7 , 64 bit using VS 2010 and OpenCV 2.4.8
Error 1 error LNK1181: cannot open input file 'opencv_calib3d248d.dll' C:\Users\world\project\ver1\LINK ver1
I am trying this code : taken from web site
using namespace cv;
int main() { int k; VideoCapture cap = VideoCapture(0); while(1) { Mat img; cap >> img; imshow("image",img);
k = waitKey(10);
if (k == 27) {
break;
}
}
return 0;
}
This program builds successfully in 64 bit , but on when I try to start without debugging I get this error OpenCV Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, file ......\opencv248\opencv\sources\modules\highgui\src\window.cpp, line 261 Press any key to continue . . . Similarly, I had developed a project in university times using 32 bit on the same system i.e., Win7, 32 bit with VS2010 , it works fine in VS2010 with same configuration but when I try to build it in 64 bit it gives same error message. Can you guide me. Rest all is OK. Thanks