简体   繁体   English

在ubuntu上使用安装JavaCV和OpenCV(用于Eclipse)

[英]Installing JavaCV and OpenCV using on ubuntu (for eclipse)

I am trying to install OpenCV and JavaCV on ubuntu 12.04. 我正在尝试在Ubuntu 12.04上安装OpenCV和JavaCV。 I have gone through this link here . 我已经通过这个环节了这里 I have following queries. 我有以下查询。

  1. Can I just use OpenCV zip instead of running and installing exe. 我可以使用OpenCV zip代替运行和安装exe吗?
  2. This link says https://code.google.com/p/javacv/downloads/list , javacv code is depricated. 此链接显示https://code.google.com/p/javacv/downloads/list ,描述了Javacv代码。 From where I can find javaCV code? 从哪里可以找到javaCV代码?

To answer your first question: Follow the Installation in Linux instructions on the OpenCV page. 要回答您的第一个问题:请按照OpenCV页面上的Linux中安装说明进行操作。 I setup OpenCV on Ubuntu 12.04 and later on 14.04 following these instructions and it helped me perfectly. 我按照以下说明在Ubuntu 12.04和更高版本的14.04上安装了OpenCV,它对我非常有帮助。

To your second question: I don't know javacv, but if it says it's deprecated, you probably shouldn't use it ;) OpenCV supports Java bindings since version 2.4.4, so you won't need javacv. 关于第二个问题:我不知道javacv,但是如果它说它已被弃用,则您可能不应该使用它;)OpenCV自2.4.4版本开始支持Java绑定,因此您将不需要javacv。 I think you can do everything with Java-OpenCV you need. 我认为您可以使用所需的Java-OpenCV进行所有操作。 For information about Java development with OpenCV, see Introduction to Java Development . 有关使用OpenCV 进行Java开发的信息,请参阅Java开发简介 As far as I remember, Java bindings are created by default when building. 据我所知,Java绑定是在构建时默认创建的。

I hope this helps! 我希望这有帮助!

From javacv : javacv

The main project site of JavaCV has moved to GitHub! JavaCV的主要项目站点已移至GitHub! This site on Google Code is no longer maintained. Google Code上的此网站已不再维护。 Please find up-to-date information over there: 请在那儿找到最新信息:

( https://github.com/bytedeco ) https://github.com/bytedeco

From bytedeco/javacv : bytedeco / javacv

Downloads 下载

To install manually the JAR files, obtain the following archives and follow the instructions in the Manual Installation section below. 要手动安装JAR文件,请获取以下档案,并按照下面的“手动安装”部分中的说明进行操作。

... ...

Manual Installation for OpenCV and FFmpeg 手动安装OpenCV和FFmpeg

Simply put all the JAR files of JavaCPP, JavaCV, OpenCV, and FFmpeg (javacpp.jar, javacv.jar, opencv- .jar, and ffmpeg- .jar, respectively) somewhere in your CLASSPATH. 只需将JavaCPP,JavaCV,OpenCV和FFmpeg的所有JAR文件(分别为javacpp.jar,javacv.jar,opencv- .jar和ffmpeg- .jar)放在CLASSPATH中。 Here are some more specific instructions for common cases: ... 以下是一些针对常见情况的更具体说明:...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM