joshuamarquez / docker-opencv-java

OpenCV for Java on docker

Home Page:https://hub.docker.com/r/joshuamarquez/opencv-java/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

OpenCV for Java on docker

https://hub.docker.com/r/joshuamarquez/opencv-java/

License:MIT License


Languages

Language:Shell 100.0%