简体   繁体   English

.NET应用程序从PDA摄像机捕获图像

[英].NET Application to Capture Image from PDA Camera

I am trying to capture images from a PDA camera by clicking the capture button in my application so that I can save (using save button in my application) it in my application (I also need to zoom the picture through my application by clicking the zoom Button.) 我试图通过单击应用程序中的“捕获”按钮从PDA相机捕获图像,以便可以将其保存(使用应用程序中的“保存”按钮)(我也需要通过单击缩放来缩放应用程序中的图片)按钮。)

I have to do this in .NET using C#. 我必须使用C#在.NET中执行此操作。

How can it be achieved? 如何实现?

Version 2.0 of the .NET Compact Framework provides the CameraCaptureDialog to add camera support to your application. .NET Compact Framework的2.0版提供了CameraCaptureDialog来向您的应用程序添加相机支持。 Unfortunately, it's limited to activating the camera and waiting for the user to take a picture or cancel the dialog. 不幸的是,仅限于激活相机并等待用户拍照或取消对话框。 You would need to perform the zoom on the still image after it has been captured. 捕获静止图像后,您需要对其进行缩放。

Alternatively, there are some 3rd party components available for accessing the the camera. 另外,还有一些第三方组件可用于访问相机。 One such component is showcased on codeproject , but you will obviously need to license the components for your app. 其中一个这样的组件已在codeproject展示 ,但是您显然需要为您的应用许可这些组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM