我如何在Windows Azure上安装OpenCV? [英] How do I install OpenCV on Windows Azure?

查看:260
本文介绍了我如何在Windows Azure上安装OpenCV?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows Azure初学者,我想打一个应用程序,它确实对视频流面部识别。因此,我需要安装OpenCV(C ++库)。
我怎么做?我如何获得客户端应用程序的视频流? (我在客户端应用程序的控制权以及)。

I am a beginner with Windows Azure and I want to make an app which does facial recognition on a video stream. Hence I need to install OpenCV (C++ Library). How do I do that? And how do I get the video stream from the client app? (I am in control of the client app as well).

推荐答案

如果库只需要为你的应用程序把它捡起来,然后只需将其添加为一个项目在你部署该项目的道路上,并且它会被上传到Azure以及共同部署应用程序。

If the library simply needs to be on the path for your application to pick it up, then just add it as an item in the project you're deploying, and it will get uploaded up to Azure, and deployed alongside your application.

如果需要安装一些命令,你可以使用启动任务

If some commands are required to install it, you can use startup tasks.

至于视频流,可以打开一个套接字(使用TCP端点)和流视频长达一个蔚蓝的实例方法。这可能是做这件事,如果你想实时视频处理的最有效的方式。如果你想录制视频并上传,看看使用 Blob存储。然后,您可以使用消息队列发送信号给工人,有一个视频等待处理。

As for the video stream, you can open a socket (using a TCP endpoint) and stream the video up to an azure instance that way. That's probably the most efficient way of doing it if you want real time video processing. If you want to record the video and upload it, look at using blob storage. You can then use a message queue to signal to the worker, that there is a video waiting to be processed.

这篇关于我如何在Windows Azure上安装OpenCV?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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