1、安装了VCam后,下面这样的写法报错
VideoCapture capture;
capture.open(0);
正确修改后为:VideoCapture capture(0);
2、vs2010 +opencv2.3.1 调用cv::FileStorage fs("parameters.yml", cv::FileStorage::READ); 时报错
原因:调用的dll 是vs2008编译的
1、安装了VCam后,下面这样的写法报错
VideoCapture capture;
capture.open(0);
正确修改后为:VideoCapture capture(0);
2、vs2010 +opencv2.3.1 调用cv::FileStorage fs("parameters.yml", cv::FileStorage::READ); 时报错
原因:调用的dll 是vs2008编译的