Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Sudoku grabber and solver using OpenCV, JavaFX and Scala
Java Scala
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
licenses - added license for opencv
sudoku-core some renamings
sudoku-javafx some renamings
.gitignore doc update
pom.xml removed outdated tests
screenshot.png adding screenshot


a screenshot of the sudokuFX application

This is a project demonstrating what is necessary implement a Sudoku grabber and solver using the OpenCV Java API.

Maybe you want to check out a blog post series about this project at for a more detailled discussion of the used concepts.

Building and running

First, you have to make sure that openCV jar is in your local maven repository:

mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
mvn install:install-file -Dfile=/opt/local/share/OpenCV/java/opencv-246.jar -DgroupId=org.opencv -DartifactId=opencv-java -Dversion=2.4.6 -Dpackaging=jar

Then, you have to make sure that the call to loadNativeLib points to the dll / dylib on your system. The newest opencv dll's can be downloaded from

Finally, you should be able to run the app by issuing

mvn jfx:run
Something went wrong with that request. Please try again.