skotz / cbl-js

JavaScript CAPTCHA solving library
MIT License
155 stars 47 forks source link

How to solve this captcha? #29

Closed Thalisson closed 5 years ago

Thalisson commented 5 years ago

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

1

2

3

4

5

6

skotz commented 5 years ago

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.

Thalisson commented 5 years ago

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

Thalisson commented 5 years ago

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

skotz commented 5 years ago

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 commented 5 years ago

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