Giter Site home page Giter Site logo

identfying_code_recognize's Introduction

-

一个普通的验证码识别程序

环境:python3

依赖:pillow,requests

使用: 首先应该修改python_getpic.py文件中相关的路径名(下载验证码存放路径),因为本人用的是自己电脑的路径。

运行然运行python_recognize.py

十分简单,150行代码配合注释应该也不算难理解

我的识别结果正确率大概在97%左右。

identfying_code_recognize's People

Contributors

ladingwu avatar

Stargazers

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

Watchers

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

identfying_code_recognize's Issues

算法原理

代码逻辑很清楚,但是算法的原理是啥啊?另外如果想继续研究有什么推荐资料吗?

运行报错

[0, 79]
something wrong
Traceback (most recent call last):
File "python_recognize.py", line 147, in
recognize_picture(p,i)
File "python_recognize.py", line 90, in recognize_picture
sta2=z[2]
IndexError: list index out of range

运行报错。提示something wrong

something wrong
Traceback (most recent call last):
File "e:\01.Projects\identfying_code_recognize-master\python_recognize.py", line 147, in
recognize_picture(p,i)
File "e:\01.Projects\identfying_code_recognize-master\python_recognize.py", line 111, in recognize_picture
if pix3[int(x3*2),y3] == 0:
IndexError: image index out of range
识别了0张验证码 正确率为0.0%

运行报错

if pix3[int(x3 * 2), y3] == 0:
IndexError: image index out of range

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.