skotz / cbl-js

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

need help in image segmentation #70

Open somethingsrsocrazy opened 2 years ago

somethingsrsocrazy commented 2 years ago

Hi this is sandeep well, I am providing more than 10 example images of the CAPTCHA system:

0

Font Name is "SpicyRice-Regular"

Below captcha's are generated by yiicaptcha which is yiiframework

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

var cbl = new CBL({
            preprocess: function(img) {
               img.binarize(69);
               img.colorRegions(7, true);
            },
            character_set: "abcdefghijklmnopqrstuvwxyz",
                    blob_min_pixels: 50,
                    blob_max_pixels: 500,
                    pattern_width: 25,
                    pattern_height: 25,
                    pattern_maintain_ratio: true,
                    perceptive_colorspace: true,
                    blob_debug: "debugSegmented"         
            });

can u explain how to split characters that are bent at some angle thanks