Git Product home page Git Product logo

zheye's Introduction

image

者也 - 知乎汉字验证码识别程序

知乎用户登录验证码很有个性,找到图中倒立文字的位置

https://www.zhihu.com/captcha.gif?type=login&lang=cn

image

keyword

  • 卷积神经网络
  • 高斯混合模型

online evaluate

在线测试地址 http://zheye.74ls74.org/

how to use

# install dependency
pip install numpy pillow scikit-learn torch torchvision

# clone
git clone --depth=1 https://github.com/996refuse/zheye.git

# training (can skip)
python3 zheye/train.py

# testing
python3 zheye/evaluate.py realcap/01.gif

license

WTFPL http://www.wtfpl.net/

本项目仅供学习娱乐,请勿滥用。请遵守知乎用户协议合理使用互联网

donate

image image

zheye's People

Contributors

996refuse 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zheye's Issues

倒立识别文字验证码在tensorflow2里如何实现

image
如果我采用原代码会报错 AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
如果我将源代码里的import keras 改为 from tensorflow import keras.上面报错会消失
但是会有新报错
for key, item in cls_config.items():
AttributeError: 'list' object has no attribute 'items'
不知如何解决

train不过

win下操作的,python版本3.9.10,安装库都顺利,到了train就不过,看着像是显卡加速的问题,我是amd的apu,要怎么不使用cuda只使用cpu?
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

兄弟,你好!

能留个联系方式吗?想咨询下你,关于这个知乎验证码识别的问题;
C#能调用这个源吗?

Failed to load the native TensorFlow runtime.

File "R:\python3.6\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "R:\python3.6\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "R:\python3.6\lib\imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "R:\python3.6\lib\imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: DLL load failed: 找不到指定的模块。  

Failed to load the native TensorFlow runtime.

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.