捕获双网络摄像头平板电脑上的图像 [英] Capturing images on dual webcam tablets

查看:114
本文介绍了捕获双网络摄像头平板电脑上的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经构建了一个应用程序,可以捕获并将从平板电脑摄像头拍摄的图像上传到数据库,该应用程序适用于只有一个网络摄像头的平板电脑,但拒绝从具有双网络摄像头的平板电脑加载驱动程序。我正在使用的代码直接来自另一个代码项目解决方案, [ WhatplusisplususingplusWinFormCharpWebCam-b ]


有人知道是否有针对运动双网络摄像头的平板电脑的修复程序?



感谢一堆

解决方案

使用Silverlight 4并使用

 使用 var  connection =  new  ComToolkit.Data.AdoConnection(connectionString))
{
connection.Open();
var command = connection.CreateCommand();
command.CommandText = SELECT MyColumn FROM MyTable;
var reader = command.ExecuteReader();
while (reader.Read())
{
object byindex = reader [ 0 ];
object bystring = reader [ MyColumn ];
// 要使用动态属性,必须将阅读器声明为动态。
< span class =code-comment> //
object bydynamic = reader.MyColumn;
}
}


I have built an application that will capture and upload images taken from a tablet webcam to a database, the app works on tablets that only have one webcam but refuses to load the driver from tablets that have dual webcams. The code I'm using is straight from another code project solution, [WhatplusisplususingplusWinFormCharpWebCam-b]

Does anybody know if there is a fix for tablets sporting dual webcams?

Thanks a bunch

解决方案

use Silverlight 4 and attach the database using

using (var connection = new ComToolkit.Data.AdoConnection(connectionString))
{
    connection.Open();
    var command = connection.CreateCommand();
    command.CommandText = "SELECT MyColumn FROM MyTable";
    var reader = command.ExecuteReader();
    while (reader.Read())
    {
        object byindex = reader[0];
        object bystring = reader["MyColumn"];
        //to use dynamic properties reader must be declared as dynamic.
        //object bydynamic = reader.MyColumn;
    }
 }


这篇关于捕获双网络摄像头平板电脑上的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆