skotz / cbl-js

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

Fix exact characters to split in three and resize to resulting character #33

Closed skotz closed 4 years ago

skotz commented 5 years ago

The exact_characters setting will split in half but not into thirds, so this:

658d35

Splits awkwardly down the middle of the 8:

image

The split characters need to be cropped to the resulting character boundaries, not keep the boundaries of the pre-split image. For example:

g2np4n

The p needs some space cropped off the top after the split, and the 4 needs some space cropped off the bottom.

image

See #32

skotz commented 4 years ago

pr coming which fixes this image