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

python有什么操作摄像头的模块么?

  •  
  •   eric_zyh ·
    ericzyh · 2013 年 1 月 8 日 · 9266 次点击
    这是一个创建于 4758 天前的主题,其中的信息可能已经有所发展或是发生改变。
    操作系统是mac os,想监控电脑摄像头拍摄的图像。

    网上看到的VideoCapture好像只支持windows,或者能用shell perl 等其他的方法实现么?
    9 条回复    1970-01-01 08:00:00 +08:00
    lyric
        1
    lyric  
       2013 年 1 月 8 日
    ckighth
        2
    ckighth  
       2013 年 1 月 8 日
    pygame 好像有。。。
    ruoran
        3
    ruoran  
       2013 年 1 月 9 日   ❤️ 1
    才用pygame在pi上试了一下,还可以。
    OpenCV开有些劣质摄像头(比如说我的)的时候貌似有问题。
    还有SimpleCV,基于pygame和OpenCV。
    freefcw
        4
    freefcw  
       2013 年 1 月 9 日
    说起来正好浏览到这个 http://code.google.com/p/pyipcam/

    楼主可以试试
    amxku
        5
    amxku  
       2013 年 1 月 10 日
    xgdgsc
        6
    xgdgsc  
       2013 年 1 月 11 日
    OpenCV
    eric_zyh
        7
    eric_zyh  
    OP
       2013 年 1 月 12 日
    @ruoran 用simplecv (https://github.com/ingenuitas/SimpleCV) 实现了,代码还蛮简单的。

    @amxku 代码只能在window下使用
    @freefcw 你这个貌似是网络摄像头图片获取
    C0VN
        8
    C0VN  
       2013 年 1 月 12 日
    pygame有吧。
    我自己还没试过。

    http://blog.csdn.net/dyx1024/article/details/7249811
    eric_zyh
        9
    eric_zyh  
    OP
       2013 年 1 月 13 日
    @xavierskip 用到了pygame,不过获取摄像资源好像用的是opencv,具体实现的细节simplecv封装了
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5903 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:17 · PVG 11:17 · LAX 19:17 · JFK 22:17
    ♥ Do have faith in what you're doing.