Registry / devops / genicam

genicam

JSON →
library1.5.1pypypi✓ verified 82d ago

Official Python binding for the GenICam GenApi and GenTL Producers, enabling camera control and image acquisition from GenICam-compliant devices. Current version 1.5.1, maintained by GenICam community.

pip install genicam
INSTALL
IMPORT
SIG · GENICAM
G
genicam
devopspythonv1.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GenApi
import genicam
from genicam import GenApi

Initialize GenTL system and list camera interfaces.

from genicam import GenApi from genicam import GenTL tl = GenTL.TLSystem() tl.LoadLibrary() if tl.Interfaces: interface = tl.Interfaces[0] print(f"Interface: {interface.DisplayName}") else: print("No interfaces found. Ensure a GenTL producer is available.")
Debug
Known issues
breakingVersion 1.5.x changed the import structure. Previously, `import genicam` directly exposed GenApi and GenTL; now they are submodules under `genicam` package.
fix
Update imports: `from genicam import GenApi` instead of `import genicam.GenApi`.
affects: >=1.5.0
deprecatedThe `TLSystem` class's method `LoadLibrary` is deprecated in favor of `LoadProducer` in newer versions of GenTL specification.
fix
Use `tl.LoadProducer('your_producer.cti')` or check official GenTL docs.
affects: >=1.5.0
gotchaOn Windows, the GenTL producer DLL (e.g., `gev_tl.cti`) must be in the system PATH or current working directory, otherwise `LoadLibrary` fails silently.
fix
Place the producer .cti file in the same directory as your script or add its folder to PATH.
affects: all
gotchaThe `genicam` package does not support Python 3.12+ due to use of deprecated C API functions. Users report import errors with Python 3.12.
fix
Use Python 3.11 or earlier. Alternatively, check for updates or use a virtual environment with Python 3.11.
affects: >=1.5.0
Upgrade
Version history
1.5.1latest on PyPI · released Nov 11, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
genicam — pip install genicam · libregistry