Answer the question
In order to leave comments, you need to log in
Color recognition, how to recognize multi-colored letters on a multi-colored background in Python?
I'm trying to make a bot for a game in Python with solving captcha, captcha of the following format:
Pytesseract recognizes text crookedly, I had to format it in BW like this:
thresh = 30
fn = lambda x: 255 if x > thresh else 0
bw = primer.convert(' L').point(fn, mode='1')
Improved, but accurate recognition occurs in 50% of cases, fiddling with parameters, doesn't really help.
How to make recognition as efficient as possible? And what is the simplest way from a text variable, for example: "x = eight + five = ?" make a digital example?
Answer the question
In order to leave comments, you need to log in
In this case, there are only three possible answers. Therefore, it is not necessary to recognize the captcha. You can click the answer at random and then the probability of the correct answer will be 33% (100% / 3). And this is even higher if you try to solve the captcha, where errors are also possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question