界面开发 [英] Interface development

查看:57
本文介绍了界面开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许在这个论坛上这是一个很奇怪的问题(但是我不知道该把它放在哪里).

Its a pretty weird question in this forum perhaps (but I didnt know where else to put it).

这是我们大多数人可能经常遇到的问题之一.我有一个相机(一台普通的照相相机).现在,这些相机具有非常好的质量.与普通的网络摄像头相比,它的性能要好很多.

This is one of the questions that most of us might have come across pretty often. I have a camera (a normal photo camera). Now, these cameras come up with very good qualities. When compared to a normal webcam, its a lot times better.

所以,我想知道如何将这台摄像机变成网络摄像机?

So, I was wondering how can I make this camera into a webcamera?

要与相机通信,它确实提供了USB.但是,然后安装的软件只是用来访问存储卡(大多数都是这种方式)并从中检索图像,然后对其进行一些修改.我在想,如果 有没有一种方法可以与设备进行通讯?

To communicate with the camera, it does provide a USB. But then, the softwares that are installed are just to access the memory card (most of them are that way) and to retrieve the images from it, and then add some modifications to it. I was wondering, if there is a way that communication to the device be done?

我确实意识到我们需要与相机配合使用的某种API或DLL,但是由于它们不存在,我们可以自己制造它的方式是什么?

I do realize that we need some sort of API's or some sort of DLLs that work with the camera, but since they dont exist, what is the way that we could make it ourselves?

推荐答案

简短的答案可能不是.

The short answer is probably not.

傻瓜相机不能像网络摄像头那样提供连续的流媒体功能.即使是可以拍摄视频剪辑的相机也可能无法做到这一点.相机本身很可能由固件控制-您按一下拍摄 按钮,它将文件写入存储卡.连接到计算机的USB接口可能只不过是SD卡读卡器而已.这些功能领域没有任何关联,因此,如果您要连接自己的计算机,那是极不可能的 将摄像头安装到PC上,您将能够A)控制它,例如像连续摄像头通过软件那样拍摄连续视频,以及B)您可以实时捕获数据,而无需涉及写入SD卡的中间步骤.还有SD 将卡写入一堆后,卡会磨损,因此,如果您能以某种方式将其卡住以快速将帧写入SD卡,然后从那里读取它,则可以使用这种方法烧毁SD卡.

Point and shoot cameras are not designed to provide continuous streaming capabilities like a webcam is.  Even cameras that can shoot video clips probably can't do this.  The camera itself most likely is controlled by firmware - you press the shoot button, it writes a file to the memory card.  The USB interface that connects to a computer is probably barely more than an SD card reader.  These areas of function are not in any way related, so it is highly unlikey that if you were to connect your camera to your PC, you would be able to A) control it to for example shoot continuous video like a webcam does through software and B) that you could capture the data in realtime without the intermediary step involving writing to an SD card.  Also, SD cards wear out after writing to them a bunch, so if you could somehow rig it to write frames fast to the SD card and then read it from there, you'd burn through SD cards with this approach.

但是,如果您愿意花这笔钱,我强烈建议您购买Kinect并使用它. Microsoft即将发布正式的SDK,我确信该SDK将可用于.NET.我怀疑会有 对于在未来几年内可以使用Kinect相机完成出色工作的人们来说,这是一个很大的市场.

However, if you're willing to spend the money, I would strongly recommend buying a Kinect and playing with that.  Microsoft is going to release an official SDK soon which I'm quite sure will be available for .NET.  I suspect there's going to be a big market for people who can do cool things with Kinect cameras in the next couple of years.

Evan


这篇关于界面开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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