Control Camera Device From C#

会有一股神秘感。 提交于 2020-01-10 19:46:33

问题


I am now facing one problem which to get the live image from Camera (eg. Sony, Canon) into winform and also control the camera capture button from a button in the form.

have Anyone build something like this, or are there any similar project like this which is done in C#?


回答1:


This hardly depends on the capabilities of the camera and its driver. Your biggest chance might be the Windows Image Acquisition (WIA) framework.

Take a look at this article or the MSDN reference.




回答2:


Emgu cv is a project that provides all the bindings for OpenCV. I've used it on both Windows and Linux platforms (Mono) with great success.

http://emgu.com/ http://emgu.com/wiki/index.php/Camera_Capture_in_7_lines_of_code




回答3:


You can also take a look on Intel OpenCV. It's C++, but you can use use PInvoke to use it from c#




回答4:


This project supports even high-end PTZ camera. Code Project - Versatile WebCam C# library.

It uses Touchless.Vision and WebCamLib



来源:https://stackoverflow.com/questions/1425992/control-camera-device-from-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!