Giter Site home page Giter Site logo

xdebron / mybabe Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 5.0 43.21 MB

MyBB CAPTCHA Solver using Convolutional Neural Network in Keras

License: GNU General Public License v3.0

PHP 44.64% Python 54.97% Batchfile 0.40%
deep-learning convolutional-neural-networks multi-label-classification image-classification captcha-solving

mybabe's Introduction

MyBaBe

MyBB CAPTCHA Solver using Convolutional Neural Network in Keras

Original Image:

tested image

After Preprocess:

tested image

Guessed:

output

Getting Started

I've uploaded a image in dataset folder so that you can understand better the structure and file naming scheme.

Dependencies

  • Tensorflow(Keras)
  • OpenCV
  • Python 3
  • Php >= 5

Creating dataset

You must create dataset first with modified version of captcha.php in mybb.

Run it in terminal or in browser.

php captcha.php

After created about 100k images you can proceed to Training.

Training

Just run train.py

python3 train.py

Usage

I have also provided pre-trained model so you can directly use it. Also you can include it in your projects easily.

python3 eval.py

Evaluates test.png. Outputs like this:

{'h': 0.95185363, '4': 0.3711427, '5': 0.8917278, 'w': 0.98471284, 'l': 0.86197835}
h45wl

Accuracy

accuracy

Training process took about 8 hours with gtx1060.

mybabe's People

Contributors

nick-traeger avatar xdebron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.