a cython-based module to achieve on-time capture through V4L2.
Project description
timedcapture
a cython-based module to achieve on-time video capture through V4L2.
For a general usage, refer to USAGE.
Prerequisites
IMPORTANT NOTE: the current implementation only allows 16-bit grayscale acquisition. IMPORTANT NOTE: there is no functionality that controls the frame rate. Frame-capture timings must be controlled elsewhere, either using software or hardware timers.
- The library is tested on Ubuntu 18.04 LTS, but it is supposed to work on any Linux environment that runs V4L2.
- Please note that the library is optimized for cameras from ImagingSource.
By using devices from other manufacturers, you will not have control over functionalities such as:
- 1 microsecond-order exposure control (V4L2 only allows the order of 10 microseconds)
- auto-gain/manual-gain switch (the gain control will be totally manual- or auto-controlled)
- trigger modes (by default, only the free-running mode will be allowed)
- "strobe" output These settings must be configured elsewhere.
Installation
For the time being, we only provide the source distribution on PyPI. You will need a working Cython and Numpy combination pre-installed.
$ pip install numpy>=1.19 cython>=0.29 # or: "conda install numpy cython", in case you use Anaconda
$ pip install timedcapture
License
2020 Keisuke Sehara, the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file timedcapture-0.3.2.tar.gz
.
File metadata
- Download URL: timedcapture-0.3.2.tar.gz
- Upload date:
- Size: 163.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2e630487931b7a211f14bac8153b81bae0762ee2874499c661544ccef5b273 |
|
MD5 | 933a0db5c69c7b91276949cf63daeeee |
|
BLAKE2b-256 | 3eeb21173835fa70f8cd63a93d3331eb03fc54349bae1f70da7632238139049a |