title: OpenCV tesserocr watermark detection
body: <p>So I have about 12000 image links in my SQL table.
  Point is to detect which of those images contain watermarked text and which don't.
  All text and borders is like this.</p>
  <p>I've tried with OpenCV and tesserocr</p>
  <pre><code>img_data = requests.get(url).content
  img = Image.open(BytesIO(img_data))
  print(url, tesserocr.image_to_text(img).strip())  
  </code></pre>
  <p>But doesn't seem it recognizes text on image at all.</p>
  <p>My second approach was to use some external open API site.</p>
  <pre><code>for url,id in alldata:
  body = {'language':'eng',
          'isOverlayRequired':'false',
          'url':url,
          'iscreatesearchablepdf':'false',
          'issearchablepdfhidetextlayer':'false',
          'filetype':'jpeg'}
  
  headers = {
      'apikey':'xxxxxxx'
  }
  rsp =  requests.post('https://api.ocr.space/parse/image', body, headers= headers) 
  </code></pre>
  <p><a href="https://i.stack.imgur.com/r9Do4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r9Do4.png" alt="enter image description here" /></a></p>
  <p>It works but its super slow. For 11000 images it would last few days.</p>