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
zfcode
V2EX  ›  Python

Python 生成复杂验证码

  •  
  •   zfcode · 2017 年 9 月 8 日 · 5303 次点击
    这是一个创建于 3047 天前的主题,其中的信息可能已经有所发展或是发生改变。
    怎么用 python 生成可以粘连、旋转的验证码图片,谢谢
    11 条回复    2017-09-10 13:06:25 +08:00
    zfcode
        1
    zfcode  
    OP
       2017 年 9 月 8 日
    求大神
    zfcode
        2
    zfcode  
    OP
       2017 年 9 月 8 日
    如下所示的验证码,该怎么生成,谢谢



    zfcode
        4
    zfcode  
    OP
       2017 年 9 月 8 日
    @Phant0m 主要是黏连咋办
    xiaozizayang
        5
    xiaozizayang  
       2017 年 9 月 8 日 via Android
    图像处理库啊
    Phant0m
        6
    Phant0m  
       2017 年 9 月 8 日
    @zfcode 调整字符间距
    XiaoFaye
        7
    XiaoFaye  
       2017 年 9 月 9 日
    找一年级的小学生写 26 个字母和 10 个数字,收集大概 100 份样本就行了,然后逐字分隔再排列组合,够用户吃一壶了。
    jeffson
        8
    jeffson  
       2017 年 9 月 9 日
    666
    altboy
        9
    altboy  
       2017 年 9 月 9 日
    https://github.com/Ctrlsman/utils/blob/master/my_check_code.py
    兄弟啊,拿去用把,记得给个 star 啊
    zfcode
        10
    zfcode  
    OP
       2017 年 9 月 10 日
    @altboy 兄弟,完全不一样,重点是想生成类似图片的样子
    zfcode
        11
    zfcode  
    OP
       2017 年 9 月 10 日
    @Phant0m 你看图片那个,黏连,但是基本上不会重叠
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2868 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:50 · PVG 20:50 · LAX 04:50 · JFK 07:50
    ♥ Do have faith in what you're doing.