Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cgohlke/lucam

Lumenera(r) USB camera interface
https://github.com/cgohlke/lucam

camera-control image python

Last synced: 3 months ago
JSON representation

Lumenera(r) USB camera interface

Awesome Lists containing this project

README

        

Lumenera(r) USB Camera Interface
================================

Lucam is a Python library that provides two interfaces to the Lumenera(r)
LuCam API:

* **API**, a low level ctypes interface to the lucamapi.dll version 5,
exposing the definitions/declarations found in the lucam.h C header.

* **Lucam**, a high level object interface wrapping most of the ctypes
interface, featuring exception based error handling and numpy.array type
images.

:Author: `Christoph Gohlke `_
:License: BSD 3-Clause
:Version: 2022.9.27

Requirements
------------

- `CPython >= 3.7 `_
- `Numpy 1.15 `_
- `Lumenera USB camera and drivers 5.0 `_

Revisions
---------

2022.9.27

- Update metadata.

2021.6.6

- Remove support for Python 3.6 (NEP 29).

2020.1.1

- Remove support for Python 2.7 and 3.5.

Notes
-----

"Lumenera" is a registered trademark of Lumenera Corporation (1).

Lucam is no longer being actively developed.

Lucam has been tested with the Lu165M monochrome camera on Windows only.

Some LuCam API functions are not available in the Lucam wrapper due to
lack of documentation or hardware for testing.

Naming of functions, methods, and constants that have an equivalent in
the LuCam API follows the LuCam API conventions, else PEP8 is followed.

References
----------

1. `Lumenera Corporation `_
2. Lumenera USB Camera API Reference Manual Release 5.0. Lumenera Corporation.

Examples
--------

>>> from lucam import Lucam
>>> camera = Lucam()
>>> image = camera.TakeSnapshot()
>>> camera.SaveImage(image, 'test.tif')
>>> camera.CameraClose()

Refer to the test() function at the end of the module for more examples.