Skip to content
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 solve this captcha? #29

Closed
Thalisson opened this issue Nov 21, 2018 · 5 comments
Closed

How to solve this captcha? #29

Thalisson opened this issue Nov 21, 2018 · 5 comments
Labels

Comments

@Thalisson
Copy link

I tried many method it didn't work, can u help me for this? Many thanks!

1

2

3

4

5

6

@skotz
Copy link
Owner

skotz commented Nov 23, 2018

This one will be difficult since it's using both upper and lower case characters. The letters appear to roughly be in the same location in each image, so maybe you could use the fixed_blob_locations setting like in this example.

@skotz skotz added the question label Nov 23, 2018
@Thalisson
Copy link
Author

OK thank you for answering.
I'm going to run some tests.
What I got closer was the example
cryptographp

@Thalisson
Copy link
Author

Could you help me out with some tips on how to use the deep fixed_blob_locations?

@skotz
Copy link
Owner

skotz commented Nov 27, 2018

Here's a working example:
https://github.com/skotz/cbl-js/blob/master/examples/paulebe/index.html

Basically you're specifying a list of rectangles in the image for each character. This only works when the characters are generally in the same place on each image, which for your images might just work. I'd give it a shot and see if it helps.

To get the locations, use an image editor and find the top left and lower right pixels around a character.

image

In this example the upper left is (11, 8) and the lower right is (36, 33), so your first character would be something like this:

fixed_blob_locations: [
    { x1:  11, y1: 8, x2: 36, y2: 33 },
    /* another one for each character location */
],

You'll probably have to play around with the locations so it works for every image.

@Thalisson
Copy link
Author

Great, thanks for your help.
I understood how this works.
I will play a bit and give a certain classification to the code and the result.

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants