- The of intent of this project is to create a way to easily interact with
OpenCV
on any platform.
- Objective - To implement an
OpenCV
-wrapper-library - Purpose - to establish a small importable
OpenCV
-wrapper-library to simplify much of the bloat associated with current library architecture
- This dependency is hosted on packagecloud.io
- Because this dependency is hosted on a private server, not MavenCentral, the
pom.xml
must be configured to search in the proper repository.
<repositories>
<repository>
<id>git-leon-utils</id>
<url>https://packagecloud.io/git-leon/utils/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
- To use this project, add the dependency to your
pom.xml
<dependency>
<groupId>com.github.git-leon</groupId>
<artifactId>opencvl</artifactId>
<version>1.0</version>
</dependency>
- To run this project you must install opencv.
- If you are running OSX, it is recommended that you
- Install XCode
- Install HomeBrew
- Install OpenCV
-
brew
an installation ofopencv
version 3.brew install opencv@3
- Should you have difficulties finding the correct HomeBrew formula, I have provided you with an exact copy here
-
Edit OpenCV formula to enable java support.
brew edit opencv
- change property from
-DBUILD_opencv_java=OFF
to-DBUILD_opencv_java=ON
- change property from
-
brew
an installation ofopencv
from local sourcebrew install --build-from-source opencv
- Ensure a version of OpenCV can be found in your local machine directory. (Edit the directory version)
/usr/local/Cellar/opencv/3.x.x/share/OpenCV/java/
sudo apt-get install
sudo apt-get install
- Navigate to