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

Requirements

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.

Source Distribution

lucam-2021.6.6.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

lucam-2021.6.6-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file lucam-2021.6.6.tar.gz.

File metadata

  • Download URL: lucam-2021.6.6.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for lucam-2021.6.6.tar.gz
Algorithm Hash digest
SHA256 72ed99443d0bc74a61394010f4389347312a0f3002e01e37a211bd1f7893d2cb
MD5 792067d0e2d0cf6d50328c0e21bfd2bf
BLAKE2b-256 c87babab2c5a6b4a80c9cde3633f3b2ff1d5f9db7a812f9968b2a05340b4bc6d

See more details on using hashes here.

File details

Details for the file lucam-2021.6.6-py3-none-any.whl.

File metadata

  • Download URL: lucam-2021.6.6-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for lucam-2021.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a09d70c21b241308ab0b35070167c6803a3f413a6c4aca4ee1e572164f7d85bd
MD5 83b0da615b283e9da61aa08292666575
BLAKE2b-256 a6fb3eba3fb48a60e095e701caf9eee1da24f464d11c6ecbfac7855d24384c99

See more details on using hashes here.

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