Skip to content

tesserract is not working captcha #958

Answered by Balearica
indraraj26 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the issue is that this is white text on an transparent background, which presumably Tesseract is not equipped to handle. My guess is that Tesseract interprets transparent as equivalent to white, so it just ends up being a white image.

If you preprocess the image such that this is black text on a white background, Tesseract should be able to recognize this. This would need to happen in your application given that, as a rule, we don't develop new features for Tesseract.js around the use-case of captchas.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by indraraj26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants