简体   繁体   English

Python api用于从Linux机器上的网络摄像头拍照

[英]Python api for taking picture from a webcam on a Linux machine

Im using ubuntu 11.04 on my Lenovo Thinkpad machine. 我在联想Thinkpad机器上使用ubuntu 11.04。 Is there a python api for taking a picture programmatically from the webcam ? 是否有一个python api用于从网络摄像头以编程方式拍照? . Some example would be really appreciated. 一些例子将非常感激。

Please Help Thank You 请帮助谢谢

There is a package here: http://pypi.python.org/pypi/v4l2 这里有一个包: http//pypi.python.org/pypi/v4l2

You might also want to study the Video4Linux 2 API specification . 您可能还想研究Video4Linux 2 API规范

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM