使用无触摸lib捕获视频的问题 [英] problem capturing video with touchless lib

查看:70
本文介绍了使用无触摸lib捕获视频的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨大家可以有人知道安装无触摸lib的步骤是什么我的意思是我应该编译哪一个以及哪个touchless.dll和webcam.dll我应该添加到我的项目中我找不到任何guid在哪里?非常感谢。

hi guys can anybody knows what are the steps to install the touchless lib I mean which one I should compile and which touchless.dll and webcam.dll I should add to my project I don't find any guid any where? thanks and any help greatly appreciated.

推荐答案

您可以在此CodeProject文章中找到使用Touchless SDK进行图像捕获的代码示例:

< a href =http://www.codeproject.com/Articles/125478/Versatile-WebCam-C-library#HowTo>多功能WebCam C#库 [ ^ ]。



它没有看到你正在做正确的操作。首先,您无条件地引用对象 Touchless.Cameras.Item(0)。为什么你认为这个系列在通话时有任何元素?这段代码将抛出异常;而你不关心这个基本的东西。您需要使用 CameraService.AvailableCameras 发现可用的摄像头。现在,比名称 Form2_Load 表明这是 Form.Load 事件的处理程序。如果是这样,看看你在做什么,显然只是在表单生命周期中。你拍了当前的照片。什么图像,如果你没有开始捕捉?等等...



-SA
You can find a code sample for image capturing with Touchless SDK in this CodeProject article:
Versatile WebCam C# library[^].

It doesn't see that you are doing proper operations. First of all, you unconditionally reference the object Touchless.Cameras.Item(0). Why do you think there are any elements in this collection at the moment of call? This code will throw and exception; and you don't care about this basic thing. You need to discover available cameras using CameraService.AvailableCameras . Now, than name Form2_Load suggests that this is a handler of the Form.Load event. If so, look what you are doing, apparently only once during the form lifetime. You take current image. What image, if you did not start capturing? And so on…

—SA


这篇关于使用无触摸lib捕获视频的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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