int test07() {
char c;
VideoCapture inputVido(0);//1为外部摄像头ID,0为电脑内置ID
Mat src;
for (;;)
{
inputVido >> src;
imshow("视频",src);
c = waitKey(10);
if (c == 27)break;
}
return 0;
}
,
int test07() {
char c;
VideoCapture inputVido(0);//1为外部摄像头ID,0为电脑内置ID
Mat src;
for (;;)
{
inputVido >> src;
imshow("视频",src);
c = waitKey(10);
if (c == 27)break;
}
return 0;
}
,