Simple v4l2 for pyv4l2
Project description
A simple, libv4l2-based frames capture library. The pyv4l2 module based PyV4L2Camera development, I removed the v4lconvert_convert part of the code, the most original data to return the device. PyV4L2Camera module in https://gitlab.com/radish/PyV4L2Camera ,Thank you Dominik Pieczyński.
Installation
Libv4l2
Libv4l2 is packaged by various distributions:
Debian and Ubuntu
# apt-get install libv4l-dev
Fedora
# dnf install libv4l-devel
Arch Linux
# pacman -S v4l-utils
pyv4l2
To install pyv4l2:
$ pip install pyv4l2
pyv4l2 is only compatible with Python 3.
Usage
from pyv4l2.camera import Camera
camera = Camera('/dev/video0')
frame = camera.get_frame()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyv4l2-0.1.3.tar.gz
(65.8 kB
view hashes)
Built Distribution
pyv4l2-0.1.3-py3.5-linux-x86_64.egg
(185.3 kB
view hashes)
Close
Hashes for pyv4l2-0.1.3-py3.5-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab881fcf6233eff2e02db5ffbec759413934441ba5d0afbfcf6f553e01c40bf5 |
|
MD5 | 3ee2f4571578285613ee31424c7d7048 |
|
BLAKE2b-256 | b8f2b0bf7f02af41535c71a4e915a7529305506653b59779bdcb90ebd33db599 |