首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > opencv打开USB摄像头

opencv打开USB摄像头

  • 资源大小:3.99 MB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: c++

资 源 简 介

#include #include #include #include using namespace cv; int main() {  VideoCapture capture(1);  //namedWindow("a", CV_WINDOW_NORMAL);  //setWindowProperty("a", CV_WND_PROP_FULLSCREEN);  //capture.set(CV_CAP_PROP_FRAME_WIDTH, 1920.0);  //capture.set(CV_CAP_PROP_FRAME_HEIGHT, 1920.0);    while (1)  {   Mat frame;   capture >> frame;     imshow("a", frame);   waitKey(30);  }    return 0; }

文 件 列 表

test2
test2
ipch
Debug
test2.sln
test2.v12.suo
test2.sdf
VIP VIP
0.168654s