登录
首页 » C# » c#l连接多个摄像头

c#l连接多个摄像头

于 2023-06-28 发布 文件大小:340.35 kB
0 226
下载积分: 2 下载次数: 1

代码说明:

USB连接多个摄像头代码,列表可以读出多个USB设备,但切切记住的是一个USB control下最多俩个摄像头,需要更多摄像头可以从驱动方面考虑或者添加USB PCI的扩展或代码写个控制时间轮续实现。

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

发表评论

0 个回复

  • 实验3
    说明:  1、单向通信 向甲方连续不断地发送变量a的值,未按键,a=0x0f,按键后根据按键确定a值;并将a的值取反从P0口输出,控制D0、D1、D2、D3相应点亮。乙方接收到数据并偶校验正确后,将接收数据取反从P0口输出,控制D0、D1、D2、D3相应点亮。 2、双向通信 甲方连续不断地发送变量a的值,未按键,a=0x0f,按键后根据按键确定a值;乙方未按键不发送,按键后将乙方按键得到的a*16发送;甲乙双方都将发送数据与接收数据相或后再取反,从P0口输出控制D0—D7相应点亮。 3、间隔发送 未按键,甲方不发送数据,按键后甲方每隔50ms连续发送4个字节:0xff、a、a、a。 乙方只在收到甲方数据0xff后的3个数据并验证相同时,才将接收数据*16发送。 甲乙双方都将发送数据与接收数据相或后,从P0口输出控制D0—D7相应点亮。(1. One-way communication The value of variable a is continuously sent to Party A without key, a = 0x0f. After the key is pressed, the value of a is determined according to the key; and the value of a is output from P0 port to control the corresponding lighting of D0, D1, D2 and D3. After receiving the data and checking it correctly, Party B will output the received data from P0 port and control D0, D1, D2 and D3 to light up accordingly. 2. Two-way communication Party A continuously sends the value of variable a without key, a = 0x0f, and determines a value according to the key after the key; Party B does not send the key without key, and sends the a*16 obtained by the key after the key is pressed; Both parties will send the data to or from the receiving data, and then retrieve the data and control D0-D7 from the P0 port to light up accordingly. 3. Interval Sending Without keys, Party A does not send data. After keys, Party A sends 4 bytes continuously every 50 ms: 0xff, a, a.)
    2020-11-16 09:29:42下载
    积分:1
  • Daima
    遥感图像处理源代码,包括遥感影像读入、几何校正、影像重采样等等(Remote sensing image processing code)
    2020-08-11 16:28:30下载
    积分:1
  • C++ primer 5 练习题
    第一章习题代码 C++实现 有什么错误还请大家指正 ex1_09.cpp
    2023-02-25 09:40:03下载
    积分:1
  • Library-Automation-in-cSharp
    to order our library by using database and its application. We have learnt how to create a database system and their entity relations. Besides, we have written an automation application that is connected our database in c# with windows forms. Thus, we can reach our library easily.
    2013-01-12 05:08:52下载
    积分:1
  • EN50221
    DVB标准中的有关条件接收的CI标准规范,英文版(EN50221 Common Interface Specification for Conditional Access and other Digital Video Broadcasting Decoder Applications)
    2011-10-25 14:36:19下载
    积分:1
  • DMA(basi-on-stm32F4)
    1.实现了对串口2的操作。 2.利用DMA+空闲中断+串口,完成了对变帧长数据的接收与发送。(1. To achieve the serial port 2 operation. 2. Using DMA+ idle interrupt+ serial port, completed the variable frame data reception and transmission.)
    2021-03-16 14:29:21下载
    积分:1
  • joyocn-wish
    软件介绍 修改了性别不能显示的bug,简化了参数设置,加入了绝对路径设置,加入了背景音乐,初始管理员admin,密码123 (Software introduction Modify the gender can not display the bug, simplifying the parameter settings, joined the absolute path settings, adding the background music, the initial administrator admin, password 123)
    2016-03-04 15:09:36下载
    积分:1
  • 激光焊接 laser welding
    说明:  Fluent UDF 激光焊接 VOF追踪自由界面 灵活添加各种源项(Laser welding UDF FLUENT)
    2021-04-15 09:08:54下载
    积分:1
  • 输入正规表达式以及符号串判断是否句子
    输入正规表打式,判断输入串是否符合表达式
    2022-05-20 21:57:27下载
    积分:1
  • IEEE802.15.4_opnet_simulation_model_v2.1
    为opnet14.5仿真 zigbee的模型,除自带的物理层。MAC层外还有网络层等内容,使用简单,配合视屏学习。
    2023-02-13 20:50:04下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载