Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 671 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 671 Bytes

Trame Bounding Box Widget

This project expose a widget that let you draw bounding boxes and/or interact with them.

Usage example

The ./examples/ directory gather simple Python scripts using the widget and exposing them as standalone trame applications.

Virtual Environment setup

# Create and activate venv
python3.10 -m venv .venv
source .venv/bin/activate

# Install published package
pip install trame-bbox

Running examples

# Run the scripts
python ./examples/animation.py
python ./examples/edit.py
python ./examples/new_bbox.py

Dev setup

pip install pre-commit
pre-commit install

pre-commit run --all-files