Closed vaibhavtrip29 closed 5 months ago
The recent updates enhance the sleap
application's user interface by introducing functionality for managing instance groups. Key changes include the addition of the InstanceGroupDock
, methods to update the instance group model, and the get_instance_group_color
method for color management. These improvements provide a more organized and visually distinct way to handle instance groups within the application.
File(s) | Change Summary |
---|---|
sleap/gui/app.py |
Introduced InstanceGroupDock , updated instance group model, and enhanced UI handling of instance groups. |
sleap/gui/color.py |
Added get_instance_group_color method to determine colors for instance groups. |
sleap/gui/dataviews.py |
Added classes for handling sessions, cameras, and instance groups data models. |
sequenceDiagram
participant User
participant App
participant InstanceGroupDock
participant ColorManager
participant DataViews
User->>App: Open Application
App->>InstanceGroupDock: Initialize with videos_dock
App->>App: Call _update_instance_group_model
App->>DataViews: Fetch instance groups for current frame
DataViews-->>App: Return instance groups
App->>InstanceGroupDock: Update model with instance groups
App->>ColorManager: Get color for instance group
ColorManager-->>App: Return (r, g, b) color
App->>User: Display updated instance groups with colors
In the world of
sleap
, where data flows, New docks and colors, the interface grows. Instance groups gather, in vibrant hue, Models updated, just for you. Cameras and sessions, all in sync, With every change, a smoother link.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Created an instance group dock for multiview. Stores data about the different instance groups in a frame which includes instance group name, number of instances, and number of cameras in each group.
Types of changes
Does this address any currently open issues?
[list open issues here]
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart: