opencv3.0+vs2010 获取图像帧出错 20
CvCapture*capture;capture=cvCreateCameraCapture(0);cvNamedWindow("Laplace",0);IplImag...
CvCapture *capture;
capture = cvCreateCameraCapture(0);
cvNamedWindow("Laplace",0);
IplImage *frame;
while(1)
{
frame = cvQueryFrame(capture);//运行到这,出现failed to load opencl runtime
cvShowImage("Laplace",frame);
if('a' ==cvWaitKey(10))
break;
}
cvReleaseCapture(&capture);
cvDestroyWindow("Laplace");
return 0; 展开
capture = cvCreateCameraCapture(0);
cvNamedWindow("Laplace",0);
IplImage *frame;
while(1)
{
frame = cvQueryFrame(capture);//运行到这,出现failed to load opencl runtime
cvShowImage("Laplace",frame);
if('a' ==cvWaitKey(10))
break;
}
cvReleaseCapture(&capture);
cvDestroyWindow("Laplace");
return 0; 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏20(财富值+成长值)
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询