/docker-opencv-java

OpenCV for Java on docker

Primary LanguageShellMIT LicenseMIT

docker-opencv-java

OpenCV for Java

This docker image generates all the OpenCV Java class files contained in a JAR file as well as the native dynamic library for Java OpenCV. This is a self-contained library that works with JNI and is required to run a Java OpenCV application.

Usage

$ docker run --rm -it -v $(pwd):/gen joshuamarquez/opencv-java

Copy generated files from container to host

$ cp /opencv-java-bin/* .

The command above copies opencv-300.jar and libopencv_java300.so to your current dir, these files are necessary to run OpenCV on Java.

References