Verification Code hack

Source: Internet
Author: User
Tags image processing library

At present, many websites require users to enter a verification code, although it is necessary security measures, but also with the resulting poor user experience.

Recent project needs, cracked some entry-level verification code, here the process is recorded, as a learning beginning.

Verification code type:

1. Color

2. There is interference line

3. No adhesion or a few adhesion

Hack tool:

1.python

2.python language image processing Library pillow

  

Crack steps

1. Sharpening

2. Convert to Grayscale

3. Two value processing

4.8 Neighborhood Noise reduction algorithm for noise reduction

5. Cutting

6. Use the Google Open source OCR library Tessact to identify individual verification codes

Not to be continued ...

Verification Code hack

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.