OpenCV for Java on Centos 6.5 Tutorial

asked 2014-07-23 09:11:04 -0600

joe.l3 gravatar image

updated 2014-08-06 07:59:53 -0600

Around the community I see many users having problem to build Opencv for Java support on GNU/Linux CentOS. In my experience the issues was related to the version of cmake and ffmpeg.

I want to share a quick tutorial I've just posted. It shows how to build OpenCV for Java support on a CentOS 6.5 installation. I hope it will useful!

ROADMAP

  1. Install the required packages
  2. Setup Oracle JDK
  3. Setup FFMPEG from source
  4. Download and compile OpenCV
  5. Build the OpenCV jar interface and the native library

http://www.giuseppeurso.eu/en/how-to-compile-opencv-on-centos-with-java-support/

Giuseppe

edit retag flag offensive close merge delete

Comments

if you could paste some of the content here instead of the link, would be much nicer.

berak gravatar imageberak ( 2014-07-23 09:31:52 -0600 )edit

Even better, make an official installation tutorial for CentOS using a pull request!

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-06 07:55:03 -0600 )edit

The tutorial contains a series of code's snippets and a screenshot. Initially I was going to put a contribution on the official OpenCV documentations writing a tutorial, but for pratical reasons and to be faster I posted the link here. I updated with a tutorial roadmap

joe.l3 gravatar imagejoe.l3 ( 2014-08-06 07:56:07 -0600 )edit

Actually it could be faster but keep in mind that the stuff that will stick around the longest are tutorials, not the mention the moderators point them out quite regularly. If I have to remember every single guide out there or if the link gets broken, then this topic because simple useless.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-08-06 08:00:54 -0600 )edit
1

I agree what you say Steven, my intention was to contribute to the OpenCV official docs by providing a tutorial, but I had no time to submit the contribution process (http://opencv.org/contribute.html) I hope to make it as soon as possible.

joe.l3 gravatar imagejoe.l3 ( 2014-08-06 08:24:32 -0600 )edit