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.


Christoph Gohlke


BSD 3-Clause






  • Update metadata.


  • Remove support for Python 3.6 (NEP 29).


  • Remove support for Python 2.7 and 3.5.


“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.


  1. Lumenera Corporation

  2. Lumenera USB Camera API Reference Manual Release 5.0. Lumenera Corporation.


>>> 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 py3

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