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

Help solving this captcha #73

Open
giordanolucas opened this issue Apr 14, 2023 · 1 comment
Open

Help solving this captcha #73

giordanolucas opened this issue Apr 14, 2023 · 1 comment

Comments

@giordanolucas
Copy link

giordanolucas commented Apr 14, 2023

image

I've been iterating a lot over these captchas but I don't seem to get to a solution.

This is the config for these results

        preprocess: function(img) {
            img.debugImage("debugPreprocessed");
            img.cropRelative(33, 1, 33, 1);
            img.debugImage("debugPreprocessed");
            img.binarize(35);
            img.debugImage("debugPreprocessed");
            img.removeHorizontalLine(2);
            img.debugImage("debugPreprocessed");
            img.binarize(255);
            img.debugImage("debugPreprocessed");
            img.colorRegions(50, true, 0);
            img.debugImage("debugPreprocessed");
        },
        character_set: "0123456789abcdefghijklmnopqrstuvwxyz",
        exact_characters: 6,
        blob_min_pixels: 50,
        blob_max_pixels: 10000,
        pattern_width: 30,
        pattern_height: 30,
        perceptive_colorspace: true,
        allow_console_log: true,
        blob_console_debug: true,
        blob_debug: "debugSegmented"
    });

(exact characters is 6 because the captchas will contain 6 characters on most cases)

Any ides on what to change here?

I think I might need to move to a ML solution 😞

@skotz
Copy link
Owner

skotz commented Apr 15, 2023

Yeah, this is likely too complicated for the methods in this library. This CAPTCHA looks familiar, so there might be some examples for it in the examples folder.

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

No branches or pull requests

2 participants