So we open IntelliJ and create a new SBT proyect. The easiest way to create a Java and Scala openCV proyect is using SBT. Creating a Java OpenCV proyect in INTELLIJ 16 I am using IntelliJ IDEA Ultimate 2016 IDE, so in next section I am going to explain how to create a Java OpenCV proyect in INTELLIJ. Now that it is build, the next step would be create an example in Java to check if it works. Then, move to that directory and create a build empty folder, where compilation result will be stored: Unzip where you want to install and create build directoryĮxtract the content folder opencv-3.2.0 where you want it to be placed. Go to opencv documentation and download the last stable version for Linux/Mac. Python 2.6+: run python -version on command line to check if python is installed and its version.If not, install by typing sudo apt-get install ant. Apache Ant: run ant -version to check if Apache Ant is installed.You can check your JDK version by running: java -version on command line. Java JDK 7+: we need JDK to build Java binding, so if not installed download and install from oracle web page.Let’s start!įor compiling OPENCV 3.2 with Java support you must make sure you have the following installed: Prerequisites Also it is for you if, done that, you want to use it in IntelliJ IDEA. If you are wishing to compile OpenCV 3.2 by your own with Java support, possibly this will help.