推荐学习书目
› 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 · Jan 8, 2013 · 9848 views
    This topic created in 5010 days ago, the information mentioned may be changed or developed.
    操作系统是mac os,想监控电脑摄像头拍摄的图像。

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

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

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

    http://blog.csdn.net/dyx1024/article/details/7249811
    eric_zyh
        9
    eric_zyh  
    OP
       Jan 13, 2013
    @xavierskip 用到了pygame,不过获取摄像资源好像用的是opencv,具体实现的细节simplecv封装了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5278 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.