skotz / cbl-js

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

Please help to solve that 6 digits #56

Open LEV7n opened 4 years ago

LEV7n commented 4 years ago

I have tried all your examples but get collected from couple to get this code, all so fine but it not splitting it i.e. Not working

image

there's few examples:

captcha-0 captcha-1 captcha-2 captcha-3 captcha-4 captcha-5

Also i want programmatically train it by following scheme:

  1. I have server to save dat file of training images
  2. I have acc in service like antigate
  3. When i get captcha i first want to give it to cbl
  4. If failed i planning get response from service
  5. For this i need going with for in response and enter 6 digits to training input (but i have some problem there, splitted image order it's not first digit - to last digit)
  6. How to correct append new generated dat to already exist collection on server? (Load dat then train image and then export full dat? Or it can be saved partially?)
var cbl = new CBL({
            preprocess: function(img) {
                img.removeGray(20);
                img.blur();
                img.binarize(190);
                img.colorRegions(40, true);
                img.debugImage("debugPreprocessed");
            },
            character_set: "0123456789",
            blob_min_pixels: 40,
            blob_max_pixels: 350,
            pattern_width: 24,
            pattern_height: 24,
            pattern_maintain_ratio: true,
            allow_console_log: true,
            perceptive_colorspace: true,
            blob_debug: "debugSegmented",
            model_loaded: function() {
                document.getElementById("aSolve").style.display = "inline-block";
            }
        });
888Nik commented 4 years ago

We need your advice. Within this topic. How can you get it? @skotz

skotz commented 4 years ago

You could try playing around with the exact character splitting settings since they all have exactly 6 characters. With the distortion you'll likely need to train on a lot of examples to average out differences.

https://www.github.com/skotz/cbl-js/tree/master/examples%2Falawiggle%2Findex.html

LEV7n commented 4 years ago

You could try playing around with the exact character splitting settings since they all have exactly 6 characters. With the distortion you'll likely need to train on a lot of examples to average out differences.

https://www.github.com/skotz/cbl-js/tree/master/examples%2Falawiggle%2Findex.html

Hi, i have tried that example but it not good dsalcedo it's looks well except one thing, how to correct split images?

image

var cbl = new CBL({ preprocess: function(img) { img.binarize(190) img.debugImage("debugPreprocessed"); img.colorRegions(1, true, 1); img.debugImage("debugPreprocessed"); }, exact_characters: 6, character_set: "0123456789", blob_min_pixels: 50, blob_max_pixels: 10000, exact_characters_width: 100, exact_characters_play: 3, pattern_width: 25, pattern_height: 25, perceptive_colorspace: true, allow_console_log: true, blob_console_debug: true, blob_debug: "debugSegmented" });

skotz commented 4 years ago

Unfortunately this CAPTCHA might be too difficult to solve with the out-of-the-box functionality in this library without some custom work. The distortion, merging, and single color features are pretty decent, so it'll be difficult to get a high percentage accuracy without building something more custom just for this system.

LEV7n commented 4 years ago

Unfortunately this CAPTCHA might be too difficult to solve with the out-of-the-box functionality in this library without some custom work. The distortion, merging, and single color features are pretty decent, so it'll be difficult to get a high percentage accuracy without building something more custom just for this system.

So it depends on digits zoom and can't understand where should be center of each one? I have seen much more difficult captchas in your examples:)