Skip to main content

Camera Configuration GUI using Textual for ArenaSDK cameras

Project description

Arena Camera Configuration GUI

There was no easy way to edit nodemaps for Lucid cameras on Linux, so here's a terminal-based GUI for configuring Lucid camera node trees using Textual.

Installation

From PyPI

pip install arena-cam-config

From Source

git clone https://github.com/laurence-diack-pk/arena-cam-config.git
cd arena-cam-config
pip install -e .

Prerequisites

  1. ArenaSDK: You MUST have Lucid Vision Labs ArenaSDK installed on your system

  2. Python 3.8+: This package requires Python 3.8 or later

Usage

Command Line

After installation, you can run the application directly:

arena-cam-config

Controls

  • Tab: Switch between different nodemaps (Device, TL Device, etc.)
  • Enter: Edit the selected parameter or execute a command
  • Arrow Keys: Navigate through the tree
  • Mouse: You can use this too
  • q: Quit the application
  • r: Refresh the current tree
  • d: Disconnect and return to connection screen

Parameter Types

The application handles various camera parameter types:

  • Integers: Numeric values with min/max validation
  • Floats: Decimal values with range checking
  • Booleans: True/False values with radio button selection
  • Enums: Predefined options with radio button selection
  • Strings: Text input with validation
  • Commands: Executable camera functions

Device Selection

When multiple cameras are connected, the application will display a device selection dialog showing:

  • Camera family and model name
  • IP address

Nodemaps

Switch between different camera nodemaps:

  1. Device: Main camera parameters (exposure, gain, etc.)
  2. TL Device: Transport layer device parameters
  3. TL Stream: Streaming parameters
  4. TL Interface: Interface-specific parameters
  5. TL System: System-level parameters

Development

Setting up Development Environment

git clone https://github.com/yourusername/arena-cam-config.git
cd arena-cam-config
pip install -e ".[dev]"

Requirements

  • Python 3.8+
  • textual >= 0.41.0
  • arena-api >= 2.0.0

Contributing

I built this to accomplish my specific needs. If it doesn't do something you want it to, feel free to be the change you want to see in the world :)

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

TODO

  • Some kind of OpenCV image capture / preview perhaps???

Acknowledgments

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

arena_cam_config-0.1.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arena_cam_config-0.1.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file arena_cam_config-0.1.2.tar.gz.

File metadata

  • Download URL: arena_cam_config-0.1.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for arena_cam_config-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5913144c7a5cdfcabe8b9d24fbd2f756d89fb95c55e3659de5dc1244190f6537
MD5 21897e11eee9aa4077257c31c5a52369
BLAKE2b-256 a2910d071ec9413a668577abd8d4b8d1201db5ff4361b10194cce7c089797a9c

See more details on using hashes here.

File details

Details for the file arena_cam_config-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for arena_cam_config-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c3dcf1e25079a0ec76efbb369d8be54b3968d1c15950eb3d4dd6f0b61ebccae
MD5 5f8bedd7aac96fd08bf150cbb193207c
BLAKE2b-256 41e7a5f2766f700be06e8d487ece0fb2d585d6af236dcf74aa842e00fb1b0f85

See more details on using hashes here.

Supported by

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