The CAPTCHA created like this:
Actually this is used to generate training data of project CNN_keras
from captcha import Captcha
letter_set = '0123456789'
letters_per_img = 5
min_width, min_height = 128, 36
c = Captcha(min_width, min_height, letter_set, letters_per_img, debug=True)
c.batch_create_img(5)
- Add more customizable params.
- Improve performance.