Metadata-Version: 2.4
Name: pylucam
Version: 1.0.2
Summary: Python wrapper for Lumenera Lucam API
Author-email: Jacob Gobbo <gobbo.jacob@gmail.com>
License-Expression: GPL-3.0-only
Project-URL: Repository, https://github.com/jgobbo/pylucam
Keywords: python,lucam,lumenera,camera,api,driver
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cffi>=1.17.1
Requires-Dist: numpy>=2.2.5
Requires-Dist: opencv-python>=4.11.0.86
Dynamic: license-file

# PyLucam

PyLucam is a python wrapper for the Lumenera Lucam API

Some functionality (especially errors) was copied from https://github.com/cgohlke/lucam. Only the minimum required functionality was defined in python, but additions are easy since the full library is defined in the provided header. It was tested with an Lt-C1900 camera.

## Installation

It is easiest to install with pip: `pip install pylucam`

You can also install with [uv](https://docs.astral.sh/uv/) by cloning the repo and using `uv sync`.


## Usage

Using the package should be straightforward.

```python
camera = LucamCamera()
camera.enable_fast_frames()
frame = camera.take_fast_frame_rgb()
```

If you have more than one camera, you can specify the id of the camera while initializing, `LucamCamera(CAMERA_ID)`.
