[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

supervision-0.19.0 release #991

Merged
merged 437 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
a015fc1
Fix object detection conflicts
NickHerrig Feb 8, 2024
3dd3781
Add hackfest baner to README.md
SkalskiP Feb 8, 2024
1ac497a
Finished bounding box annotation cookbook
NickHerrig Feb 8, 2024
efd06ac
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 8, 2024
95d28fa
Merge branch 'roboflow:develop' into feat/cookbooks
NickHerrig Feb 8, 2024
0b7b8bb
Move assets cookbook to docs, Update theme/cookbooks
NickHerrig Feb 8, 2024
48af413
move notebook inside the grid
SkalskiP Feb 8, 2024
e3adcbe
Move cookbooks to new webpage and configure html file
NickHerrig Feb 8, 2024
f1a2b99
ready for review
SkalskiP Feb 8, 2024
ce70266
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 8, 2024
fb7dd6a
Merge pull request #865 from roboflow/cookbooks/html-optimization-and…
SkalskiP Feb 8, 2024
7b4cf2f
Reviewed supervision assets cookbook and renamed
NickHerrig Feb 9, 2024
d0f3144
:arrow_up: Bump ipywidgets from 8.1.1 to 8.1.2
dependabot[bot] Feb 9, 2024
5bd30f4
:arrow_up: Bump nbconvert from 7.14.2 to 7.16.0
dependabot[bot] Feb 9, 2024
f340c49
Update bounding box cookbook name, Fix grammar and spelling
NickHerrig Feb 9, 2024
aacdbe7
Add html entries for cookbooks, add tracking cookbook
NickHerrig Feb 9, 2024
607d94d
Merge branch 'develop' into feat/cookbooks
NickHerrig Feb 9, 2024
019c41b
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 9, 2024
cb22b94
Merge pull request #866 from roboflow/dependabot/pip/ipywidgets-8.1.2
onuralpszr Feb 9, 2024
0950f90
Merge pull request #867 from roboflow/dependabot/pip/nbconvert-7.16.0
onuralpszr Feb 9, 2024
36a825b
author styling improvements
SkalskiP Feb 9, 2024
03f7001
cookbooks-card.js refactor
SkalskiP Feb 9, 2024
85f09e3
same label have same color across multiple cards; fixed small bug wit…
SkalskiP Feb 9, 2024
b7070ae
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 9, 2024
5b2bdf5
Merge pull request #868 from roboflow/cookbooks/cards-improvements
SkalskiP Feb 9, 2024
9ca7d3e
Finish and fix grammar of tracking cookbook
NickHerrig Feb 9, 2024
122ca82
Update cookbooks html to match new format -> no desc, cap tags
NickHerrig Feb 9, 2024
008dbcb
Merge branch 'develop' into feat/cookbooks
NickHerrig Feb 9, 2024
57c7109
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 9, 2024
84b54d3
Add colab notebook button, test in notebooks
NickHerrig Feb 9, 2024
6cf9ece
initial changes for count objects crossing the line cookbook
SkalskiP Feb 9, 2024
115d449
changing colab names, card names, and card labels
SkalskiP Feb 9, 2024
8529a3e
Merge pull request #861 from NickHerrig/feat/cookbooks
SkalskiP Feb 9, 2024
569157f
Merge remote-tracking branch 'origin/develop' into cookbooks/count-ob…
SkalskiP Feb 9, 2024
9d71636
cleaning up Nick's cookbooks
SkalskiP Feb 9, 2024
01e7330
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 9, 2024
11197f8
bump version from `0.19.0rc2` to `0.19.0rc3`
SkalskiP Feb 9, 2024
0d312f3
docs: πŸ“ h1 title Home removed from index.md
onuralpszr Feb 9, 2024
69213b1
up
SkalskiP Feb 9, 2024
d858433
Merge remote-tracking branch 'origin/cookbooks/count-objects-crossing…
SkalskiP Feb 9, 2024
78d6890
Merge pull request #869 from roboflow/cookbooks/count-objects-crossin…
SkalskiP Feb 9, 2024
2ea2231
ready
SkalskiP Feb 9, 2024
b6dc988
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 9, 2024
2f9fee6
Merge pull request #872 from roboflow/cookbooks/count-pople-crossing-…
SkalskiP Feb 9, 2024
c2dd503
Decorators around annotate functions, convert PIL images to np.ndarra…
Feb 10, 2024
c8f7622
Remove ImgType docstring
Feb 10, 2024
0f2a18e
:arrow_up: Bump mkdocs-material from 9.5.8 to 9.5.9
dependabot[bot] Feb 12, 2024
ac53125
:arrow_up: Bump notebook from 7.0.7 to 7.0.8
dependabot[bot] Feb 12, 2024
48500cd
:arrow_up: Bump twine from 4.0.2 to 5.0.0
dependabot[bot] Feb 12, 2024
cbd77b1
Merge pull request #880 from roboflow/dependabot/pip/twine-5.0.0
onuralpszr Feb 12, 2024
632d078
Merge pull request #878 from roboflow/dependabot/pip/notebook-7.0.8
onuralpszr Feb 12, 2024
fd2b3c4
Merge pull request #877 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Feb 12, 2024
c7e8534
:arrow_up: Bump tqdm from 4.66.1 to 4.66.2
dependabot[bot] Feb 12, 2024
2e898f1
Merge pull request #879 from roboflow/dependabot/pip/tqdm-4.66.2
onuralpszr Feb 12, 2024
ba81a09
`LineZone`, `LineZoneAnnotator` documentation improvements
SkalskiP Feb 12, 2024
1b07974
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 12, 2024
39b5563
Merge pull request #882 from roboflow/docs/line-zone-docs-improvement
SkalskiP Feb 12, 2024
5997c39
`Count People Crossing the Line` cookbook updates.
SkalskiP Feb 12, 2024
8ddfcdc
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 12, 2024
cebf726
Merge pull request #883 from roboflow/cookbooks/count-objects-crossin…
SkalskiP Feb 12, 2024
2863267
asdf
xaristeidou Feb 12, 2024
8ac3b5f
`CONTRIBUTING.md` updates.
SkalskiP Feb 12, 2024
94b0e9c
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 12, 2024
899be6a
Merge pull request #884 from roboflow/cookbooks/contributing-guidelines
SkalskiP Feb 12, 2024
c96022b
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Feb 12, 2024
dafa2a4
refactor(byte_tracker): change byte tracker class argument names to m…
Kadermiyanyedi Feb 12, 2024
e3f0ca6
Merge pull request #885 from roboflow/pre-commit-ci-update-config
onuralpszr Feb 12, 2024
d228224
completed if else statements for positioning
xaristeidou Feb 12, 2024
379d755
description of x,y pixel and trim method
xaristeidou Feb 12, 2024
9ca3c93
pre-commit spacing correction
xaristeidou Feb 12, 2024
2a9d425
Merge branch 'roboflow:develop' into develop
xaristeidou Feb 12, 2024
a697e71
ci: πŸ‘· ruff name rules updated
onuralpszr Feb 13, 2024
be2d75c
ci: πŸ‘· check-docstring-first removed
onuralpszr Feb 13, 2024
e1607b4
:arrow_up: Bump notebook from 7.0.8 to 7.1.0
dependabot[bot] Feb 14, 2024
0841824
Add Pillow dependency, add docsrings for ImageType
Feb 14, 2024
3f965c9
Remove check-docstring-first from pre-commit hook
Feb 14, 2024
20b412b
Docs fix: ImageType displayed on multiple lines
Feb 14, 2024
6b16970
Merge pull request #898 from roboflow/dependabot/pip/notebook-7.1.0
onuralpszr Feb 14, 2024
ba70779
docs(byte_tracker): improve byte track argument doc string descriptions
Kadermiyanyedi Feb 14, 2024
75bb070
fix(detection): add class name to detection data even if empty
Kadermiyanyedi Feb 14, 2024
95398c2
Merge pull request #901 from Kadermiyanyedi/add-class-name-to-detecti…
onuralpszr Feb 14, 2024
14771fa
Fix google colab link in object tracking cookbook
NickHerrig Feb 15, 2024
6ba9e70
Merge pull request #904 from NickHerrig/feature/fix-cookbook
onuralpszr Feb 15, 2024
f53e0d8
A new cookbook about alignment evaluation
iamhatesz Feb 15, 2024
4e635ee
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 15, 2024
15b099c
Add Support for Center Left,Right Text Position for LabelAnnotator (#…
sansyo Feb 15, 2024
6d2d0c0
fix: 🐞 cookbook z-index fix for author avatar
onuralpszr Feb 15, 2024
382b4e0
πŸ§‘β€πŸ³ Zero-Shot Object Detection with YOLO-World Cookbook
SkalskiP Feb 16, 2024
8625c72
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 16, 2024
df3f846
Merge pull request #911 from roboflow/cookbooks/zero-shot-object-dete…
SkalskiP Feb 16, 2024
1584712
Add occupancy analytics cookbook
stellasphere Feb 16, 2024
ebd86ee
Update occupancy_analytics.ipynb
stellasphere Feb 16, 2024
1c1a623
:arrow_up: Bump cryptography from 42.0.0 to 42.0.2
dependabot[bot] Feb 17, 2024
c1c528d
Merge pull request #914 from roboflow/dependabot/pip/cryptography-42.0.2
onuralpszr Feb 17, 2024
b80a88e
:arrow_up: Bump tox from 4.12.1 to 4.13.0
dependabot[bot] Feb 19, 2024
a21d54f
:arrow_up: Bump matplotlib from 3.7.4 to 3.7.5
dependabot[bot] Feb 19, 2024
97a986c
:arrow_up: Bump ruff from 0.2.1 to 0.2.2
dependabot[bot] Feb 19, 2024
0f36679
:arrow_up: Bump pytest from 8.0.0 to 8.0.1
dependabot[bot] Feb 19, 2024
6615c55
Merge pull request #870 from roboflow/docs/home-page
capjamesg Feb 19, 2024
cf3a954
Merge pull request #908 from roboflow/cookbooks/author-avatar-zindex
capjamesg Feb 19, 2024
ac7d36b
new cookbook z-index fix for author avatar
SkalskiP Feb 19, 2024
5ffb342
Merge pull request #922 from roboflow/cookbooks/style-update
SkalskiP Feb 19, 2024
59ba52f
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Feb 19, 2024
afacc19
:arrow_up: Bump mkdocs-material from 9.5.9 to 9.5.10
dependabot[bot] Feb 20, 2024
56a7f8a
Merge pull request #927 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Feb 20, 2024
34d73e8
Merge pull request #924 from roboflow/pre-commit-ci-update-config
onuralpszr Feb 20, 2024
88f0c68
Merge pull request #920 from roboflow/dependabot/pip/pytest-8.0.1
onuralpszr Feb 20, 2024
e34d274
Merge pull request #919 from roboflow/dependabot/pip/ruff-0.2.2
onuralpszr Feb 20, 2024
c328cf0
Merge pull request #918 from roboflow/dependabot/pip/matplotlib-3.7.5
onuralpszr Feb 20, 2024
56d3e8e
Merge pull request #917 from roboflow/dependabot/pip/tox-4.13.0
onuralpszr Feb 20, 2024
dd07502
:arrow_up: Bump nbconvert from 7.16.0 to 7.16.1
dependabot[bot] Feb 21, 2024
e9d0635
Add video display for supervision asset download example
NickHerrig Feb 21, 2024
a1d4cb8
Center html video, similar to count-object-crossing cookbook
NickHerrig Feb 21, 2024
4b2a9bf
:arrow_up: Bump cryptography from 42.0.2 to 42.0.4
dependabot[bot] Feb 21, 2024
69fadf0
Merge pull request #931 from roboflow/dependabot/pip/nbconvert-7.16.1
onuralpszr Feb 21, 2024
8599345
Merge pull request #934 from roboflow/dependabot/pip/cryptography-42.0.4
onuralpszr Feb 21, 2024
8383b44
Add visualizations to annotate with detections cookbook
NickHerrig Feb 22, 2024
59bfc68
Add visuals to object tracking cookbook
NickHerrig Feb 22, 2024
419c9e3
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 22, 2024
7d46c64
limit memory usage for mask_iou_batch
PacificDou Feb 22, 2024
a3a8fcb
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 22, 2024
b2e085d
Merge pull request #938 from roboflow/mask-iou-batch-memory-issue
PacificDou Feb 22, 2024
b0667ce
Remove tqdm bar so mkdocs builds
NickHerrig Feb 23, 2024
451e020
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 23, 2024
afcb779
Fix smoother removing tracking_id from detections
Feb 25, 2024
f866a11
Review fixes
iamhatesz Feb 25, 2024
ae6021a
Fix indent
iamhatesz Feb 25, 2024
5255a25
:arrow_up: Bump mkdocs-material from 9.5.10 to 9.5.11
dependabot[bot] Feb 26, 2024
d8396c1
:arrow_up: Bump mkdocs-git-committers-plugin-2 from 2.2.3 to 2.3.0
dependabot[bot] Feb 26, 2024
54a4a36
:arrow_up: Bump pytest from 8.0.1 to 8.0.2
dependabot[bot] Feb 26, 2024
fefd338
Fix formatting
Feb 26, 2024
86a309d
Merge pull request #947 from roboflow/dependabot/pip/pytest-8.0.2
onuralpszr Feb 26, 2024
02c1cb0
Merge pull request #945 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Feb 26, 2024
e5dfc4c
Merge pull request #946 from roboflow/dependabot/pip/mkdocs-git-commi…
onuralpszr Feb 26, 2024
4ee56be
Merge branch 'develop' into feature/annotators-accept-PIL-images
Feb 26, 2024
2e6e61b
Re-add Pillow
Feb 26, 2024
c523fc1
add multiple anchors support
LeviVasconcelos Feb 15, 2024
d638371
allow API backward compatibility
LeviVasconcelos Feb 15, 2024
e8ab777
add multiple anchors support: use np.all
LeviVasconcelos Feb 15, 2024
5bfd842
update documentation
LeviVasconcelos Feb 15, 2024
069f6f2
pre-commit reformatting
LeviVasconcelos Feb 15, 2024
7ebbcd6
add polygon_zone unit tests
LeviVasconcelos Feb 15, 2024
9b50c92
pre-commit on tests
LeviVasconcelos Feb 15, 2024
5e7463d
reviews: removing test for deprecation
LeviVasconcelos Feb 26, 2024
cb46751
reviews: use test_utils.mock_detections
LeviVasconcelos Feb 26, 2024
d4cee86
reviews: add custom message option to @deprecated_parameter; add docs…
LeviVasconcelos Feb 26, 2024
61adff2
review: fix @deprecated_parameter parameter names
LeviVasconcelos Feb 26, 2024
8b443d1
pre-commit
LeviVasconcelos Feb 26, 2024
a5bb5a6
:arrow_up: Bump notebook from 7.1.0 to 7.1.1
dependabot[bot] Feb 27, 2024
b6f67e6
Merge pull request #889 from roboflow/ruff/config-updates
capjamesg Feb 27, 2024
a9f0154
Merge pull request #949 from roboflow/dependabot/pip/notebook-7.1.1
onuralpszr Feb 27, 2024
fa65d5f
ci: πŸ‘· minimum pillow and poetry version adjusted for min ver
onuralpszr Feb 27, 2024
2ba70f6
Merge branch 'develop' into feature/annotators-accept-PIL-images
onuralpszr Feb 27, 2024
3f9f87f
:arrow_up: Bump mkdocstrings from 0.24.0 to 0.24.1
dependabot[bot] Feb 28, 2024
97c01aa
Merge pull request #951 from roboflow/dependabot/pip/mkdocstrings-0.24.1
onuralpszr Feb 28, 2024
49d4a4a
memory limit 5MB -> 5GB
PacificDou Feb 28, 2024
d9ccbda
change memory limit unit to MB
PacificDou Feb 28, 2024
c039a90
Merge pull request #952 from roboflow/fix/mask_iou_batch_memory_limit
SkalskiP Feb 28, 2024
96225cd
Merge pull request #875 from LinasKo/feature/annotators-accept-PIL-im…
onuralpszr Feb 28, 2024
165ed42
fix(docs): 🐞 PercentageBarAnnotator example doc code usage fixed
onuralpszr Feb 28, 2024
cb8f4af
Merge pull request #955 from roboflow/fix/doc/percentage
capjamesg Feb 28, 2024
5e1d9bb
smoother: check len of detections - not tracked_detections
Feb 28, 2024
13cb923
Merge pull request #944 from LinasKo/fix/smoother-removes-detections-…
SkalskiP Feb 28, 2024
5f85339
feat(PolygonZoneAnnotator): ✨ make display of zone label optional def…
onuralpszr Feb 23, 2024
0c06859
Merge pull request #942 from roboflow/feat/PolygonZoneAnnotator/Label…
SkalskiP Feb 28, 2024
d0ad5fe
fix: 🐞 depricated supervision version add and abbreviation dropped
onuralpszr Feb 28, 2024
a790040
Merge pull request #910 from LeviVasconcelos/polygonzone-add-multiple…
onuralpszr Feb 28, 2024
25deda2
ready for test in colab
SkalskiP Feb 29, 2024
f12182b
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Feb 29, 2024
af03010
Merge pull request #960 from roboflow/small_deprecated_parameter_cleanup
SkalskiP Feb 29, 2024
07763bb
Merge pull request #935 from NickHerrig/cookbooks/add-visuals
SkalskiP Feb 29, 2024
cefd9e1
ci: πŸ‘· remove duplicated publish tag regex
onuralpszr Feb 29, 2024
00c84d4
Merge branch 'develop' into update-byte-track-class-argument-names
onuralpszr Feb 29, 2024
6613f57
Merge pull request #961 from roboflow/ci/pypi/regex
SkalskiP Feb 29, 2024
d3383fc
feat: ✨ deprecated_parameters ⚠️ added and warning filter for show AL…
onuralpszr Feb 29, 2024
a68e5b4
Merge pull request #886 from Kadermiyanyedi/update-byte-track-class-a…
onuralpszr Feb 29, 2024
7d65a94
fix: 🐞 Custom warning type 'SupervisionWarning' added
onuralpszr Feb 29, 2024
1808534
feat: ⚠️ cleaner warning format added
onuralpszr Feb 29, 2024
b13e3e0
Merge pull request #962 from roboflow/feat/supervision/warnings
onuralpszr Feb 29, 2024
0aff293
bump version from `0.19.0rc3` to `0.19.0rc4`
SkalskiP Feb 29, 2024
ce33562
feat(ImageType): πŸš€ sv.plot_images_grid and sv.plot_image can accept I…
onuralpszr Feb 29, 2024
41c78cc
Merge pull request #963 from roboflow/feat/plot_image/pillow
onuralpszr Feb 29, 2024
73013d6
bump version from `0.19.0rc4` to `0.19.0rc5`
SkalskiP Feb 29, 2024
2407fad
fix: 🐞 swap ultralytics to inference-gpu[yolo-world] usage and consta…
onuralpszr Feb 29, 2024
b78b391
Merge pull request #907 from iamhatesz/docs/alignment-cookbook
onuralpszr Feb 29, 2024
852d518
fix: 🐞 evaluating-alignment-of-text-to-image-diffusion-model widget f…
onuralpszr Feb 29, 2024
4803ab2
feat: πŸ“š add docs test workflow
onuralpszr Feb 29, 2024
6eeb1c4
Merge pull request #965 from roboflow/ci/doc-test
SkalskiP Feb 29, 2024
4509608
Apply documentation, unit test with mutliple scenarios, and improvement
AdonaiVera Feb 2, 2024
d949631
remove the json output after finish the unit test
AdonaiVera Feb 2, 2024
f55ef90
Merge pull request #819 from AdonaiVera/allowing_serialise_detections…
onuralpszr Mar 1, 2024
f29bdec
:arrow_up: Bump ruff from 0.2.2 to 0.3.0
dependabot[bot] Mar 1, 2024
ed3c6d1
Merge pull request #966 from roboflow/dependabot/pip/ruff-0.3.0
onuralpszr Mar 1, 2024
199d26a
:arrow_up: Bump build from 1.0.3 to 1.1.1
dependabot[bot] Mar 1, 2024
a3e39bd
:arrow_up: Bump mkdocs-material from 9.5.11 to 9.5.12
dependabot[bot] Mar 1, 2024
3e05057
Merge pull request #967 from roboflow/dependabot/pip/build-1.1.1
onuralpszr Mar 1, 2024
e86fc59
Merge pull request #968 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Mar 1, 2024
5682542
fix: 🐞 update PolygonZone test and update traffic-analysis depricated…
onuralpszr Mar 2, 2024
823adb3
ci: πŸ‘· update ruff config and group lint
onuralpszr Mar 2, 2024
3464887
:arrow_up: Bump pytest from 8.0.2 to 8.1.0
dependabot[bot] Mar 4, 2024
b0a6475
Merge pull request #973 from roboflow/dependabot/pip/pytest-8.1.0
onuralpszr Mar 4, 2024
e1a950f
:arrow_up: Bump nbconvert from 7.16.1 to 7.16.2
dependabot[bot] Mar 5, 2024
cd20887
Merge pull request #974 from roboflow/dependabot/pip/nbconvert-7.16.2
onuralpszr Mar 5, 2024
f1e596a
:arrow_up: Bump tox from 4.13.0 to 4.14.0
dependabot[bot] Mar 6, 2024
4abef15
Update README.md
SkalskiP Mar 6, 2024
8900986
Merge pull request #976 from roboflow/dependabot/pip/tox-4.14.0
onuralpszr Mar 6, 2024
52a059f
:arrow_up: Bump tox from 4.14.0 to 4.14.1
dependabot[bot] Mar 7, 2024
dc39852
:arrow_up: Bump mkdocs-material from 9.5.12 to 9.5.13
dependabot[bot] Mar 7, 2024
427c91b
Merge pull request #977 from roboflow/dependabot/pip/tox-4.14.1
onuralpszr Mar 7, 2024
c6f0b57
:arrow_up: Bump ruff from 0.3.0 to 0.3.1
dependabot[bot] Mar 7, 2024
2620186
Merge pull request #978 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Mar 7, 2024
b38234b
Merge pull request #979 from roboflow/dependabot/pip/ruff-0.3.1
onuralpszr Mar 7, 2024
26de63a
Update main.html
capjamesg Mar 7, 2024
cadb259
Merge pull request #980 from roboflow/add-retention
SkalskiP Mar 7, 2024
645a1ec
:arrow_up: Bump ruff from 0.3.1 to 0.3.2
dependabot[bot] Mar 11, 2024
8ef3c0e
:arrow_up: Bump mypy from 1.8.0 to 1.9.0
dependabot[bot] Mar 11, 2024
b852226
:arrow_up: Bump pytest from 8.1.0 to 8.1.1
dependabot[bot] Mar 11, 2024
f417810
Merge pull request #985 from roboflow/dependabot/pip/ruff-0.3.2
onuralpszr Mar 11, 2024
fd6cf36
Merge pull request #986 from roboflow/dependabot/pip/mypy-1.9.0
onuralpszr Mar 11, 2024
fb82d32
Merge pull request #987 from roboflow/dependabot/pip/pytest-8.1.1
onuralpszr Mar 11, 2024
4c426f5
:arrow_up: Bump wheel from 0.42.0 to 0.43.0
dependabot[bot] Mar 12, 2024
b68e7c2
Merge pull request #989 from roboflow/dependabot/pip/wheel-0.43.0
onuralpszr Mar 12, 2024
2c55d17
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Mar 12, 2024
8ea1148
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Mar 12, 2024
c0c346b
Merge pull request #992 from roboflow/pre-commit-ci-update-config
onuralpszr Mar 12, 2024
879d480
ready for review
SkalskiP Mar 13, 2024
aacad59
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Mar 13, 2024
bc74e1c
added the same fix to quickstart.ipynb
SkalskiP Mar 13, 2024
dfb5263
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Mar 13, 2024
655e5a7
Merge pull request #994 from roboflow/fix/993_ImageDetectionPredictio…
SkalskiP Mar 13, 2024
6ade84f
Updated `deprecated.md` to include deprecations introduced in the `su…
SkalskiP Mar 13, 2024
0b81081
Merge pull request #969 from roboflow/fix/depricated
SkalskiP Mar 13, 2024
162a482
Merge pull request #970 from roboflow/config/ruff
SkalskiP Mar 14, 2024
423783a
Merge branch 'develop' into develop
onuralpszr Mar 14, 2024
4a6c0a9
fix: 🐞 dirty outputs are removed and formatting fix
onuralpszr Mar 14, 2024
0d352bd
Merge pull request #913 from stellasphere/develop
onuralpszr Mar 14, 2024
c7a6b38
initial version of refactored CropAnnotator
SkalskiP Mar 14, 2024
d1003d4
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Mar 14, 2024
4ba3780
CropAnnotator updates and fixes
SkalskiP Mar 14, 2024
d658944
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Mar 14, 2024
0c04647
Improved docstrings
SkalskiP Mar 14, 2024
22d97b8
add CropAnnotator docs
SkalskiP Mar 14, 2024
d669619
Merge pull request #888 from xaristeidou/develop
SkalskiP Mar 14, 2024
917b4c0
doc: πŸ“š json and csv example code syntax fix
onuralpszr Mar 14, 2024
594c995
:arrow_up: Bump notebook from 7.1.1 to 7.1.2
dependabot[bot] Mar 15, 2024
012ff2b
Merge pull request #997 from roboflow/dependabot/pip/notebook-7.1.2
onuralpszr Mar 15, 2024
8d7f18c
`supervision-0.19.0` release changelog
SkalskiP Mar 15, 2024
5b6713f
Merge pull request #996 from roboflow/fix/doc_syntax_fix
SkalskiP Mar 15, 2024
7e72ad1
Merge pull request #1000 from roboflow/0.19.0-changelog
SkalskiP Mar 15, 2024
a0f7bb7
bump version from `0.19.0rc5` to `0.19.0`
SkalskiP Mar 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
supervision-0.19.0 release changelog
  • Loading branch information
SkalskiP committed Mar 15, 2024
commit 8d7f18cc2284fbcb40ef8517add881ba8ddb76e1
6 changes: 0 additions & 6 deletions docs/annotators.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,6 @@ status: new
)
```

<div class="result" markdown>

![label-annotator-example](https://media.roboflow.com/supervision-annotator-examples/label-annotator-example-purple.png){ align=center width="800" }

</div>

=== "Blur"

```python
Expand Down
84 changes: 83 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,88 @@
### 0.19.0 <small>March 15, 2024</small>

- Added [#818](https://github.com/roboflow/supervision/pull/818): [`sv.CSVSink`](/0.19.0/detection/tools/save_detections/#supervision.detection.tools.csv_sink.CSVSink) allowing for the straightforward saving of image, video, or stream inference results in a `.csv` file.

```python
import supervision as sv
from ultralytics import YOLO

model = YOLO(<SOURCE_MODEL_PATH>)
csv_sink = sv.CSVSink(<RESULT_CSV_FILE_PATH>)
frames_generator = sv.get_video_frames_generator(<SOURCE_VIDEO_PATH>)

with csv_sink:
for frame in frames_generator:
result = model(frame)[0]
detections = sv.Detections.from_ultralytics(result)
csv_sink.append(detections, custom_data={<CUSTOM_LABEL>:<CUSTOM_DATA>})
```

- Added [#819](https://github.com/roboflow/supervision/pull/819): [`sv.JSONSink`](/0.19.0/detection/tools/save_detections/#supervision.detection.tools.csv_sink.JSONSink) allowing for the straightforward saving of image, video, or stream inference results in a `.json` file.

```python

```python
import supervision as sv
from ultralytics import YOLO

model = YOLO(<SOURCE_MODEL_PATH>)
json_sink = sv.JSONSink(<RESULT_JSON_FILE_PATH>)
frames_generator = sv.get_video_frames_generator(<SOURCE_VIDEO_PATH>)

with json_sink:
for frame in frames_generator:
result = model(frame)[0]
detections = sv.Detections.from_ultralytics(result)
json_sink.append(detections, custom_data={<CUSTOM_LABEL>:<CUSTOM_DATA>})
```

- Added [#847](https://github.com/roboflow/supervision/pull/847): [`sv.mask_iou_batch`](/0.19.0/detection/utils/#supervision.detection.utils.mask_iou_batch) allowing to compute Intersection over Union (IoU) of two sets of masks.

- Added [#847](https://github.com/roboflow/supervision/pull/847): [`sv.mask_non_max_suppression`](/0.19.0/detection/utils/#supervision.detection.utils.mask_non_max_suppression) allowing to perform Non-Maximum Suppression (NMS) on segmentation predictions.

- Added [#888](https://github.com/roboflow/supervision/pull/888): [`sv.CropAnnotator`](/0.19.0/annotators/#supervision.annotators.core.CropAnnotator) allowing users to annotate the scene with scaled-up crops of detections.

```python
import cv2
import supervision as sv
from inference import get_model

image = cv2.imread(<SOURCE_IMAGE_PATH>)
model = get_model(model_id="yolov8n-640")

result = model.infer(image)[0]
detections = sv.Detections.from_inference(result)

crop_annotator = sv.CropAnnotator()
annotated_frame = crop_annotator.annotate(
scene=image.copy(),
detections=detections
)
```

- Changed [#827](https://github.com/roboflow/supervision/pull/827): [`sv.ByteTrack.reset`](/0.19.0/tracking/#supervision.tracking.ByteTrack.reset) allowing users to clear trackers state, enabling the processing of multiple video files in sequence.

- Changed [#802](https://github.com/roboflow/supervision/pull/802): [`sv.LineZoneAnnotator`](/0.19.0/detection/tools/line_zone/#supervision.detection.line_zone.LineZone) allowing to hide in/out count using `display_in_count` and `display_out_count` properties.

- Changed [#787](https://github.com/roboflow/supervision/pull/787): [`sv.ByteTrack`](/0.19.0/tracking/#supervision.tracking.ByteTrack) input arguments and docstrings updated to improve readability and ease of use.

!!! failure "Deprecated"

The `track_buffer`, `track_thresh`, and `match_thresh` parameters in `sv.ByterTrack` are deprecated and will be removed in `supervision-0.23.0`. Use `lost_track_buffer,` `track_activation_threshold`, and `minimum_matching_threshold` instead.

- Changed [#910](https://github.com/roboflow/supervision/pull/910): [`sv.PolygonZone`](/0.19.0/detection/tools/polygon_zone/#supervision.detection.tools.polygon_zone.PolygonZone) to now accept a list of specific box anchors that must be in zone for a detection to be counted.

!!! failure "Deprecated"

The `triggering_position ` parameter in `sv.PolygonZone` is deprecated and will be removed in `supervision-0.23.0`. Use `triggering_anchors` instead.

- Changed [#875](https://github.com/roboflow/supervision/pull/875): annotators adding support for Pillow images. All supervision Annotators can now accept an image as either a numpy array or a Pillow Image. They automatically detect its type, draw annotations, and return the output in the same format as the input.

- Fixed [#944](https://github.com/roboflow/supervision/pull/944): [`sv.DetectionsSmoother`](/0.19.0/detection/tools/smoother/#supervision.detection.tools.smoother.DetectionsSmoother) removing `tracking_id` from `sv.Detections`.

### 0.18.0 <small>January 25, 2024</small>

- Added [#633](https://github.com/roboflow/supervision/pull/720): [`sv.PercentageBarAnnotator`](/0.18.0/annotators/#percentagebarannotator) allowing to annotate images and videos with percentage values representing confidence or other custom property.
- Added [#720](https://github.com/roboflow/supervision/pull/720): [`sv.PercentageBarAnnotator`](/0.18.0/annotators/#percentagebarannotator) allowing to annotate images and videos with percentage values representing confidence or other custom property.

```python
>>> import supervision as sv
Expand Down
1 change: 1 addition & 0 deletions supervision/annotators/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,7 @@ def __init__(self, position: Position = Position.TOP_CENTER, scale_factor: int =
self.position: Position = position
self.scale_factor: int = scale_factor

@scene_to_annotator_img_type
def annotate(
self,
scene: np.ndarray,
Expand Down