将Kinect RGB或深度相机串流到Internet [英] Stream Kinect RGB or Depth Camera to Internet

查看:183
本文介绍了将Kinect RGB或深度相机串流到Internet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将kinect RGB或深度相机输出的信息流传输到我的网站。我想知道这是否可能?并且有人可以告诉我如何开始这个或者是否存在这样的例子?我们正在开发带有visual studio和kinect sdk的窗口(希望通过IIS 7部署实时流)。

Im wanting to stream the feed that comes out of the kinect RGB or depth camera to my website. Im wondering whether this is possible? And also can someone advise me on how to start going about this or if any examples of this exist? We are developing on windows with visual studio and the kinect sdk (hopefully deploying the live stream via IIS 7).

希望远离商业软件包,因为最终产品将是开源。

Hoping to stay away from commerical packages as the end product will be opensource.

提前致谢

推荐答案

Kinect to HTML5 interaction今年在REMIX Australia演示。它的设置方式是通过Windows服务,公开一个WCF端点,然后允许Javascript与Kinect对话。这在Kinect< - > Server< - > Client方案中运行良好 - 因此您可以采用这种方法并将某种TCP流用于富媒体应用程序(如Flash或Silverlight)。如果你想使用实时流,我会考虑使用传入的RGB /深度视频帧并使用API​​将它们写回IIS7。这可以存放在应用程序或服务中 - 无论哪种方式,您都需要通过自定义应用程序代理Kinect,因为Windows不会将其视为视频设备。
如果您想使用用户Kinect(即计算机上的用户,而不是通过您的网络服务器附加或代理),您可以使用Silverlight。 Silverlight以提升的权限运行(在浏览器之外)允许您激活COM对象 - 这意味着您将能够访问本地Kinect传感器。然后,您可以直接使用Silverlight呈现UI,或创建允许Silverlight访问Kinect并将数据传递到客户端的Javascript的Javascript互操作。唯一的缺点是用户需要在他们的机器上安装Kinect for Windows SDK(直到可再发行版本可用)。

Kinect to HTML5 interaction was demo'ed at REMIX Australia this year. The way it had been set-up was by a Windows Service, exposing a WCF end-point that then allows the Javascript to talk back to the Kinect. This worked well in a Kinect <-> Server <-> Client scenario - so you may be able to take this approach and use some kind of TCP stream into a rich media application such as Flash or Silverlight. If you want to use live stream, I would look into taking the incoming RGB/depth video frames and writing them back to the IIS7 using API's. This could be housed in an application or service - either way you'll need to proxy the Kinect through a custom application as Windows doesn't see it as a video device. If you want to use the users Kinect (i.e. the one on their computer, and not attachted or proxied through your webserver) you could use Silverlight. Silverlight when run with elevated permissions (out of the browser) allows you to pinvoke a COM object - which means you'll be able to access the local Kinect sensors. You can then either render the UI using Silverlight directly, or create a Javascript inter-op that allows Silverlight to access the Kinect and pass the data into Javascript on the client side. The only down side of this is the user will need the Kinect for Windows SDK installed on their machine (until a redistributable version is available).

这篇关于将Kinect RGB或深度相机串流到Internet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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