在iron.io工作者中使用Hugin和libpano13 [英] Using Hugin and libpano13 in an iron.io worker

查看:111
本文介绍了在iron.io工作者中使用Hugin和libpano13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用iron.io工作人员来填充全景图,并使用OpenSource Hugin和libpano13工具包创建HDR.所需的程序都是命令行(不需要GUI),但是我不确定如何构建一个包含使用Hugin Panotools的正确二进制文件的工作程序.

I would like to use an iron.io worker to stich panoramas and create HDRs using the OpenSource Hugin and libpano13 toolkits. The programs needed are all command-line (no GUI is needed) but I'm not entirely sure how I go about building a worker that includes the correct binaries for using the Hugin panotools.

我可以为iron.io worker OS(Ubuntu Linux)预编译正确的二进制文件吗?我可以创建一个VM并在其上安装Ubuntu,以获取一组包含在我的worker中的二进制文件.但是,在工作文件中使用"build"指令有更好的方法吗?我马上看到的问题是Hugin是基于cmake的构建,因此我需要创建使用autoconf/automake的东西,对吧?

Can I pre-compile the right binaries for the iron.io worker OS (Ubuntu Linux)? I can create a VM and install Ubuntu on it to get a set of binaries built that I include in my worker. But is there a better way using the "build" directive in the worker file? The problem I see right away is that Hugin is a cmake-based build so I'd need to create something that uses autoconf/automake, right?

我也不真正需要所有休金.我只需要控制点查找器实用程序和enfuse/enblend实用程序即可进行实际的拼接.我不需要任何基于wxWidgets的GUI东西.

I don't really need all of Hugin, either. I just need the control point finder utility and the enfuse/enblend utilities for doing the actual stitching. I don't need any of the GUI stuff, which is wxWidgets based.

任何人都可以阐明我该如何处理吗?谢谢!

Can anyone shed light on how I would go about this? Thanks!

推荐答案

您真的只需要静态编译的x64二进制文件,就可以在任何地方找到它们-完成了.

You really need only statically compiled x64 binaries, find them anywhere - and you're done.

可能的解决方案:

  • 在本地Ubuntu x64(IronWorker使用12.04 TLS x64)上安装东西,并将所需文件包含在工作包中(上传后仅为.zip文件)(并且可能在工作程序启动时扩展PATH)
  • 使用build命令远程执行任何安装过程(尽管您仍然限于非root用户操作)
  • 使用deb命令安装现有的.deb软件包.
  • Install stuff on local Ubuntu x64 (IronWorker using 12.04 TLS x64) and include required files into worker's package (which is just .zip file after uploading) (and probably extend PATH at start of a worker)
  • Use build command to do any installation procedures remotely (you're still limited to non-root operations though)
  • Use deb command to install existing .deb packages.

.worker文件示例(包括imagemagick的自定义版本):

.worker file example (including custom version of imagemagick):

runtime 'binary'
exec 'run.sh'
full_remote_build true
deb 'http://mirror.pnl.gov/ubuntu//pool/main/i/imagemagick/libmagickcore5_6.7.7.10-2ubuntu4_amd64.deb'
deb 'http://mirror.pnl.gov/ubuntu//pool/main/i/imagemagick/libmagickwand5_6.7.7.10-2ubuntu4_amd64.deb'
deb 'http://mirror.pnl.gov/ubuntu//pool/main/i/imagemagick/imagemagick_6.7.7.10-2ubuntu4_amd64.deb'

这篇关于在iron.io工作者中使用Hugin和libpano13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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