[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scale_boxes function to detection utils #651

Merged
merged 5 commits into from
Dec 6, 2023

Conversation

SkalskiP
Copy link
Collaborator
@SkalskiP SkalskiP commented Dec 6, 2023

Description

Added a new function scale_boxes to the detection utilities to scale the dimensions of bounding boxes. This function accepts bounding boxes and a scaling factor as input and returns the scaled bounding boxes. It can enlarge or shrink the input bounding boxes based on the value of the passed factor. The function was also documented in the utils.md file and necessary tests were added to assure its correctness.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Docs

  • Docs updated? What were the changes:

SkalskiP and others added 5 commits December 6, 2023 12:16
Added a new function scale_boxes to the detection utilities in order to scale the dimensions of bounding boxes. This function accepts bounding boxes and a scaling factor as input and returns the scaled bounding boxes. It can enlarge or shrink the input bounding boxes based on the value of the passed factor. The function was also documented in the utils.md file and necessary tests were added to assure its correctness.
…s`, to the detection utilities in the `supervision` package.
@SkalskiP SkalskiP self-assigned this Dec 6, 2023
@SkalskiP SkalskiP added enhancement New feature or request version: 0.17.0 Feature to be added in `0.17.0` release labels Dec 6, 2023
@SkalskiP SkalskiP merged commit a8c1431 into develop Dec 6, 2023
6 checks passed
@SkalskiP SkalskiP deleted the feature/scale_boxes_utility branch January 2, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request version: 0.17.0 Feature to be added in `0.17.0` release
Projects
Status: Current Release: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant