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

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

  •  
  •   zhihupron · 2019-12-22 19:48:32 +08:00 · 3835 次点击
    这是一个创建于 1579 天前的主题,其中的信息可能已经有所发展或是发生改变。
    很简单的一个功能,打开一张图片,然后在图片上进行简单涂鸦,,然后保存涂鸦后的图片。实现这样的功能有现成的库吗
    4 条回复    2019-12-27 13:18:04 +08:00
    lairdnote
        1
    lairdnote  
       2019-12-22 20:57:10 +08:00 via iPhone
    opencv
    很多 pli 这些都可以
    ClericPy
        2
    ClericPy  
       2019-12-22 21:27:29 +08:00
    pillow 可以

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

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

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

    类似的很多
    hehheh
        3
    hehheh  
       2019-12-23 10:59:40 +08:00
    最简单的 pygame 就可以
    Dustyposa
        4
    Dustyposa  
       2019-12-27 13:18:04 +08:00
    turtle
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5269 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 09:16 · PVG 17:16 · LAX 02:16 · JFK 05:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.