c# 网口相机可以通过,使用C#/ C ++的网络摄像头或数码相机系统

Hello friends,

I am working on a camera system that should have 3 USB web- or digicams. They are controlled with C#/C++ to take photos at the same time and give the photos back to my PC with the date and time. The program should at best be useable for any popular normal cams.

I think i''ve ready know the codes should be worked out with DirectShow''s help.

But what''s more, i want know if it''s possible that three sameusb-cameras together or one after another to take fotos(for various sights).

Is there conflikts between them? How can i prevent the problem when i don''t choose three different ones?

Or does anybody already worked with more than one webcams in a c-program?

Thanks a lot for your help!

Christoph

解决方案I presume your platform is windows (C#...), if you are looking for a way to handle input from the cameras, i recommend looking into Microsoft''s DirectShow[^]. The documentation is quite detailed and there are a lot of tutorials around the net.

Yes, I agree with Code-o-mat,you can read about DirectShow (sometimes abbreviated as DS or DShow), is a multimedia framework and API produced by Microsoft for software developers to perform various operations with media files or streams. It is the replacement for Microsoft''s earlier Video for Windows technology. Based on the Microsoft Windows Component Object Model (COM) framework, DirectShow provides a common interface for media across various programming languages, and is an extensible, filter-based framework that can render or record media files on demand at the request of the user or developer. The DirectShow development tools and documentation were originally distributed as part of the DirectX SDK.

Currently, they are distributed as part of the Windows SDK (formerly known as the Platform SDK). But Microsoft plans to completely replace DirectShow gradually with Media Foundation in future Windows versions. Windows Vista and Windows 7 applications use Media Foundation instead of DirectShow for several media related tasks.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd375454%28v=vs.85%29.aspx

http://www.laganiere.name/directshowTut/

http://www.codeguru.com/cpp/g-m/directx/directshow/article.php/c9551/DirectShow-SingleFrame-Capture-Class-Without-MFC.htm

DirectShow Programming from Youtube:

http://www.youtube.com/watch?v=bl_ADLC76oQ

http://www.youtube.com/watch?v=BOGF3WkmcL8&feature=relmfu

http://www.youtube.com/watch?v=ZzIKOGKJEwc&feature=relmfu

http://www.youtube.com/watch?v=BA1Vkx77fZ4&feature=relmfu

http://www.youtube.com/watch?v=RN8ygMtQFu4&feature=relmfu

Here articles from codeproject:

A Brief Tutorial On How To Develop DirectShow Source Filter For Beginners[^]

Streaming Server using Direct Show and Windows Media Format[^]

DirectShow.NET[^]

Programming DirectShow applications in C#: A set of tutorials[^]

Streaming video across a network using DirectShow:

http://social.msdn.microsoft.com/Forums/en-US/windowsdirectshowdevelopment/thread/f28de003-abe6-4949-8a3f-6f7d1198e008/

For example, you can also read about Mango DSP a developer and manufacturer of intelligent video surveillance devices:

http://www.mangodsp.com/default.asp?id=11&item=4[^]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值