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 (when published)

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

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

Support

For issues related to:

  • This package: Open an issue on GitHub
  • ArenaSDK: Contact Lucid Vision Labs support
  • Camera hardware: Refer to your camera's documentation

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.0.tar.gz (13.2 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.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arena_cam_config-0.1.0.tar.gz
  • Upload date:
  • Size: 13.2 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.0.tar.gz
Algorithm Hash digest
SHA256 197ce0ec7982137046a498d56e79017751c6a82cc3477f2c25a0b73529afecfa
MD5 1569394a7641e2b5a49a89ac552cbccd
BLAKE2b-256 204342403ec5bfb5c40c49f301408b42a366a427486895e3ff20f6af309dc4d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arena_cam_config-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5573c2dd41bcf5540e091059d7e181709978ea73758172ea2398e242a5b9e945
MD5 396f4b523312554667fe3e4ed7ad8635
BLAKE2b-256 e83f508921879ea45a2ab80707987dea2d917e304ede2875203039a68bffa476

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