skotz / cbl-js

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

Help solving this captcha #74

Open eluancardoso opened 1 year ago

eluancardoso commented 1 year ago

Please provide at least 10 example images of the CAPTCHA system:

Please provide the full JavaScript source to what you've already tried:

 var cbl = new CBL({
            preprocess: function(img) {
                img.invert(1);
                // Output the work-in-progress image to an element with a specific ID so we can see the effect of our image operations.
             //   img.debugImage("debugPreprocessed");
                img.binarize(145);
             //
            },
            /* Load the model we saved during training. */
            model_file: "model.dat",
            character_set: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
            fixed_blob_locations: [
                { x1: 5, y1: 15, x2:  65, y2: 95 },
                { x1: 65, y1: 15, x2: 95, y2: 95 },
                { x1: 100, y1: 15, x2: 145, y2: 95 },
                { x1: 147, y1: 15, x2: 180, y2: 95 },
                { x1: 185, y1: 15, x2: 230, y2: 95 },
                { x1: 233, y1: 15, x2: 280, y2: 95 }
               // { x1: 100, y1: 15, x2: 145, y2: 95 }
            ],
            /* The minimum number of pixels required to call a grouping of similar pixels a blob. Use this to filter out small specks before segmentation. */
          //  blob_min_pixels: 90,
            /* The maximum number of pixels required to call a grouping of similar pixels a blob. */
          // blob_max_pixels: 500,
            /* The width of the extracted blobs. All patterns are normalized to this width. */
            pattern_width: 35,
            /* The height of the extracted blobs. All patterns are normalized to this height. */
            pattern_height: 55,
            /* Define a method that fires immediately after successfully loading a saved model. */
            model_loaded: function() {
                // Don't enable the solve button until the model is loaded.
                document.getElementById('solve').style.display = "block";
            }
        });    

output output2 output806 output2646 output3055 output4622 output6250 output9968