Skip to content

Conversation

@dtronmans
Copy link
Contributor

Purpose

Add a "scale" argument to visualizers that can be used to scale the canvas and the annotations accordingly with a given float factor. Needed before the keypoint indices feture.

Specification

Some annotations scale automatically with the canvas, and for some others (like instance and semantic segmentation masks) the masks have to be scaled independently. The embeddings visualizer does not use the canvas, so it was skipped, and the FOMOVisualizer relies on the boundingbox visualizer which

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

Tiger keypoints and bounding boxes with a scale factor of 1.0:
keypoints_lower_font_scale

Tiger keypoints and bounding boxes with a scale factor of 2.0:
keypoints_higher_font_scale

Classification visualizer with a scale factor of 5.0 (initial dimension was 192x192):
classification_higher_font_scale

Segmentation visualizer with a scale factor of 2.0 (initial dimension was 192x192):
semantic_segmentation

@dtronmans dtronmans requested a review from a team as a code owner November 14, 2025 13:00
@dtronmans dtronmans requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team November 14, 2025 13:00
@github-actions github-actions bot added the enhancement New feature or request label Nov 14, 2025
Copy link
Collaborator

@klemen1999 klemen1999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also add these new parameters to the README

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants