Ruby script to decode BNP's capchas using ImageMagick and reverse-engineered number patterns