Git Product home page Git Product logo

ocr's Introduction

验证码识别

本项目共有ipe(公众环境研究中心),**裁判文书网和绿网环境数据中心的3个网站的验证码识别模型,并将其分别做成了可供外部调用的service服务。

dockerfile和requirement.txt中配置了docker部署的环境和所需的相关依赖包。docker_run.sh为容器的快捷启动脚本。log.py中配置了些相关日志信息。

recognize中包含了3个网站验证码的识别模型和测试脚本。

训练文档中包含了两个py文件:train.py和test.py,train.py里分别对网络的相关参数进行了初始化,划分了训练集和测试集,搭建了卷积神经网络训练模型,并对模型进行训练。test.py里主要是利用训练好的模型从验证码测试集随机抽取进行测试以验证模型效果。另外训练文档中还包含了模型的训练手册和相关封装函数的解释说明。

项目的主要思路是:把验证码的图片矩阵化后作为输入x,对应的标签向量化后作为输入y,然后批量送进卷积神经网络进行训练,每迭代10次,使用测试集测试一下准确率,当准确率达到一定精度停止训练。

ocr's People

Stargazers

凌波罗袜 avatar Ethan avatar jwchen avatar

Watchers

James Cloos avatar

Forkers

musicking loovelj

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.