Skip to main content

Lumenera(r) USB Camera Interface

Project description

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
Organization:Laboratory for Fluorescence Dynamics. University of California, Irvine
License:BSD 3-Clause
Version:2021.6.6

Revisions

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for lucam, version 2021.6.6
Filename, size File type Python version Upload date Hashes
Filename, size lucam-2021.6.6.tar.gz (27.5 kB) File type Source Python version None Upload date Hashes View
Filename, size lucam-2021.6.6-py3-none-any.whl (27.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page