Skip to main content

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.

Metadata

Release files for timedcapture 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for timedcapture 0.3.2
File Size Uploaded
timedcapture-0.3.2.tar.gz 163.8 kB Details

Release files / timedcapture-0.3.2.tar.gz

Download URL timedcapture-0.3.2.tar.gz
Size 163.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aa2e630487931b7a211f14bac8153b81bae0762ee2874499c661544ccef5b273
BLAKE2b-256 checksum
How to use checksums
3eeb21173835fa70f8cd63a93d3331eb03fc54349bae1f70da7632238139049a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page