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

Python 有没有一种库可以快速实现鼠标绘画涂鸦功能?

  •  
  •   zhihupron · Dec 22, 2019 · 4778 views
    This topic created in 2474 days ago, the information mentioned may be changed or developed.
    很简单的一个功能,打开一张图片,然后在图片上进行简单涂鸦,,然后保存涂鸦后的图片。实现这样的功能有现成的库吗
    4 replies  •  2019-12-27 13:18:04 +08:00
    lairdnote
        1
    lairdnote  
       Dec 22, 2019 via iPhone
    opencv
    很多 pli 这些都可以
    ClericPy
        2
    ClericPy  
       Dec 22, 2019
    pillow 可以

    如果很强调鼠标的话...

    pyautogui 用鼠标操作的相对坐标可以, 也带截图功能

    lackey 也可以控制鼠标, 也是用 pil 截图

    类似的很多
    hehheh
        3
    hehheh  
       Dec 23, 2019
    最简单的 pygame 就可以
    Dustyposa
        4
    Dustyposa  
       Dec 27, 2019
    turtle
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1316 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:49 · PVG 00:49 · LAX 09:49 · JFK 12:49
    ♥ Do have faith in what you're doing.