/GuiLocator

Java image recognition.

Primary LanguageJavaMIT LicenseMIT

image

A Java library which allows you to locate images on another image/the screen.
This is basically equivalent to Python's pyautogui which has locate, locateOnScreen, and click!

Example Usage

Result location = GuiLocator.locateOnScreen(new File("image.png"));
GuiLocator.leftClickAt(location);

/*
 * Result[] locations = GuiLocator.locateAllOnScreen(new File("image.png"));
 * 
 * for (Result result : locations)
 * {
 *     GuiLocator.leftClickAt(result);
 * }
 */

NOTE: The image to find must be pixel-perfect!

Library Download

https://github.com/Appu26J/GuiLocator/releases/download/GuiLocator/guilocator.jar