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.25.0
release
#1655
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
Merge main into develop after 0.24.0 release
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.8 to 0.6.9. - [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.6.8...0.6.9) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [build](https://github.com/pypa/build) from 1.2.2 to 1.2.2.post1. - [Release notes](https://github.com/pypa/build/releases) - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst) - [Commits](pypa/build@1.2.2...1.2.2.post1) --- updated-dependencies: - dependency-name: build dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
⬆️ Bump ruff from 0.6.8 to 0.6.9
⬆️ Bump build from 1.2.2 to 1.2.2.post1
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9](astral-sh/ruff-pre-commit@v0.6.8...v0.6.9)
chore(pre_commit): ⬆ pre_commit autoupdate
Fix division to avoid cases where 1.01 mAP is possible. Discovered in: https://colab.research.google.com/drive/10EaQ4lJNXzcmub7doO2vGn2t1LgDdkcC?usp=sharing
Minor fix: mAP can be 1.01
Signed-off-by: Onuralp SEZER <[email protected]>
* Vectorized * Using forces rather than discrete steps * Move along secondary axis more
…ays for passing data
Bumps [wheel](https://github.com/pypa/wheel) from 0.44.0 to 0.45.0. - [Release notes](https://github.com/pypa/wheel/releases) - [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst) - [Commits](pypa/wheel@0.44.0...0.45.0) --- updated-dependencies: - dependency-name: wheel dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.2 to 0.7.3. - [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.7.2...0.7.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
… to 'smart_position'
…elf.smart_position:`
⬆️ Bump ruff from 0.7.2 to 0.7.3
⬆️ Bump wheel from 0.44.0 to 0.45.0
updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3)
chore(pre_commit): ⬆ pre_commit autoupdate
Added smart positioning (non overlapping labels) to VertexLabelAnnotator
Address 0.25.0 release PR comments
Feat/changelog 0.25.0
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.
Supervision 0.25.0 is here! Featuring a more robust
LineZone
crossing counter, support for tracking KeyPoints, Python 3.13 compatibility, and 3 new metrics: Precision, Recall and Mean Average Recall. The update also includes smart label positioning, improved Oriented Bounding Box support, and refined error handling. Thank you to all contributors - especially those who answered the call of Hacktoberfest!Changelog
🚀 Added
LineZone
: when computing line crossings, detections that jitter might be counted twice (or more!). This can now be solved with theminimum_crossing_threshold
argument. If you set it to2
or more, extra frames will be used to confirm the crossing, improving the accuracy significantly. (#1540)hb-final.mp4
KeyPoints
. See the complete step-by-step guide in the Object Tracking Guide. (#1658)track-keypoints-with-smoothing.mp4
See the guide for the full code used to make the video
Added
is_empty
method toKeyPoints
to check if there are any keypoints in the object. (#1658)Added
as_detections
method toKeyPoints
that convertsKeyPoints
toDetections
. (#1658)Added a new video to
supervision[assets]
. (#1657)Python 3.13
. The most renowned update is the ability to run Python without Global Interpreter Lock (GIL). We expect support for this among our dependencies to be inconsistent, but if you do attempt it - let us know the results! (#1595)Mean Average Recall
mAR metric, which returns a recall score, averaged over IoU thresholds, detected object classes, and limits imposed on maximum considered detections. (#1661)Precision
andRecall
metrics, providing a baseline for comparing model outputs to ground truth or another model (#1609)smart_position
is set forLabelAnnotator
,RichLabelAnnotator
orVertexLabelAnnotator
, the labels will move around to avoid overlapping others. (#1625)fish-z.mp4
metadata
variable toDetections
. It allows you to store custom data per-image, rather than per-detected-object as was possible withdata
variable. For example,metadata
could be used to store the source video path, camera model or camera parameters. (#1589)py.typed
type hints metafile. It should provide a stronger signal to type annotators and IDEs that type support is available. (#1586)🌱 Changed
ByteTrack
no longer requiresdetections
to have aclass_id
(#1637)draw_line
,draw_rectangle
,draw_filled_rectangle
,draw_polygon
,draw_filled_polygon
andPolygonZoneAnnotator
now comes with a default color (#1591)🔧 Fixed
ByteTrack
, removing shared variables. Previously, multiple instances ofByteTrack
would share some date, requiring liberal use oftracker.reset()
. (#1603), (#1528)class_agnostic
setting inMeanAveragePrecision
would not work. (#1577) hacktoberfest✅ No removals or deprecations this time!
⚙️ Internal Changes
ByteTrack
(#1603)BaseTrack
classRichLabelAnnotator
, matching its contents withLabelAnnotator
. (#1625)🏆 Contributors
@onuralpszr (Onuralp SEZER), @kshitijaucharmal (KshitijAucharmal), @grzegorz-roboflow (Grzegorz Klimaszewski), @Kadermiyanyedi (Kader Miyanyedi), @PrakharJain1509 (Prakhar Jain), @DivyaVijay1234 (Divya Vijay), @souhhmm (Soham Kalburgi), @joaomarcoscrs (João Marcos Cardoso Ramos da Silva), @AHuzail (Ahmad Huzail Khan), @DemyCode (DemyCode), @ablazejuk (Andrey Blazejuk)
A special thanks goes out to everyone who joined us for Hacktoberfest! We hope it was a rewarding experience and look forward to seeing you continue contributing and growing with our community. Keep building, keep innovating—your efforts make a difference! 🚀