OpenCV的云 [英] OpenCV in the cloud

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

问题描述

这个问题似乎哑那些经历过云的发展,但是从桌面世界未来我不能确切地找出解决方案,由我自己。 我有code进行负载使用OpenCV的,它的一些使用API​​。

The question may seem dumb to those experienced with cloud development, but coming from the desktop world I can´t exactly figure out the solution by myself. I have a loads of code using opencv, some of it with an api.

问题是,它有可能获得一个远程服务器(设s说的Heroku或S3)上运行OpenCV的?
我认为唯一的办法是发送任何依赖关系(有很多)中的code?

Question is, would it be possible to get opencv running on a remote server (let s say heroku or S3)?
I think the only way would be to send any dependency (and there is a lot) within the code?

我为在Python开发。

I m developing in Python.

谢谢!

编辑:

我的第一个想法是这样的一种: https://github.com/jlengrand/FaceMovie

My very first idea is this one : https://github.com/jlengrand/FaceMovie

我会自动开发一个小的应用程序能够侦测脸部的图像,他们中心并创建一个电影出来。 但作为一个电脑工程师,我有一大堆的简单的东西的想法,可以在云中完成。

I am developing a small application automatically able to detect faces in images, center them and create a movie out of it. But as a computer engineer, I have a whole bunch of ideas of simple stuff that can be done in the cloud.

我意识到,数据传输可能是巨大的有这样的事情,你可能会更好地比我来回答这样的东西是否可以或不可以。

I realize that the transfer of data may be huge with this kind of things, and you may be better placed than me to answer whether such stuff is possible or not.

我在想办法减少这种负载,通过减少从拍摄的图像的某个地方在云上已经图像的质量? (Picasa相簿,。。。)

I was thinking of ways to "reduce" this payload, by reducing the quality of images of taking images from somewhere on the cloud already ? (picasa albums, . . . )

让我知道,我愿意接受,其实相当的可能性。

Let me know, I am open to quite any possibility in fact.

推荐答案

它绝对有可能。对于Python中的Web服务,活塞是我去到。从那里,你需要在某种类型的Web服务器进行部署。如果你正在部署在EC2上,您可以使用的 bitami pconfigured使用Django和Apache。当然AMI $ P $,你需要的apt-get安装OpenCV的Ubuntu的软件包。

Its definitely possible. For webservices in Python, Piston is my go-to. From there, you need to deploy it on a webserver of some kind. If you're deploying on EC2, you can use the bitami AMI preconfigured with Django and Apache. Of course, you'll need to apt-get install the opencv ubuntu packages.

现在,鉴于这一切,它可能会或可能没有意义的在云端与Web服务做到这一点。你将需要传输要处理的图像,可能是通过一个HTTP POST,所以需要一定的时间和带宽。根据你想回到什么,你可能有大量的数据回来过,这将有自己的成本。你能不能跟我们分享一下您的应用程序会做什么?我公司可提供更好的建议,如果我知道你在试图完成。

Now, given all that, it might or might not make sense to do this "in the cloud" with a webservice. You'll need to transfer the image you want to process, probably via an HTTP POST, so that will take some time and bandwidth. Depending on what you want to return, you might have a lot of data coming back too, which will have its own cost. Can you share with us what your application will do? I could provide better advice if I knew what you were trying to accomplish.

正如你提到的,Ubuntu的OpenCV的包已过期。如果你需要更多的东西最近,我发现它易于安装 ROS 其中包括< A HREF =htt​​p://www.ros.org/wiki/vision_opencv相对=nofollow> OpenCV的2.3 和它的依赖。

As you noted, the ubuntu OpenCV package is out of date. If you need something more recent, I've found its easy to install ROS which includes OpenCV 2.3 and its dependencies.

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

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