V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
pythoner
V2EX  ›  Python

推荐 Django 的验证码库:DjangoCaptcha v0.3.1

  •  
  •   pythoner · 2016-01-07 14:16:03 +08:00 · 2428 次点击
    这是一个创建于 3025 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Hi ,今天更新了 Django 的验证码库: DjangoCaptcha v0.3.1 ,在这里推荐一下。
    目前支持两种类型的验证码

    * 英文单词 /字母
    * 数字计算

    使用非常简单:

    [显示验证码图片]:
    [验证用户输入]:

    * github: https://github.com/yohn89/DjangoCaptcha
    * 在线 demo : http://django-captcha.t-y.me/
    8 条回复    2016-01-07 17:15:03 +08:00
    lincanbin
        1
    lincanbin  
       2016-01-07 14:57:01 +08:00
    这验证码强度看起来很弱的样子。
    pythoner
        2
    pythoner  
    OP
       2016-01-07 15:05:13 +08:00
    @lincanbin
    背景干扰线、干扰点的强度可以调整,这个版本里给我的参数比较低强度。在下一个版本里我会给出三种不同的干扰强度供选择
    lincanbin
        3
    lincanbin  
       2016-01-07 15:08:01 +08:00
    @pythoner


    验证码的识别难点从来不在干扰线和干扰点……
    这些只能干扰人眼,对于软件几乎是无效的……

    你加再多也是通用验证码识别库就能识别的水平……
    bobuick
        4
    bobuick  
       2016-01-07 15:10:30 +08:00   ❤️ 1
    自己写的在用,和这个一样的模式,不错, 强弱自己改生成算法就行了
    lincanbin
        5
    lincanbin  
       2016-01-07 15:13:35 +08:00
    pythoner
        6
    pythoner  
    OP
       2016-01-07 15:14:30 +08:00
    @lincanbin
    所以这个还只是 0.x.x 版本。粘连、旋转、扭曲以及字符和背景的关系这些需要调整到一个我比较满意的样子才会放出来,目前正在做这些事情。
    以前我也是做验证码识别的
    ihciah
        7
    ihciah  
       2016-01-07 16:38:26 +08:00
    很好啊,可以拿来生成训练集扔 CNN
    28ms
        8
    28ms  
       2016-01-07 17:15:03 +08:00
    @lincanbin 这个验证码识别软件好像挺好用的,请问叫什么名字?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5216 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:19 · PVG 15:19 · LAX 00:19 · JFK 03:19
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.