Home  >  Q&A  >  body text

c++ - 验证码如何识别的?

天蓬老师天蓬老师2765 days ago609

reply all(6)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:14:29

    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

    reply
    0
  • 迷茫

    迷茫2017-04-17 13:14:29

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

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 13:14:29

    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.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:14:29

    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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:14:29

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

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 13:14:29

    Please go to Baidu first for this kind of question.

    reply
    0
  • Cancelreply