generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
supervision-0.23.0
release
#1486
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.3 to 0.5.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.5.3...0.5.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.0. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.10.1...v1.11) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.2.2...8.3.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
⬆️ Bump pytest from 8.2.2 to 8.3.1
⬆️ Bump mypy from 1.10.1 to 1.11.0
⬆️ Bump ruff from 0.5.3 to 0.5.4
Merge branch 'text_color_param' of https://github.com/Bhavay-2001/roboflow-supervision into text_color_param
…oflow-supervision into text_color_param
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](astral-sh/ruff-pre-commit@v0.5.2...v0.5.4)
chore(pre_commit): ⬆ pre_commit autoupdate
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.29 to 9.5.30. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.5.29...9.5.30) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…t_position fix `VertexLabelAnnotator` text position within text box
…-9.5.30 ⬆️ Bump mkdocs-material from 9.5.29 to 9.5.30
Fix typo in RichLabelAnnotator docs
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
[IconAnnotator] - Add IconAnnotator to Mark Objects with Custom Icons/Images
Annotator types and docs: MyPy, consistent 'optional', small tidy-ups
docs: cookbook visual fix for cards and small ci doc dev changes
formatter: 🔧 improvements for pre-commit and ruff also apply minor mypy/pep fixes
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
fix: 🐞 poetry lock file
0.23.0 deprecations, changelog updates
Bumps [notebook](https://github.com/jupyter/notebook) from 7.2.1 to 7.2.2. - [Release notes](https://github.com/jupyter/notebook/releases) - [Changelog](https://github.com/jupyter/notebook/blob/@jupyter-notebook/tree@7.2.2/CHANGELOG.md) - [Commits](https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.2.1...@jupyter-notebook/tree@7.2.2) --- updated-dependencies: - dependency-name: notebook dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
⬆️ Bump notebook from 7.2.1 to 7.2.2
Core system for Metrics
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 Added
BackgroundOverlayAnnotator
annotates the background of your image! Add BackgroundColorAnnotator #1385pexels-squirrel-short-result-optim.mp4
(video by Pexels)
xyxy
boxes and masks. Over the next few releases,supervision
will focus on adding more metrics, allowing you to evaluate your model performance. We plan to support not just boxes, masks, but oriented bounding boxes as well! Core system for Metrics #1442Tip
Help in implementing metrics is very welcome! Keep an eye on our issue board if you'd like to contribute!
Here's a very basic way to compare model results:
📊 Example code
IconAnnotator
, which allows you to place icons on your images. [IconAnnotator] - Add IconAnnotator to Mark Objects with Custom Icons/Images #930example-icon-annotator-optim.mp4
(Video by Pexels, icons by Icons8)
from_sam
, we've added support tofrom_ultralytics
for loading the results if you ran it with Ultralytics. Update release_process.md #1354SAM2 with our annotators:
pexels_cheetah-result-optim-halfsized.mp4
TriangleAnnotator
andDotAnnotator
contour color customization [TriangleAnnotator, DotAnnotator] - allow customization of the contour color #1403 #1458VertexLabelAnnotator
for keypoints now hastext_color
parameter Added text_color parameter for VertexLabelAnnotator #1409🌱 Changed
sv.Detections.from_transformers
to support thetransformers v5
functions. This includes theDetrImageProcessor
methodspost_process_object_detection
,post_process_panoptic_segmentation
,post_process_semantic_segmentation
, andpost_process_instance_segmentation
. Support for transformers v5 post_process functions #1386InferenceSlicer
now features anoverlap_ratio_wh
parameter, making it easier to compute slice sizes when handling overlapping slices. refactorInferenceSlicer
overlap logic #1434🛠️ Fixed
plot_image
now clearly states the size is in inches. specify that plot_image size is in inches #1424overlap_filter_strategy
inInferenceSlicer.__init__
is deprecated and will be removed insupervision-0.27.0
. Useoverlap_strategy
instead.overlap_ratio_wh
inInferenceSlicer.__init__
is deprecated and will be removed insupervision-0.27.0
. Useoverlap_wh
instead.❌ Removed
track_buffer
,track_thresh
, andmatch_thresh
parameters inByteTrack
are deprecated and were removed as ofsupervision-0.23.0
. Uselost_track_buffer,
track_activation_threshold
, andminimum_matching_threshold
instead.triggering_position
parameter insv.PolygonZone
was removed as ofsupervision-0.23.0
. Usetriggering_anchors
instead.🏆 Contributors
@shaddu, @onuralpszr (Onuralp SEZER), @Kadermiyanyedi (Kader Miyanyedi), @xaristeidou (Christoforos Aristeidou), @Gk-rohan (Rohan Gupta), @Bhavay-2001 (Bhavay Malhotra), @arthurcerveira (Arthur Cerveira), @J4BEZ (Ju Hoon Park), @venkatram-dev, @eric220, @capjamesg (James), @yeldarby (Brad Dwyer), @SkalskiP (Piotr Skalski), @LinasKo (LinasKo)