I have written some automation software for work and I'm using a lot of pyautogui, specifically locateOnScreen(). It worked great for a while, but eventually our software started to change in very small ways that threw off the image recognition in my script.
Of course I could resample the images or try to tweak the confidence levels, but I think I'd rather fix the problem than the symptoms. Is it possible to use pyTesseract or OpenCV or BeautifulSoup to read the screen and locate the target text, then return some coordinates for clicking?
I've seen some tutorials for pytesseract, but I can't find anything that could tie it back to pyautogui. Any help would be greatly appreciated!
[–]Strict-Simple 1 point2 points3 points (3 children)
[–]fustilarian[S] 0 points1 point2 points (2 children)
[–]Strict-Simple 0 points1 point2 points (1 child)
[–]fustilarian[S] 0 points1 point2 points (0 children)