A project which shows how to use JavaFX together with OpenCV / JavaCV bindings.
This project can be used as a starting point for experiments with OpenCV and Java.
It showcases the usage of the PixelBuffer API which permits a fast display / rendering of a webcam image stream with JavaFX.
While the application itself is trivial, this project shows how to package everything together ready to be published to the mac app store, windows app store, flathub and snap store and distributed as rpm or deb file. Graal Builds for linux are supported as well.
This project can be used as a starting point for experiments with OpenCV and Java.
Use the various scripts like linux.sh, mac.sh or win.ps1 to build the app or one of its modules.
- Have a look at https://openjfx.io where you can find more information and introductory examples for developing JavaFX applications.
- https://github.com/bytedeco/javacv is the home of JavaCV which enables Java developers to use native libraries like OpenCV.