title: Looking for an Image Comparison/Pattern Recognition Library
body: <p>The end goal would be to see if </p>
  
  <p><img src="https://imgur.com/3nINW.jpg" alt="image1">  </p>
  
  <p>contains </p>
  
  <p><img src="https://i.snag.gy/diGkI.jpg" alt="image2">.</p>
  
  <p>the compare needs to support minor distortion, scaling, color differences, rotation, and brightness differences.</p>
  
  <p>it can be in any language really. i will be running this algorithm as a webservice so its no problem if i have to write this portion in c, c++, python, etc.</p>