I want to read the captcha characters as one string.
The captcha which I want to parse is in specific pattern. The sample images are available below:
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.
I tried to read the text from this images using pytesseract python library. Also, I tried examples available here but none of these work for me.
In this SO link, I found one solution which is market as correct/right answer but its working for only number captcha.
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.
I tried like below:
from PIL import Image, ImageEnhance, ImageFilter
import pytesseract
img = Image.open("test.png")
imagetext = pytesseract.image_to_string(img)
print(imagetext)
Can anyone please point me out the direction for the same?