title: Py: How to extract text with hashtag from image
body: <p>I am trying to extract &quot;#opentowork&quot; text from LinkedIn account thumbnails but it does not seem to work.</p>
  <p>the image is:</p>
  <p><a href="https://i.stack.imgur.com/tojqq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tojqq.jpg" alt="enter image description here" /></a></p>
  <p>I have tried the simplest way:</p>
  <pre><code>import pytesseract
  pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files (x86)\Tesseract-OCR\tesseract'
  print(pytesseract.image_to_string(r'1633367686467.jpg'))
  
  </code></pre>
  <p>And using opencv</p>
  <pre><code>img = cv2.imread('1516535608688.jpg', 0)
  # img = 255 - img #invert image
  print(pytesseract.image_to_string(img, lang='eng', config = '--psm 12'))
  
  </code></pre>
  <p>But it returns nothing. I am not really experienced in text recognition. Is it possible to extract the text from such images?</p>