Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A utility that can be used to recognize www.12306.cn captcha
C++
branch: master

Surprisingly, in a 266-case test, the "recog"

utility is actually able to correctly recognize
96 of them.
latest commit d86fd90b65
@torshie authored
Failed to load latest commit information.
source Initial version
.gitignore Initial version
COPYING Initial version
README Surprisingly, in a 266-case test, the "recog"

README

Utilities used to recognize captchas from dynamic.12306.cn.
Usage:
1. Download a .jpg image from https://dynamic.12306.cn/otsweb/passCodeAction.do?rand=lrand
2. Convert the image to .ppm format with ImageMagick.
3. ./recog file-name.ppm

Note, an additional file "network.data" is required for the utility "recog" to
work correctly. Program "train" can be used to generate this file. Currently
only 30%~40% of the recognitions are correct. Improve function
Captcha::segment() should be able to improve the overall correctness.
Something went wrong with that request. Please try again.