Python crawler entry-level recognition verification code

Source: Internet
Author: User
The introduction of verification codes is not much said. various verification codes may come out of preference from time to time in people's life: the content mentioned in this article was made by bloggers during the last summer vacation, I have never been down to writing my thoughts on paper. Fortunately, I spent a lot of time on my vacation and thought about how much I could write, so I had this article.

Verification code? Can I crack it?

The introduction of verification codes is not much said. various verification codes may come out from time to time in people's lives. as a student of Northeastern University, the most frequently accessed verification codes are those of the academic affairs office system.
The verification code of Dongda has been swallowed up by students. it is too difficult to input. it is case-sensitive. sometimes, when you clearly enter the correct information, an error is Prompted. at this timeProhibit your left-click CopyMaybe the pop-up is coming.
(However, the academic office changed the content of the verification code in to facilitate human operations .)

For example, the matrix of number 6

num_6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,]

Looking far away, you can still tell with your eyes wide.
Because the verification code of the Office of Academic Affairs of the East University is very regular, and each number is in a fixed position, it does not need to involve any machine learning algorithms, but simply performs a matrix comparison, you can find the matrix with the highest similarity among all the implemented matrices. the comparison methods here are diverse, and the data can be identified simply and correctly.

So far, our verification code recognition is over.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.