>frame;   imshow("a",frame);  waitKey(30); }  return0;}-IMDN开发者社群-imdn.cn"> >frame;   imshow("a",frame);  waitKey(30); }  return0;} - IMDN开发者社群-imdn.cn">
登录
首页 » c++ » opencv打开USB摄像头

opencv打开USB摄像头

于 2023-05-01 发布 文件大小:3.99 MB
0 54
下载积分: 2 下载次数: 1

代码说明:

#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; }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • tcstudy
    刚好U没放源码,找到留有的C 语言学习电子书( C)
    2012-04-07 19:46:07下载
    积分:1
  • uC_GUI
    基于cortex M3的Ucos,在群星系列单片机上验证通过!(Cortex M3 based on the Ucos, verify the MCU through the stars!)
    2011-10-26 22:11:16下载
    积分:1
  • chap30--use-ADO-handle-databases
    MFC操作数据库ADO操作数据库, MFC操作数据库ADO操作数据库,(use MFC to handle the databasees)
    2012-09-19 17:28:08下载
    积分:1
  • Micrium_ZC702_OS3
    Micrium_ZC702 OS2 CAN No Src
    2018-01-03 22:32:32下载
    积分:1
  • STM32F429_CAN12
    说明:  STM32F429 CAN1和CAN2同时使用,均可收发收据,可触发接收中断,亲测可用(Stm32f429 Can1 and can2 are used at the same time, which can send and receive receipts, trigger receiving interruption, and can be used for personal testing)
    2021-04-25 17:18:46下载
    积分:1
  • HTTPEUCPComm
    短信接口 短信接口 短信接口 短信接口 短信接口 短信接口(SMS Interface)
    2013-12-03 18:54:52下载
    积分:1
  • floatwindow
    一个浮动的Dialog窗口。编译,进入程序后,按工具条中的“裁减”命令,打开浮动窗口(a floating Dialog window. Build into procedures, according to the tools of the "cut" orders, floating window open)
    2005-08-17 11:38:37下载
    积分:1
  • C++读取txt文本中的矩阵数据 - CSDN博客
    vc++/vc程序,简单好学,方便初学者,程序完整,直接运行(Vc++/vc program, simple and easy to learn, convenient for beginners, complete program, direct operation)
    2018-04-29 20:46:34下载
    积分:1
  • fft
    说明:  fast fourier transformation
    2020-06-20 02:40:01下载
    积分:1
  • C#复习题
    c#复习题练习,通过本练习题可以进一步巩固c#相关知识结构。(C# review exercises, through this exercise can further consolidate the knowledge structure of c#.)
    2020-06-21 00:20:01下载
    积分:1
  • 696518资源总数
  • 105562会员总数
  • 1今日下载