-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to improve this code? #45
Comments
It looks like the colors are pretty distinct, so I'd play around with removing the binarize methods and skipping straight to the colorRegions. Making each letter a different color is the primary weakness of this CAPTCHA, so you don't want to make it black and white if you can help it. The third parameter is the "pixel jump" which you can set higher to effectively keep letters together even when there's a line through them. Maybe try something like There's a lot going on here with fonts, character counts, and colored background blobs, so it'll be hard to get a high accuracy. Good luck. |
Honestly it'll be hard to get high accuracy on this CAPTCHA with the methods in this library. There's a lot of variation. To improve the results you might need to write something more custom to specifically deal with the constants: background circles and 1px foreground lines. The letters themselves seem to be from a finite set of fonts, and they're rotated but not distorted. That might help in some way. Sorry, I won't be able to help too much more on this one. |
Hallo, I tried to implement cbl-js for the following images:






I implemented the code below:
Any idea how to improve it?
The text was updated successfully, but these errors were encountered: