简体   繁体   English

使用.NET访问HTC wm6.5摄像机

[英]Access HTC wm6.5 camera using .NET

Well i have a htc diamond 2 which run on wm6.5, I would like to access the built in camera to capture image. 好吧,我有一个在wm6.5上运行的htc钻石2,我想访问内置的摄像头来捕获图像。 I am not building wm app, i want to build ac#(or any other .NET) winform app that run on windows 7 platform. 我不是在构建wm应用程序,而是要构建在Windows 7平台上运行的ac#(或任何其他.NET)winform应用程序。 Is that possible? 那可能吗? I found some articles about directshow.net,wia,windowsmobile camera capture dialog etc.But i really have no idea on how to start it. 我发现了一些有关directshow.net,wia,windowsmobile摄像机捕获对话框等的文章。但是我真的不知道如何启动它。 So my question is: 所以我的问题是:

  1. How do i establish a connection to my phone(i have to initiate a connection between my pc and phone's camera first right?),do i need to download any windows mobile sdk? 如何建立与手机的连接(我必须先在PC和手机的摄像头之间建立连接?),是否需要下载任何Windows Mobile SDK?
  2. To control the camera, do i need any driver installed? 要控制相机,我是否需要安装任何驱动程序?
  3. Do i use htc camera api/sdk(which i can't find) or windows mobile api/sdk to control the camera? 是否使用htc相机api / sdk(我找不到)或Windows Mobile api / sdk来控制相机?

For HTC devices DirectShow cannot be used. 对于HTC设备,不能使用DirectShow。 The problem is that HTC provides only basic DirectShow API, and you will be able only use very small resolution from camera 320x240. 问题在于,HTC仅提供基本的DirectShow API,并且您将只能使用来自摄像机320x240的非常小的分辨率。 HTC doen't provide any SDK. HTC不提供任何SDK。 But I found very useful components for Windows Mobile Direct Show on this page. 但是我在此页面上发现了Windows Mobile Direct Show的非常有用的组件。 They are paid but quite good. 他们是有偿的,但还不错。 I think it is worth to check. 我认为值得检查。 I'm using Player Control for DirectShow video playing. 我正在使用Player Control进行DirectShow视频播放。 And there HCTCamera component (Some raw version I think still free) which I didn't check but you can: 还有我没有检查过的HCTCamera组件(我认为有些原始版本仍然免费),但是您可以:

HTCCamera Control HTCCamera Control

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

相关问题 wm6.5仿真器无法连接主机上的Web服务 - wm6.5 emulator can not connect web services on the host machine WM6.5锁定屏幕关闭GPS服务 - WM6.5 Lock screen turns off GPS service 使用WM6.5设备通过蓝牙以编程方式连接/同步到WMDC - Programmatically connect/sync to WMDC via bluetooth with WM6.5 device WIP6.5仿真器和Windows手持设备6.5(Motorola MC65)上未显示SIP按钮 - SIP buttons not showing on WM6.5 emulator and Windows handheld 6.5 (Motorola MC65) 尽管已在.NET CF 3.5的WM 6.5上成功发送消息,但SoapHttpClientProtocol仍引发ConnectFailure - SoapHttpClientProtocol throws ConnectFailure despite having successfully sent message on WM 6.5 with .NET CF 3.5 Windows Mobile应用程序可以在Professional 6.5仿真器中使用,但不能在WM 6.5设备中使用 - Windows Mobile Appliacation works in Professional 6.5 Emulator but not in WM 6.5 Device 在wm 6.5上自动切换到数字键盘 - Auto switch to numeric keypad on wm 6.5 如何在WM 6.5中创建手指可滚动的文本框? - How can I create a finger scrollable Textbox in WM 6.5? WM 6.5 C#控制台应用程序,在另一个应用程序具有焦点的情况下在后台运行时捕获击键 - WM 6.5 C# console application, capturing keystrokes while running in the background while another application has focus 从Windows Mobile 6.5访问网络共享 - access network share from windows mobile 6.5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM