{"id":45014,"library":"genicam","title":"GenICam Python Binding","description":"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.","status":"active","version":"1.5.1","language":"python","source_language":"en","source_url":"https://github.com/genicam/genicam","tags":["genicam","camera","machine-vision","genapi","gentl"],"install":[{"cmd":"pip install genicam","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"wrong":"from genicam import GenApi","symbol":"GenApi","correct":"import genicam"}],"quickstart":{"code":"from genicam import GenApi\nfrom genicam import GenTL\n\ntl = GenTL.TLSystem()\ntl.LoadLibrary()\nif tl.Interfaces:\n    interface = tl.Interfaces[0]\n    print(f\"Interface: {interface.DisplayName}\")\nelse:\n    print(\"No interfaces found. Ensure a GenTL producer is available.\")","lang":"python","description":"Initialize GenTL system and list camera interfaces."},"warnings":[{"fix":"Update imports: `from genicam import GenApi` instead of `import genicam.GenApi`.","message":"Version 1.5.x changed the import structure. Previously, `import genicam` directly exposed GenApi and GenTL; now they are submodules under `genicam` package.","severity":"breaking","affected_versions":">=1.5.0"},{"fix":"Use `tl.LoadProducer('your_producer.cti')` or check official GenTL docs.","message":"The `TLSystem` class's method `LoadLibrary` is deprecated in favor of `LoadProducer` in newer versions of GenTL specification.","severity":"deprecated","affected_versions":">=1.5.0"},{"fix":"Place the producer .cti file in the same directory as your script or add its folder to PATH.","message":"On Windows, the GenTL producer DLL (e.g., `gev_tl.cti`) must be in the system PATH or current working directory, otherwise `LoadLibrary` fails silently.","severity":"gotcha","affected_versions":"all"},{"fix":"Use Python 3.11 or earlier. Alternatively, check for updates or use a virtual environment with Python 3.11.","message":"The `genicam` package does not support Python 3.12+ due to use of deprecated C API functions. Users report import errors with Python 3.12.","severity":"gotcha","affected_versions":">=1.5.0"}],"env_vars":null,"search_vec":"'1.5.1':27 'acquisit':19 'bind':3,6 'camera':15,33 'communiti':31 'compliant':23 'control':16 'current':25 'devic':24 'enabl':14 'genapi':10,37 'genicam':1,9,22,30,32 'genicam-compli':21 'gentl':12,38 'imag':18 'machin':35 'machine-vis':34 'maintain':28 'offici':4 'produc':13 'python':2,5 'version':26 'vision':36","created_at":"2026-06-07T12:52:56.334579+00:00","updated_at":"2026-06-07T12:52:56.334579+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.emva.org","github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}