c++ - 验证码如何识别的?
天蓬老师
天蓬老师 2017-04-17 13:12:29
0
6
569
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(6)
刘奇

I have done license plate recognition before, and verification code recognition should be similar. It is generally divided into four steps:

  1. Preprocessing: Grayscale and binarize the verification code image

  2. Character cutting: Character cutting of binary images

  3. Feature extraction: extract the features of each character and generate a feature vector or feature matrix

  4. Character recognition: Compare the feature vector or matrix of the sample library and the cut characters, and use the recognition algorithm to identify

迷茫

"Detailed Explanation of Visual C++ Digital Image Pattern Recognition Technology" Buy this book and read it

左手右手慢动作

First read in the image, which is a matrix, then binarize the matrix, and then operate on the matrix. I forgot the specific algorithm. Each value corresponds to a different number and letter, just write a switch.

伊谢尔伦

OCR is the way

Another way is to connect to a paid coding platform. The platform will connect to real-person coding. You only need to send the verification code picture to the platform (usually you can report the error if you type it wrong)

There are many such platforms, so I won’t post the detailed address. Just search and you’ll find them

洪涛

Binarized road.
Looking at the Ministry of Railways’ mythical beast-level verification code, I feel a little tired.

Ty80

Please go to Baidu first for this kind of question.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!