{ "info": { "author": "The GenICam Committee", "author_email": "genicam@list.stemmer-imaging.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: Other/Proprietary License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3" ], "description": "The `genicam` module is the official Python binding of GenICam that is developed and maintained by the GenICam committee.\n\n.. figure:: https://user-images.githubusercontent.com/8652625/44912527-715ca800-ad65-11e8-9a33-9a88d5411340.png\n :alt: GenICam\n\n########################\nAbout the genicam module\n########################\n\nThe `genicam` module consists of two sub-modules. The one is `genapi` and the other is `gentl`. The `genapi` module gives you a way to control GenICam features of the target device supports. On the other hand, the `gentl` module gives you a way to control functionality that the target GenTL Producer supports.\n\n#############\nAnnouncements\n#############\n\n- **Version 1.0.0**: The initial release.\n\n########################\nUsing the genicam module\n########################\n\n*****************\nThe genapi module\n*****************\n\nIn this section, you will learn how to use the `genapi` module.\n\n==========================\nCreating a node map object\n==========================\n\nFirst, you create a node map object instantiating the `NodeMap` class:\n\n.. code-block:: python\n\n from genicam.genapi import NodeMap\n\n node_map = NodeMap()\n\nAnd then, load a device description file on the node map object. The `NodeMap` object supports several ways to make it. One is to load the file content as a `str` object:\n\n.. code-block:: python\n\n file_content = 'blabla'\n node_map.load_xml_from_string(file_content)\n\nAnother way is to load the file as an XML file:\n\n.. code-block:: python\n\n file = an_xml_file\n node_map.load_xml_from_file(file)\n\nThe other ways is to load the file as a Zip file:\n\n.. code-block:: python\n\n file = a_zip_file\n node_map.load_xml_from_zip_file(file)\n\n========================\nChanging a feature value\n========================\n\nOnce you loaded a device description file on a node map object, you would start to control GenICam feature nodes to control the target device. Now assume that we are going to control a GenICam feature node called `Foo`. To get the value of `Foo`, we code as follows:\n\n.. code-block:: python\n\n a = node_map.Foo.value\n\nOn the other hand, if `Foo` is an Integer node then we code as follows to set a value:\n\n.. code-block:: python\n\n node_map.Foo.value = 42\n\nIf `Foo` is a Boolean node, then you code as follows:\n\n.. code-block:: python\n\n node_map.Foo.value = True\n\nOr if `Foo` is an Enumeration node, then you code as follows; it also works for a case where `Foo` is a String node:\n\n.. code-block:: python\n\n node_map.Foo.value = 'Bar'\n\nIf `Foo` is a Command node, then you can execute the command with the following code:\n\n.. code-block:: python\n\n node_map.Foo.execute()\n\n\n****************\nThe gentl module\n****************\n\nIn this section, you will learn how to use the `gentl` module.\n\n[TO BE DOCUMENTED]\n\n#####\nLinks\n#####\n\n*********\nHarvester\n*********\n\nThere is a sister project of the GenICam Python binding. It's called Harvester and is a reference implementation of the GenICam Python binding. Harvester gives you an intuitive way for image acquisition to make your life easier.\n\nHarvester is distributed under the Apache version 2 license so you can use it for free; however, note that GenICam applies for another license. The source code can be found at `GitHub `_.\n\nIn addition, Haveseter is also uploaded to PyPi repository so You can install that executing the following pip command:\n\n.. code-block:: shell\n\n $ pip install harvesters\n\n****\nEMVA\n****\n\nIn `the EMVA website `_, you can get useful resources to learn and use GenICam standards and its compliant devices and software:\n\nIt would be worth knowing the following keywords: *GenApi*, *GenTL*, *SFNC*, *GenTL SFNC*, *CLProtocol*, *PFNC*, and *GenCP*.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "https://pypi.org/project/genicam/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.emva.org", "keywords": "", "license": "The GenICam License Version 1.6", "maintainer": "", "maintainer_email": "", "name": "genicam", "package_url": "https://pypi.org/project/genicam/", "platform": "", "project_url": "https://pypi.org/project/genicam/", "project_urls": { "Download": "https://pypi.org/project/genicam/", "Homepage": "https://www.emva.org" }, "release_url": "https://pypi.org/project/genicam/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "The official Python Binding for the GenICam GenApi & the GenTL Producers", "version": "0.0.1" }, "last_serial": 5889219, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "af202d7b4e1785c88641ef03b7a916e2", "sha256": "aef769c350e3780055b02d3d4328daa3e314bccdccc19a0dd319488cbc2e701b" }, "downloads": -1, "filename": "genicam-0.0.0-cp34-cp34m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "af202d7b4e1785c88641ef03b7a916e2", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 2251669, "upload_time": "2019-09-26T08:09:04", "url": "https://files.pythonhosted.org/packages/14/0f/8b0c1a8917401d0a8e5b86ffdf438451a8fdbe2936358dcec34f74c01b8e/genicam-0.0.0-cp34-cp34m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "2ab420bc844cb13c407eacd0fcbe6ca4", "sha256": "c9689c77bdb1457d427875b00b6cb7e85a46d77992fa92cacf9cad2b543e85cb" }, "downloads": -1, "filename": "genicam-0.0.0-cp35-cp35m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "2ab420bc844cb13c407eacd0fcbe6ca4", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 2251663, "upload_time": "2019-09-26T08:09:10", "url": "https://files.pythonhosted.org/packages/22/bc/148cfdb6f6f584ffffbc9df9e20daabc3592ae709f806f439bb1bc1d83a4/genicam-0.0.0-cp35-cp35m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4f96223b4dbb9f4a38ecc60585ddb06a", "sha256": "665031446f2a7bc9983f463ba0b4ea5d55faa0fd0cf97934f3bc3c5928fa82ba" }, "downloads": -1, "filename": "genicam-0.0.0-cp36-cp36m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "4f96223b4dbb9f4a38ecc60585ddb06a", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 2251664, "upload_time": "2019-09-26T08:09:14", "url": "https://files.pythonhosted.org/packages/fa/a0/a45dd4f0202f282758226f4a5a5cf8740c064a41e9faf3e0ecb1af8bce24/genicam-0.0.0-cp36-cp36m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "8f08c895d0597b38b436cea6e8d31eb2", "sha256": "ac299026c36a028359c3130619d9d6f3fdb6799d46fdac3564eb5a10f25648de" }, "downloads": -1, "filename": "genicam-0.0.0-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "8f08c895d0597b38b436cea6e8d31eb2", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 2251662, "upload_time": "2019-09-26T08:09:18", "url": "https://files.pythonhosted.org/packages/48/7b/88c713af9c85bad05bf4f8d9404bdc7f4f2f5054d29ff9486ca8831098b9/genicam-0.0.0-cp37-cp37m-macosx_10_14_x86_64.whl" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "50d8cf9e4d5398c90cd18076eda1d0ca", "sha256": "3150ed103c609ef9b0359688638642ad7f78ce5f91d6863748a4bb0bc3417ff7" }, "downloads": -1, "filename": "genicam-0.0.1-cp34-cp34m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "50d8cf9e4d5398c90cd18076eda1d0ca", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 2251689, "upload_time": "2019-09-26T08:20:31", "url": "https://files.pythonhosted.org/packages/1c/48/2f57a447edeac63e989b2b7202ea5ce3b54179dc0021a1142c86076cf4e6/genicam-0.0.1-cp34-cp34m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d20fc55e115a849aa7b887ba522757df", "sha256": "98496a1ffbe3cf82034a228f686680fb86da7f3d4b094109a0c03fded37c0090" }, "downloads": -1, "filename": "genicam-0.0.1-cp35-cp35m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "d20fc55e115a849aa7b887ba522757df", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 2251682, "upload_time": "2019-09-26T08:20:37", "url": "https://files.pythonhosted.org/packages/bd/7b/7a34a0ee183dbc9b51d9c55b4f8af7790fa09c0636b45849eaf49d11a8c9/genicam-0.0.1-cp35-cp35m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f86c95c67d3f84685ce210b8ade8569f", "sha256": "e529c0c85e71df713f842cfdbba7129070ba75faaf3877e6bb79b22b1faec371" }, "downloads": -1, "filename": "genicam-0.0.1-cp36-cp36m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "f86c95c67d3f84685ce210b8ade8569f", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 2251684, "upload_time": "2019-09-26T08:20:42", "url": "https://files.pythonhosted.org/packages/c7/fd/f3d3d7218b76a8d27bbd5c68f138d5e1c1d19b9173936b618703d3c6f4fb/genicam-0.0.1-cp36-cp36m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f425c49641ba42b0fefcbecce9586d09", "sha256": "a1094e2ea2e9f1a3a41ac1274be478e89ccdd2428a906d9ccf181090a8488c71" }, "downloads": -1, "filename": "genicam-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "f425c49641ba42b0fefcbecce9586d09", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 2251684, "upload_time": "2019-09-26T08:20:46", "url": "https://files.pythonhosted.org/packages/48/9a/759992418cb10809b8d8973632d94ebebc8e3f3253e939e78fd1579ab250/genicam-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "50d8cf9e4d5398c90cd18076eda1d0ca", "sha256": "3150ed103c609ef9b0359688638642ad7f78ce5f91d6863748a4bb0bc3417ff7" }, "downloads": -1, "filename": "genicam-0.0.1-cp34-cp34m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "50d8cf9e4d5398c90cd18076eda1d0ca", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, "size": 2251689, "upload_time": "2019-09-26T08:20:31", "url": "https://files.pythonhosted.org/packages/1c/48/2f57a447edeac63e989b2b7202ea5ce3b54179dc0021a1142c86076cf4e6/genicam-0.0.1-cp34-cp34m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d20fc55e115a849aa7b887ba522757df", "sha256": "98496a1ffbe3cf82034a228f686680fb86da7f3d4b094109a0c03fded37c0090" }, "downloads": -1, "filename": "genicam-0.0.1-cp35-cp35m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "d20fc55e115a849aa7b887ba522757df", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 2251682, "upload_time": "2019-09-26T08:20:37", "url": "https://files.pythonhosted.org/packages/bd/7b/7a34a0ee183dbc9b51d9c55b4f8af7790fa09c0636b45849eaf49d11a8c9/genicam-0.0.1-cp35-cp35m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f86c95c67d3f84685ce210b8ade8569f", "sha256": "e529c0c85e71df713f842cfdbba7129070ba75faaf3877e6bb79b22b1faec371" }, "downloads": -1, "filename": "genicam-0.0.1-cp36-cp36m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "f86c95c67d3f84685ce210b8ade8569f", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 2251684, "upload_time": "2019-09-26T08:20:42", "url": "https://files.pythonhosted.org/packages/c7/fd/f3d3d7218b76a8d27bbd5c68f138d5e1c1d19b9173936b618703d3c6f4fb/genicam-0.0.1-cp36-cp36m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f425c49641ba42b0fefcbecce9586d09", "sha256": "a1094e2ea2e9f1a3a41ac1274be478e89ccdd2428a906d9ccf181090a8488c71" }, "downloads": -1, "filename": "genicam-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "f425c49641ba42b0fefcbecce9586d09", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 2251684, "upload_time": "2019-09-26T08:20:46", "url": "https://files.pythonhosted.org/packages/48/9a/759992418cb10809b8d8973632d94ebebc8e3f3253e939e78fd1579ab250/genicam-0.0.1-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }