使用OpenCV的Heroku NodeJS应用 [英] Heroku NodeJS app using OpenCV
本文介绍了使用OpenCV的Heroku NodeJS应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经尝试了很多构建包并在Google上搜索了很多SO文章,但是我无法部署NodeJS应用程序.所有buildpack都已过期2年以上,并且都不起作用.
I have tried so many buildpacks and googled so many SO articles, but I just cannot deploy my NodeJS app. All buildpacks are out-of-date for 2+ years and none of them work.
到目前为止,我尝试了以下buildpack:
So far I tried the following buildpacks:
https://github.com/zachlatta/heroku-buildpack-nodejs-with-opencv
https://github.com/janosujvari/heroku-buildpack-nodejs-opencv
https://elements.heroku.com/buildpacks/hdachev/heroku-buildpack-opencv
https://elements.heroku.com/buildpacks/computationaltextiles/buildpack-opencv
https://bitbucket.org/labgoo/heroku-buildpack-nodejs-with-opencv/
,也许还有更多...
我想知道还有其他方法可以在部署NodeJS应用程序时在Heroku上简单地安装OpenCV吗?
推荐答案
I ran into the exact same issue -- here's what worked for me:
如果您的堆栈为heroku-16
,则这些是您要添加的Heroku构建包(按此特定顺序!):
If your stack is heroku-16
, these are the Heroku buildpacks you want to add (in this particular order!):
- https://github.com/Starkast/heroku-buildpack-cmake.git
- https://github.com/onboardiq/heroku16-buildpack-opencv3.git
- heroku/nodejs
- https://github.com/Starkast/heroku-buildpack-cmake.git
- https://github.com/onboardiq/heroku16-buildpack-opencv3.git
- heroku/nodejs
这篇关于使用OpenCV的Heroku NodeJS应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文