Giter Site home page Giter Site logo

captcha's Introduction

简单的验证码识别程序

里面包含了500个训练样例和200个测试样例

Captcha.py

一开始会提示你是否重新处理图片,如果是,则会将所有图片重新处理一遍,并重新训练模型,需要花费较多时间

模式1:爬虫得到一张新的验证码图片(图片来自本校教务系统的登录网站),并进行识别
模式2:收集测试样例模式(图片来源同上,得到100张图片,并需要自己输入答案,作为新的测试样例)
模式3:测试所有的测试样例

Eigenvalue: 用自己设定的特征值作为训练集
Accurate: 直接用像素作为训练集

Simple:直接遍历的方法,较慢
Model:用模型预测,较快

过程写到博客上了,地址是:http://blog.csdn.net/qq_35923581/article/details/79487579

Captcha_tensorflow.py

用tensorflow训练模型并测试,测试集准确率达到93.5%

captcha's People

Contributors

frostmoune avatar

Watchers

 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.