Giter VIP home page Giter VIP logo

12306-captcha-crack's Introduction

12306 CAPTCHA CRACK

介绍 🐸

12306验证码破解程序,单个图片识别率在94%左右,文字识别部分采用Google Vision识别,实际测试,整体正确率在80%左右。图片一共80种分类,支持12306爬虫登录,使用DenseNet 200层深层网络训练。附上已训练好的模型。Dataset来自Kaggle 传送门

演示图片 🤖

Pic Pic

使用方法 🐮

环境要求

API要求

由于Google Vision API有调用次数限制,建议自行申请一个。由于Google安全警告,已移除API Key文件

Demo

pip3 -r requirement.txt
python3 demo.py
python3 Demo_Webpage/client.py

打开浏览器输入地址 127.0.0.1:5000 Mac 可以使用下面命令

open http://127.0.0.1:5000

训练模型

需要下载数据集在根目录,命名为captcha。建议在AWS或其它GPU运算能力强的机器上训练,MBP上训练至少40小时以上。训练好模型存在saves文件夹下,更多参数请看源代码。

python3 train.py --train --logs

TODO 🎄

  • 双词汇匹配
  • 使用CTPN,对中文进行神经网络训练
  • 中文近形字匹配

12306-captcha-crack's People

Contributors

lmcmz 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.