picture recognition possible?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Guest

picture recognition possible?

27 May 2018, 15:20

Hey,
I'm trying to do a thing:
I want the bit to recognize if a certai n amount of red numbers are written within a certain area of the screen (these numbers will always be in the same spot, it's just wether the number is black or red color)

I also need it to recognize a text that is gonna be written at a certain other spot which can only be "win" or "lose" written there.
it should be able to perform different tasks depending on which of the 2 is written at this spot.

Is it possible to perform such tasks with AHK?

Or is AHK only able to perform clicking, aka providing some output action, and
not able to receive input, like reading a text or recognizing a color?


if it can't, what other smart programs are out there that can:

recognize text and whats written there.
also recognize what color its written in.
be able to click on any specific coordinates I want it to click.
have the whole script only work within that certain program window
(just as the controlclick even does it's job in the program window in the background while I can work in the foreground as
much as i want without it's clicking interfering with me)

Are there any programs that are free and that can perform these tasks?
]
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: picture recognition possible?

28 May 2018, 13:07

AHK can do all that here are some links: (Examples are at bottom of pages)
Click
CoordMode
#IfWinActive
IfWinActive
ImageSearch
PixelGetColor
PixelSearch

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doodles333, exodus_cl, Google [Bot], Sniperman and 355 guests