推荐学习书目
› 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 · 9997 views
    This topic created in 5064 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
    ckighth
    ckighth
    Jan 8, 2013
    2
    pygame 好像有。。。
    ruoran
    ruoran
    Jan 9, 2013❤️1
    3
    才用pygame在pi上试了一下,还可以。
    OpenCV开有些劣质摄像头(比如说我的)的时候貌似有问题。
    还有SimpleCV,基于pygame和OpenCV。
    freefcw
    freefcw
    Jan 9, 2013
    4
    说起来正好浏览到这个 http://code.google.com/p/pyipcam/

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

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

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