GithubHelp home page GithubHelp logo

xcctbys / py-captcha-breaking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamgavinzhou/py-captcha-breaking

1.0 2.0 0.0 4.99 MB

破解验证码的完整演示程序,just for demo!

License: MIT License

Python 100.00%

py-captcha-breaking's Introduction

#说明 这是个破解验证码的完整示例,其中破解过程的多处需要改进+代表需要改进的程度,主要有:

  • CFS合并过程(++)
  • 判断可能的字符数(++++)
  • 字符分割(++)
  • 单个字符识别精度(+++)

由于是业余时间写的,没放太多精力,有好的建议欢迎提出!或者联系作者:

邮箱: [email protected]


#破解流程

  1. CFS(color fill segementation)分割字符块
  2. 使用cnn(convolution neural network)判断字符块包含的字符个数
  3. 均分(equally divide)字符块,产生单个字符
  4. 使用cnn识别单个字符,获得最终答案

#各阶段精度

  1. CFS: ~= 99%
  2. 判断CFS块的可能字符数: ~= 80%
  3. 字符分割: ~= 98%
  4. 单字符识别: ~= 89% (with Caffe)

#训练各阶段源码 ##判断长度

train_net/cnn_train_size*.py

##单字符识别

  • train_net/cnn_train_chars.py keras版本,效果不太好,accuracy大概84%
  • data/lenet.prototxt caffe+mnist识别,accuracy 89%左右,效果略好于keras版,实际使用版本

#Software requirements


#demo

python demo.py | tee ./log/demo.log

##demo accuracy

由于多处存在瑕疵,acuracy是23/50 = 46%,效果不好,还需大力改进

py-captcha-breaking's People

Contributors

iamgavinzhou avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.