Captcha-caffe is an extremely simple deep learning project to recognize simple fixed length captcha. Once trained your own model, it could be easily embedded in any app.
- h5py
- pycaffe
- numpy, scipy
python generator/generator-v1.py --ntrain 200 --nval 100
where ntrain denotes the size of training dataset, nval denotes the size of validation dataset. The default length of captcha is 6, you can change it by adding "--captcha_len 6". If you want to train only on the digit captcha, you can set by adding "--charnum False".
/pathtocaffe/build/tools/caffe train --solver=model/solver.prototxt
Sample Trained Model for 6 length captcha with 200K training set and 1k validation set could be download at BaiduYun or GoogleDrive.