title: Read all characters from the captcha in python using any library
body: <p>I want to read the captcha characters as one string.</p>
  
  <p>The captcha which I want to parse is in specific pattern. The sample images are available below:</p>
  
  <p><a href="https://i.stack.imgur.com/2zrXa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2zrXa.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SC002.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SC002.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/EX6AF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EX6AF.png" alt="enter image description here"></a></p>
  
  <p>All above captcha images background is same and so on. Only characters are shuffle each time with it's position (i.e. Characters are not available in the specific direction) but seems like all the character length is same.</p>
  
  <p>I tried to read the text from this images using <a href="https://pypi.org/project/pytesseract/" rel="nofollow noreferrer">pytesseract</a> python library. Also, I tried examples available <a href="https://www.pyimagesearch.com/2017/07/10/using-tesseract-ocr-python/" rel="nofollow noreferrer">here</a> but none of these work for me.</p>
  
  <p>In <a href="https://stackoverflow.com/questions/13664161/python-captcha-decoder-library">this SO link</a>, I found one solution which is market as correct/right answer but its working for only number captcha. </p>
  
  <p>Also, many people are suggesting like first we should remove the noise/blur background from the image then we should process the image but it's quite unknowing thing for me.</p>
  
  <p>I tried like below:</p>
  
  <pre><code>from PIL import Image, ImageEnhance, ImageFilter
  import pytesseract
  
  img = Image.open("test.png")
  imagetext = pytesseract.image_to_string(img)
  print(imagetext) 
  </code></pre>
  
  <p>Can anyone please point me out the direction for the same?</p>