/opencv-java

Lots of opencv examples from books ported to java code

Primary LanguageJavaMIT LicenseMIT

This repository is a collection of OpenCv examples from c++ books, ported to Java language. Some examples has some changes to better adapt Java language.

Installation

1 - Download OpenCv release from here.

2 - Put all this libraries in os path: opencv_videoio_ffmpeg450_64.dll, opencv_java450.dll, opencv_world450.dll, opencv_videoio_msmf450_64.dll.

3 - Clone this project, and in the root folder, add java opencv-450.jar library to libs folder(if not exists, just create one).

The same process is valid for linux but instead of *.dll, the shared libraries will have *.so extensions. Unfortunately, opencv 4.51 is not available on maven repositories. It cant be downloaded by gradle.

List of examples