python-imagesearch
python-imagesearch copied to clipboard
A wrapper around opencv2 and pyautogui to do image searching easily.
When image scanning, it uses a system to check if it looks somewhat alike, is there a way to make it more strict? My images are very similar. Thanks! ...
I've got this program with a for loop which runs through a list. However when I put the x1 and y1 cords in at non-zero I start getting problems. I...
I want to recognize a different color image, but now it is recognized as gray, so different colors are considered the same image. img_gray = cv2.cvtColor(img_rgb, cv2.COLOR_BGR2GRAY)
Im using imagesearcharea to just get the game screen using: ``` wHandler = win32gui.FindWindow(None,'Yu-Gi-Oh! DUEL LINKS') windowRect = win32gui.GetWindowRect(wHandler) ``` when i use: ``` pos = imageRecognition.imagesearcharea('OK.jpg',windowRect[0],windowRect[1],windowRect[2],windowRect[3],0.9) if pos !=...
For the past couple of days, this module has been working, now it does not work. Says module not found, Tried to pip install it but it could not find...
I'm using 'pyautogui' along with various 'imagesearch' routines (usually imagesearch_loop) to automate the creating of Google Photo albums. I've found that it is sometimes necessary to add a time delay...
ScreenShotError exception is thrown when using region_grabber
Hi, i'm following your tutorial on Medium. I'm kinda lost, the script can't find the image that should easily be found. Here is the screen shot taken by `pyautogui` ...
``` def imagesearcharea(image, x1, y1, x2, y2, precision=0.8, im=None): if im is None: im = region_grabber(region=(x1, y1, x2, y2)) if is_retina: im.thumbnail((round(im.size[0] * 0.5), round(im.size[1] * 0.5))) # im.save('testarea.png') usefull...
Is there a way to do this?