This is a very simple captcha crack program.
step:
-
Obtain some pngs and name it as its content, for example a captcha image has 4 numbers '1,2,3,4', name it '1234.png', then put these images in img folder.
-
remove '#' before 'train()', add '#' before "dealImg(f)' and 'for' above it.
-
run the application, data.txt has update.
-
add '#' before 'train()' and remove '#' before "dealImg(f)" and 'for' above it.
-
run the application again, that's all