title: How to get text from image using pytesseract in images
body: <p>I need to use pytesseract to extract text from this picture. This is possible?
  ex.images:</p>
  <p><a href="https://i.stack.imgur.com/tC2FN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tC2FN.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/zeShg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zeShg.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/NfnZj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NfnZj.jpg" alt="&quot;[3]: &quot;" /></a></p>
  <p><a href="https://i.stack.imgur.com/NfnZj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NfnZj.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/ZYmdy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZYmdy.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/0LzVu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0LzVu.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/rYcLW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rYcLW.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/eaBmB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eaBmB.jpg" alt="enter image description here" /></a></p>
  <p>Code:</p>
  <pre><code>import pytesseract
  from PIL import Image, ImageEnhance, ImageFilter
  
  im = Image.open(&quot;4.jpg&quot;) # the second one 
  im = im.filter(ImageFilter.MedianFilter())
  enhancer = ImageEnhance.Contrast(im)
  im = enhancer.enhance(2)
  im = im.convert('1')
  im.save('4temp.jpg')
  text = pytesseract.image_to_string(Image.open('4temp.jpg'))
  print(text)
  </code></pre>
  <p>Decoded text:</p>
  <blockquote>
  <p>1 - EN<br />
  2- f-ybizc<br />
  3- CALE NGS<br />
  4- [BLANK]</p>
  </blockquote>
  <p>Thanks!</p>