title: Pyautogui finding multiple screenshot matches regardless of color gradient
body: <p>I am using pyautogui to click a matching image, but it is also picking up similar images that have a different brightness/contrast/gradient.  For example, in this example image:</p>
  
  <p><img src="https://i.stack.imgur.com/dvLgR.png" alt="enter image description here"></p>
  
  <p>pyautogui will pick up the P with a white background, and the Ps with the two gray backgrounds (but not the red background P), when I am providing it a screenshot of the P with a white background.</p>
  
  <p>How do I get it to locate ONLY the P that matches my image?</p>
  
  <p>I have tried grayscale set to False but it seems to be false by default.</p>
  
  <p>I am expecting only one image to be returned when I use locateallonscreen, and not three images.</p>