Giter Site home page Giter Site logo

suhani97 / captcha-solver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terabyte17/captcha-solver

0.0 0.0 0.0 3.95 MB

Implementation of Handwritten Captcha Recognizer written in Tensorflow, Keras and OpenCV

Jupyter Notebook 80.37% Python 19.63%

captcha-solver's Introduction

Captcha-Solver - Mosaic 2k20 - Round 1

This captcha solver has been developed using deep learning and convolutional neural networks along with the help of OpenCv for letter segmentation. It can be used to recognize captchas consisting of different letters as well as numbers. The model was trained on Google Colab using the EMINST by_class dataset in the form of a csv file. The dataset was modified to remove similar characters such as X and x. The model was trained to achieve a validation accuracy of 97% and a test accuracy of 92%.

Special features of this model -

The special features of this model include :-

  1. This model can recognize captchas consisting of letters and numbers rotated at a max. angle of 45 deg.
  2. It can be also used for captchas consisting of lots of noise in the form of lines and dots.
  3. Can detect captchas having letters of variable thickness and size

Characters -

The characters on which the model was trained are given in the file characters.txt.

To decode captchas you need to input the image paths in the decode_captchas.py file and run the file. The python libraries required for this are mentioned in the requirements.txt file. The csv file on which the model was trained is also available. A few sample captchas have also been provided in the sample captchas folder. This is the code that helped us win Mosaic 2k20 (Machine Learning event of the departmental fest of Electronics Engineering Society of IIT-BHU, Varanasi).

captcha-solver's People

Contributors

terabyte17 avatar

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.