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

License:

BSD 3-Clause

Version:

2022.9.27

Requirements

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.

Project details


Download files

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

Source Distribution

lucam-2022.9.27.tar.gz (27.5 kB view hashes)

Uploaded Source

Built Distribution

lucam-2022.9.27-py3-none-any.whl (27.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page