推荐学习书目
› 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
newmean
V2EX  ›  Python

请各位大神帮忙看看,这种验证码该如何生成.

  •  
  •   newmean · Jul 27, 2019 · 3757 views
    This topic created in 2661 days ago, the information mentioned may be changed or developed.

    请大神帮忙看看这个验证码如何用 Pytho  生成????

    https://pin.aliyun.com/get_img?sessionid=123

    7 replies  •  2019-07-27 17:35:07 +08:00
    Fanx
    Fanx
    Jul 27, 2019 via Android
    1
    可以用 PIL 试试
    newmean
    newmean
    OP
    Jul 27, 2019
    2
    @Fanx 考虑过了,主要是不知道字体,以及字符间距等.
    jdhao
    jdhao
    Jul 27, 2019 via Android
    3
    @newmean 先使用字体生成字符,然后扭曲字符,然后贴到背景图上
    newmean
    newmean
    OP
    Jul 27, 2019
    4
    @jdhao 大佬,现在主要的问题是:1,不知道是什么字体.2,怎么扭曲
    newmean
    newmean
    OP
    Jul 27, 2019
    6
    @virusdefender 大佬,跑不出来.
    virusdefender
    virusdefender
    Jul 27, 2019
    7
    @newmean 肯定能用,自己调试下吧。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1726 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:51 · PVG 11:51 · LAX 19:51 · JFK 22:51
    ♥ Do have faith in what you're doing.