I\'d like to make my Java program compare the actual screen with a picture (screenshot).
I don\'t know if it\'s possible, but I have seen it in Jitbit (a macro recor
Have a look at Sikuli project. Their automation engine is based on image comparison.
I guess, internally they are still using OpenCV for calculating image similarity, but there are plenty of OpenCV Java bindings like this, which allow to do so from Java.
Project source code is located here: https://github.com/sikuli/sikuli