pyobs for cameras from The Imaging Source
This is a pyobs module for cameras from The Imaging Source, accessed via their tiscamera GStreamer driver.
System dependencies
The tiscamera driver and its GObject introspection bindings are not pip-installable, so they need to be installed via your system's package manager before installing pyobs-tis.
On Debian/Ubuntu:
sudo apt-get install python3-gi python3-gi-cairo gir1.2-gstreamer-1.0
This provides PyGObject (python3-gi, python3-gi-cairo), the gi module used to access GStreamer/tcam
from Python. The tiscamera driver itself (providing the Tcam GObject introspection typelib) is not packaged
for Debian/Ubuntu and needs to be installed separately, either from a
release package or the
the-imaging-source PPA.
Since these packages are installed system-wide, your virtual environment needs access to the system
site-packages so it can find the gi module.
Install pyobs-tis
Clone the repository:
git clone https://github.com/pyobs/pyobs-tis.git
cd pyobs-tis
Create a virtual environment with access to the system site-packages and install the package with uv:
uv venv --system-site-packages
uv sync
Alternatively, with plain venv/pip:
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install .
Configuration
The TisCamera class is derived from BaseVideo (see pyobs documentation) and requires at least two parameters:
device:
Name of TIS device to open.
format:
Image format and size to use.
A basic module configuration would look like this:
class: pyobs_tis.TisCamera
device: DMK 38GX304 24910177
format: Y800 (640x480)
Dependencies
- pyobs-core for the core functionality.
- NumPy for array handling.
- tiscamera and PyGObject for accessing the camera, installed via the system's package manager (see above).
Metadata
Release files for pyobs-tis 2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyobs_tis-2.1.3.tar.gz | 224.0 kB | Details |
Release files / pyobs_tis-2.1.3.tar.gz
| Download URL | pyobs_tis-2.1.3.tar.gz |
|---|---|
| Size | 224.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1795d8b62064f649e7afe55b54d2e6a22fc54acb0fe45d8c1e4c7b262a7b8296
|
|
BLAKE2b-256 checksum How to use checksums |
006e568c35c79eec6e0972ea24338a1c9d8c637f1ed32cb9711c57bf1ae72e70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|