Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.39 KB

Captcha Cracker

Holds the source for the algorithm that used to crack the captcha at VIT University's Academic Portal. Now, they use ReCaptcha by Google. This is how it looked like, earlier.

Related Chrome Extension

Maintained in a seperate repository

Related Blog Post

Present on the DEV website.

Running the Python Script

  • Install the PIL Library(Pillow)
pip install pillow
  • Enter the Python Directory
cd Python
  • Run the command for the test image
python algorithm/parser.py
  • For a performance measure, run
python performance.py
  • For the preprocessing, run the following after deleting all folders execpt downloaded captchas
cd Python/preprocessing
python reduce-noise.py
python crop_chars.py
python character_sort.py
python best_chars.py
  • Pick a character from the best ones as per the alphanumeric set and rename it after placing in library-chars.
  • Run the following to generate your bitmaps
python generate_bitmaps.py

License

MIT