Coder Social home page Coder Social logo

benjaminwegener / captchasolver Goto Github PK

View Code? Open in Web Editor NEW
20.0 5.0 10.0 1.46 MB

based on https://medium.com/@ageitgey/how-to-break-a-captcha-system-in-15-minutes-with-machine-learning-dbebb035a710 by https://github.com/ageitgey

Home Page: https://notebooks.azure.com/run/wegeneredv-de/CaptchaSolver?dest=%2Fnotebooks%2FCaptchaSolver.ipynb

License: MIT License

Python 1.18% Jupyter Notebook 98.82%

captchasolver's Introduction

CaptchaSolver Jupyter Notebook

based on https://medium.com/@ageitgey/how-to-break-a-captcha-system-in-15-minutes-with-machine-learning-dbebb035a710 by https://github.com/ageitgey

DEMO

Before you get started

To run these scripts, you need the following installed:

  1. Python 3
  2. OpenCV 3 w/ Python extensions
  1. The python libraries listed in requirements.txt
  • Try running "pip3 install -r requirements.txt"

Step 1: Extract single letters from CAPTCHA images

Run:

python3 extract_single_letters_from_captchas.py

The results will be stored in the "extracted_letter_images" folder.

Step 2: Train the neural network to recognize single letters

Run:

python3 train_model.py

This will write out "captcha_model.hdf5" and "model_labels.dat"

Step 3: Use the model to solve CAPTCHAs!

Run:

python3 solve_captchas_with_model.py

captchasolver's People

Contributors

benjaminwegener avatar

Stargazers

Lucas Vinícius Guedes da Silva avatar  avatar  avatar  avatar Neville avatar Otávio Augusto de Queiroz Reis avatar Milwart Calizaya Bobadilla avatar Baban Gain avatar Deepshikha Sethi avatar  avatar David Ureba avatar Smowtion avatar  avatar Zinnia avatar Terentius avatar  avatar leo avatar Ferri Sutanto avatar David avatar  avatar

Watchers

James Cloos avatar Zinnia avatar WANG ZHIJUN avatar  avatar  avatar

captchasolver's Issues

[Question] 6-letter captchas

I've tried your CaptchaSolver on 6-letter captchas with a little more obfuscation:

captcha

Sadly extract_single_letters_from_captchas.py produces 75 % wrong letters - do I have to change the script to cope with 1/6 length compared to 1/4?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.