python-v4l2capture-master

所属分类:视频捕捉采集剪辑
开发工具:Python
文件大小:11KB
下载次数:5
上传日期:2019-12-30 15:02:43
上 传 者chengzk
说明:  Python版本的V4L2,适用于摄像头开发
(Python version of v4l2 for camera development)

文件列表:
.bzrignore (15, 2014-07-25)
MANIFEST (92, 2014-07-25)
capture_picture.py (1421, 2014-07-25)
capture_picture_delayed.py (1732, 2014-07-25)
capture_video.py (1546, 2014-07-25)
list_devices.py (932, 2014-07-25)
setup.py (990, 2014-07-25)
v4l2capture.c (23325, 2014-07-25)

python-v4l2capture 1.4.x Python extension to capture video with video4linux2 2009, 2010, 2011 Fredrik Portstrom 2011 Joakim Gebart I, the copyright holder of this file, hereby release it into the public domain. This applies worldwide. In case this is not legally possible: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. Introduction ============ python-v4l2capture is a slim and easy to use Python extension for capturing video with video4linux2. It supports libv4l to convert any image format to RGB or YUV420. this fork of python-v4l2capture: https://github.com/gebart/python-v4l2capture original python-v4l2capture: http://fredrik.jemla.eu/v4l2capture libv4l: http://freshmeat.net/projects/libv4l Installation ============ v4l2capture requires libv4l by default. You can compile v4l2capture without libv4l, but that reduces image format support to YUYV input and RGB output only. You can do so by erasing ', libraries = ["v4l2"]' in setup.py and erasing '#define USE_LIBV4L' in v4l2capture.c. python-v4l2capture uses distutils. To build: ./setup.py build To build and install: ./setup.py install Example ======= See capture_picture.py, capture_picture_delayed.py and list_devices.py. Change log ========== (see git log for latest changes) 1.4 (2011-03-18) - Added support for YUV420 output. 1.3 (2010-07-21) - Added set of capabilities to the return value of get_info. Updated list_devices.py. 1.2 (2010-04-01) - Forked example script into capture_picture.py and capture_picture_delayed.py. 1.1 (2009-11-03) - Updated URL and documentation. 1.0 (2009-02-28) - Initial release.

近期下载者

相关文件


收藏者