Compare image to actual screen

后端 未结 4 1219
萌比男神i
萌比男神i 2021-01-16 23:03

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

4条回答
  •  被撕碎了的回忆
    2021-01-16 23:23

    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

提交回复
热议问题