Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
583 commits
Select commit Hold shift + click to select a range
fd31351
renaming and reordering inputs of function to keep consistency with …
rafaelpadilla Jun 1, 2025
84d190a
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jun 16, 2025
5797573
Merge pull request #1854 from roboflow/pre-commit-ci-update-config
onuralpszr Jun 17, 2025
4255e63
work on new theme
capjamesg Jun 17, 2025
d5f06ea
work on search styles
capjamesg Jun 17, 2025
463a54f
work on mobile styles
capjamesg Jun 17, 2025
568a94c
fix kapa
capjamesg Jun 17, 2025
5313f47
fix kapa widget
capjamesg Jun 17, 2025
89ca722
Merge branch 'develop' into new-theme
capjamesg Jun 18, 2025
c2d0ed2
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jun 18, 2025
9a9324a
Merge branch 'roboflow:develop' into develop
SunHao-AI Jun 25, 2025
646ac83
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jun 25, 2025
d002858
ci: 注释掉创建 GitHub App token 的步骤
SunHao-AI Jun 25, 2025
eb170bc
ci:取消注释 GitHub App token 步骤
SunHao-AI Jun 25, 2025
097614f
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jun 30, 2025
93c1b5f
Merge pull request #1862 from roboflow/pre-commit-ci-update-config
onuralpszr Jun 30, 2025
5f9c55d
keeping argument use_iscrowd in function load_coco_annotations(...) ;…
rafaelpadilla Jul 1, 2025
0a55b3b
making mean_average_precision.py have a lazy import of box_iou_batch_…
rafaelpadilla Jul 1, 2025
49a8fd9
renaming iou_with_jaccard(...) to box_iou_batch_with_jaccard(...) and…
rafaelpadilla Jul 1, 2025
4414e15
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 1, 2025
1facc6b
fix: correct export name xyxy_to_xyah -> xyxy_to_xcycarh in __all__
JESUSROYETH Jul 3, 2025
a6f738d
Merge pull request #1867 from JESUSROYETH/fix/typo-xyxy_to_xcycarh
onuralpszr Jul 3, 2025
3786017
fix: Track Objects on Video example not retrieving class name correctly
soumik12345 Jul 4, 2025
2ef9d69
chore: make pre-commit happy
soumik12345 Jul 4, 2025
d543be9
Update supervision/dataset/formats/coco.py
rafaelpadilla Jul 6, 2025
c7b4993
Moving `_jaccard` and `box_iou_batch_with_jaccard` to `supervision/de…
rafaelpadilla Jul 6, 2025
0343069
Expanded all test cases in `test_coco_annotations_to_detections` incl…
rafaelpadilla Jul 6, 2025
a95a818
Including function `get_coco_class_index_mapping` in `supervision.__i…
rafaelpadilla Jul 6, 2025
b867968
breaking long lines, preventing E501.
rafaelpadilla Jul 6, 2025
13e857c
refactor(detection): 重构合并检测对象的逻辑
SunHao-AI Jul 7, 2025
0b120f1
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 7, 2025
f47f032
Merge branch 'roboflow:develop' into develop
SunHao-AI Jul 7, 2025
fcb47f7
mkdocs update + pre-commit fix
SkalskiP Jul 7, 2025
5aa6b6f
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 7, 2025
95d7204
Merge pull request #1834 from rafaelpadilla/fix/mAP
SkalskiP Jul 7, 2025
724d851
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jul 7, 2025
8a905ce
Merge branch 'develop' into fix/docs/track_objects
soumik12345 Jul 8, 2025
ccf84d5
update: image.py
soumik12345 Jul 8, 2025
1190ed2
update: image.py
soumik12345 Jul 8, 2025
334d061
Merge pull request #1869 from roboflow/fix/docs/track_objects
SkalskiP Jul 8, 2025
0a7bf58
respond to feedback
capjamesg Jul 8, 2025
e99fc92
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 8, 2025
a64874f
Merge pull request #1871 from roboflow/pre-commit-ci-update-config
onuralpszr Jul 9, 2025
0af46f6
chore(setup-uv): 📦 update astral-sh/setup-uv to v6.3.1 across workflo…
onuralpszr Jul 9, 2025
84d7fb2
Merge branch 'develop' into feature/gemini-object-detection
onuralpszr Jul 9, 2025
031a029
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 9, 2025
b736499
deprecate: DetectionDataset.images
soumik12345 Jul 9, 2025
d48614d
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 9, 2025
b5bf082
Merge pull request #1872 from roboflow/deprecate/DetectionDataset.images
soumik12345 Jul 9, 2025
ddfbaa3
Merge pull request #1831 from roboflow/dependabot/github_actions/deve…
onuralpszr Jul 9, 2025
e608d82
fix: 🐞 Google Gemini bbox order for normaliztion convert and add new …
onuralpszr Jul 9, 2025
8373a38
fix conflict
capjamesg Jul 9, 2025
1742537
fix: 🐞 update expected output in test_from_google_gemini for bbox coo…
onuralpszr Jul 9, 2025
796cc26
fix version card alignment
capjamesg Jul 9, 2025
6e87237
ADD: Added box_iou
Ashp116 Jul 10, 2025
5467fbf
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 10, 2025
096b9a5
Merge pull request #1792 from roboflow/feature/gemini-object-detection
onuralpszr Jul 10, 2025
4879ed3
include maestro link
SkalskiP Jul 10, 2025
451b4b2
Merge pull request #1858 from roboflow/new-theme
SkalskiP Jul 10, 2025
b15a7ea
fix wrapped text
capjamesg Jul 10, 2025
0915594
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 10, 2025
21a3584
fix
capjamesg Jul 10, 2025
f50216e
remove duplicated `features` from `mkdocs.yaml`
SkalskiP Jul 10, 2025
98ba121
Merge pull request #1875 from roboflow/fix-wrapped-text
SkalskiP Jul 10, 2025
6448fc7
chore: address feedback on google gemini support
soumik12345 Jul 10, 2025
abb881c
update: docstrings
soumik12345 Jul 10, 2025
b4f30b5
update: docstrings
soumik12345 Jul 10, 2025
9cc6d2d
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 10, 2025
097af2a
add: qwen example
soumik12345 Jul 10, 2025
4804d51
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 10, 2025
2c0eaa1
update: docstrings
soumik12345 Jul 10, 2025
8b39478
fix malfunctioned docstring
SkalskiP Jul 10, 2025
2dfadfe
Merge pull request #1876 from roboflow/fix/google-gemini-support
SkalskiP Jul 10, 2025
7ca52da
feat: 🚀 add support for Google Gemini 2.5 bounding box and mask parsing
onuralpszr Jul 10, 2025
0e8ec18
fix: 🐞 remove not exist Google Gemini 2.0 and 2.5 flash preview mappings
onuralpszr Jul 10, 2025
74ba994
chore: 🧹 clean up imports and improve formatting in Google Gemini fun…
onuralpszr Jul 10, 2025
5d26160
feat: 🚀 add support for Google Gemini 2.5 detection processing
onuralpszr Jul 10, 2025
409ff28
feat: 🚀 add initial support for Moondream in VLM enum and implement f…
onuralpszr Jul 10, 2025
72bff07
fix: 📝 update docstring for from_moondream function to comply with st…
onuralpszr Jul 10, 2025
9855927
feat: 🚀 add support for Moondream in Detections class
onuralpszr Jul 10, 2025
413db5a
fix broken page
capjamesg Jul 10, 2025
2006617
Merge pull request #1879 from roboflow/fix-utils-page
SkalskiP Jul 10, 2025
300426e
fix: 📝 remove deprecated Google Gemini flash preview support from Det…
onuralpszr Jul 10, 2025
399d2ef
fix: 🐞 update from_moondream function to remove label requirement an…
onuralpszr Jul 10, 2025
e17e7d7
fix: 🐞 remove class_name from from_moondream return in Detections class
onuralpszr Jul 10, 2025
7076b4d
docs: 📝 add examples for using from_vlm with Moondream results in Det…
onuralpszr Jul 10, 2025
0343db7
fix: 🐞 update Moondream result format to remove label requirement in …
onuralpszr Jul 10, 2025
58aacc7
fix: 🐞 update Moondream result format fix and doc example code block …
onuralpszr Jul 10, 2025
5206b6c
docs: 📝 update sv and ultralytics packages and remove old BoundingBox…
onuralpszr Jul 10, 2025
f90a94b
chore: 🧹 drop asset extra from installation and clean up import in …
onuralpszr Jul 10, 2025
d7e0ded
pull from main
hidara2000 Jul 10, 2025
fa98266
chore: 🧹 removal of version constraint, using latest bbox annotator a…
onuralpszr Jul 11, 2025
0b00edc
Remove redundant duplicated calls to spread_out_boxes
hidara2000 Jul 11, 2025
d3a2012
Merge branch 'roboflow:develop' into develop
hidara2000 Jul 11, 2025
bf2a67b
chore: 🧹 update cookbook.html notebook versions to v0.26.0
onuralpszr Jul 11, 2025
8c581e4
Merge pull request #1880 from roboflow/docs/cookbook-updates
SkalskiP Jul 11, 2025
fd1bb5b
Update supervision/detection/vlm.py
onuralpszr Jul 11, 2025
a6d9550
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 11, 2025
1034313
feat: 🚀 exclude all dev extras from pypi package and only available t…
onuralpszr Jul 11, 2025
f7d4da9
ci: 👷 update CI installation commands to use --group instead of --ext…
onuralpszr Jul 11, 2025
89f4242
docs: 📝 add usage examples for from_lmm with Moondream results in Det…
onuralpszr Jul 11, 2025
d34f050
feat: 🚀 implement resolution validation function and refactor related…
onuralpszr Jul 11, 2025
656b9c6
fix: 🐞 update from_moondream function to remove class_id return and a…
onuralpszr Jul 11, 2025
99415f1
test: 🧪 add parameterized tests for from_moondream function in test_v…
onuralpszr Jul 11, 2025
c613005
fix: 🐞 update Detections class to remove class_id return from from_mo…
onuralpszr Jul 11, 2025
d002b8a
fix: 🐞 remove unused class_id references in Detections class from_vlm…
onuralpszr Jul 11, 2025
ca86f6e
chore: address feedback
soumik12345 Jul 11, 2025
b860edd
update: test_from_google_gemini
soumik12345 Jul 11, 2025
857aad6
update: docstring
soumik12345 Jul 11, 2025
4d36488
update: docstring
soumik12345 Jul 11, 2025
fe0cefd
chore: add comments to testcase parameters
soumik12345 Jul 11, 2025
8697fc0
Merge pull request #1883 from roboflow/fix/gemini-vlm-support
SkalskiP Jul 11, 2025
a352521
Merge pull request #1881 from roboflow/feat/pyproject-deps-groups
SkalskiP Jul 11, 2025
62e80b8
update docstring examples
SkalskiP Jul 11, 2025
0601a41
refactor: simplify return statement in from_moondream function
onuralpszr Jul 11, 2025
641b343
docs: 📝 update resolution parameter to fixed values in Detections cla…
onuralpszr Jul 11, 2025
eb330ac
Merge branch 'develop' into feat/moondream-vlm-object-detection
onuralpszr Jul 11, 2025
3218da8
test: 🧪 re-add parameterized tests for from_moondream function
onuralpszr Jul 11, 2025
2378d8b
UPDATE: Code review fix and docs updated
Ashp116 Jul 12, 2025
ee7782b
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 12, 2025
d2ffd04
Precommit
Ashp116 Jul 12, 2025
0488abf
Merge branch 'single-iou' of https://github.com/Ashp116/supervision i…
Ashp116 Jul 12, 2025
2f44aab
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 12, 2025
a118599
Precommit
Ashp116 Jul 12, 2025
92599ad
UPDATE: Updated documentation
Ashp116 Jul 12, 2025
d1c27f2
FIX: Fixed docsstrings
Ashp116 Jul 12, 2025
c7ebfeb
feat: 🚀 enhance Google Gemini 2.5 integration to include confidence s…
onuralpszr Jul 14, 2025
3152f5f
docs: 📝 add docs to confidence scores parameter to from_google_gemini…
onuralpszr Jul 14, 2025
6bae8bc
formatting: 🧹 code readability by formatting return statements and f…
onuralpszr Jul 14, 2025
462468f
Merge pull request #1878 from roboflow/feat/moondream-vlm-object-dete…
SkalskiP Jul 14, 2025
2bf448f
refactor: 🧹 remove test file for from_florence_2 function and merge i…
onuralpszr Jul 14, 2025
baa78fc
Merge pull request #1882 from roboflow/feat/vlm-tests
SkalskiP Jul 14, 2025
9ce4632
chore: add usage examples in docstrings
soumik12345 Jul 14, 2025
8e437f8
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 14, 2025
ddf9a06
Merge branch 'develop' into feat/gemini-2_5_segmentation
onuralpszr Jul 14, 2025
5d866fd
refactor: ✨ improve validate_resolution function to have type,value…
onuralpszr Jul 14, 2025
4ed667d
fix: 🐞 rename from_google_gemini to from_google_gemini_2_0 keep names…
onuralpszr Jul 14, 2025
18cd73f
chore: import box_iou to supervision/__init__.py
soumik12345 Jul 14, 2025
a192eed
Merge pull request #1874 from Ashp116/single-iou
SkalskiP Jul 14, 2025
3b112ff
refactor: ✨ update from_google_gemini_2_5 function to include optiona…
onuralpszr Jul 14, 2025
377f7db
feat: ✨ add confidence field to the result of from_google_gemini_2_5 …
onuralpszr Jul 14, 2025
50c0d54
Merge branch 'develop' into develop
soumik12345 Jul 14, 2025
74d5f0f
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 14, 2025
1a83005
add docs table style
SkalskiP Jul 14, 2025
6c4a2a8
test: 🧪 add gemini_2_5 test and fix failed cases in gemini_2_5 functi…
onuralpszr Jul 14, 2025
076f9e2
fix: 🐞 fix mask filtering in from_google_gemini_2_5 to detect properly
onuralpszr Jul 14, 2025
b87a504
fix: 🐞 remove GOOGLE_GEMINI_2_5 from gemini_2_0 check and only use ne…
onuralpszr Jul 14, 2025
e8ca201
Merge branch 'develop' into feat/gemini-2_5_segmentation
onuralpszr Jul 14, 2025
129eb89
fix: 🐞 add missing newline at end of extra.css file
onuralpszr Jul 14, 2025
9517987
chore: make pre-commit happy
soumik12345 Jul 14, 2025
2c63511
docs: ✏️ add usage tips and examples for Google Gemini 2.5 in core.py
onuralpszr Jul 14, 2025
ff3c85d
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 14, 2025
8c4a1e5
fix: 🐞 correct formatting and remove trailing whitespace in core.py
onuralpszr Jul 14, 2025
c2abb24
test: 🧪 add test case for gemini 2.5 segmentation
onuralpszr Jul 14, 2025
d29fb8a
test: 🧪 add test case for Google Gemini 2.5 with sample JSON output f…
onuralpszr Jul 14, 2025
328c34a
feat: ✨ add MOONDREAM enum and allowed arguments in VLM
onuralpszr Jul 14, 2025
00fab37
feat: 🚀 dropping python 3.8 support and upgrade all codes to python3.…
onuralpszr Jul 14, 2025
5d88344
docs: 📝 update Python version requirement to 3.9 in docs and clean up…
onuralpszr Jul 14, 2025
4ea79f3
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jul 14, 2025
886bc16
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 14, 2025
7b85600
Merge pull request #1887 from roboflow/pre-commit-ci-update-config
onuralpszr Jul 14, 2025
2b05243
updated `from_lmm` docs
SkalskiP Jul 14, 2025
63519dd
Merge remote-tracking branch 'origin/feat/gemini-2_5_segmentation' in…
SkalskiP Jul 14, 2025
6929f1b
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 14, 2025
85ec990
docs: 📝 improve documentation for VLM parameters
onuralpszr Jul 14, 2025
13fa672
chore: 🧹formatting fix
onuralpszr Jul 14, 2025
efe59cb
chore: 🧹 use same var name compare to other functions
onuralpszr Jul 14, 2025
1337b7f
update: changelog + deprecation for supervision 0.26.0
soumik12345 Jul 14, 2025
b2776ca
chore: make pre-commit happy
soumik12345 Jul 14, 2025
9443a43
fix: 🐞quick typo fix.
onuralpszr Jul 14, 2025
daaadaa
Merge pull request #1877 from roboflow/feat/gemini-2_5_segmentation
SkalskiP Jul 14, 2025
25edd9b
Merge branch 'develop' into feat/upgrade-python-3-9
onuralpszr Jul 14, 2025
edfe0a9
refactor: 🛠️ update type hints to use built-in types in VLM and valid…
onuralpszr Jul 14, 2025
63cc934
chore: 🧹 remove unused pyupgrade configuration from pyproject.toml
onuralpszr Jul 14, 2025
1d3e887
chore: 🧹 update requirements and change default weights file in ultra…
onuralpszr Jul 14, 2025
667e649
chore: 🧹 update uv lock file
onuralpszr Jul 15, 2025
2c986ab
add: remove_noisy_segments in the changelog
soumik12345 Jul 15, 2025
fb16bd9
chore: change match_metric to overlap_metric
soumik12345 Jul 15, 2025
42e9c5f
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
7849831
chore: make pre-commit happy
soumik12345 Jul 15, 2025
3fed5f9
update: docs
soumik12345 Jul 15, 2025
fd25f4b
add: docs for mask_non_max_merge
soumik12345 Jul 15, 2025
ebf4b93
add: test for mask_non_max_merge
soumik12345 Jul 15, 2025
b3024e7
chore: make pre-commit happy
soumik12345 Jul 15, 2025
007d8f5
chore: make enum comparisons
soumik12345 Jul 15, 2025
ae77077
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
4977fd6
add: test_mask_non_max_merge
soumik12345 Jul 15, 2025
9a38ebd
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
2adb64b
chore: 🧹 update requirements files to remove version constraints
onuralpszr Jul 15, 2025
7ea8c2e
chore: remove excessive comments in group_overlapping_masks
soumik12345 Jul 15, 2025
f68a6bc
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
c11a7de
chore: refactor docs for
soumik12345 Jul 15, 2025
84c9a34
update: docstring
soumik12345 Jul 15, 2025
b792db7
chore: 🧹 update requirements.txt to remove version constraints for de…
onuralpszr Jul 15, 2025
bcbbc57
chore: configure mkdocs to add mathjax support
soumik12345 Jul 15, 2025
9400270
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
af31b96
update: docstring for box_iou to add formula
soumik12345 Jul 15, 2025
7c1168f
chore: make pre-commit happy
soumik12345 Jul 15, 2025
9f3ffdd
fix: typo in utils.py
soumik12345 Jul 15, 2025
cf179b9
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
71e7c3e
Merge pull request #1774 from SunHao-AI/develop
SkalskiP Jul 15, 2025
3dd1ce4
Merge branch 'develop' into feat/upgrade-python-3-9
onuralpszr Jul 15, 2025
a5155e2
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
b6cd9dd
chore: 🧹 clean up unused imports and optimize code structure and conv…
onuralpszr Jul 15, 2025
8a000b9
Merge pull request #1889 from roboflow/docs/mathjax
onuralpszr Jul 15, 2025
3b2ca1b
Merge branch 'develop' into feat/upgrade-python-3-9
onuralpszr Jul 15, 2025
8a7e2fe
Merge pull request #1820 from hidara2000/develop
SkalskiP Jul 15, 2025
7fde67e
Merge branch 'develop' into feat/upgrade-python-3-9
onuralpszr Jul 15, 2025
212e69b
refactor: 🧪 type hints to use the new union syntax for optional types
onuralpszr Jul 15, 2025
9dc2785
Merge pull request #1886 from roboflow/feat/upgrade-python-3-9
SkalskiP Jul 15, 2025
fa5fcbb
utils split across multiple files; internal and external imports work…
SkalskiP Jul 15, 2025
592a649
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
d52fcf1
fix: 🐛 add future annotations import for compatibility and fix tests
onuralpszr Jul 15, 2025
6b905f2
works with python 3.9; docs update
SkalskiP Jul 15, 2025
a25039f
Merge remote-tracking branch 'origin/refactor/split_detection_utils_t…
SkalskiP Jul 15, 2025
b507ed9
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
5b42be9
make sure only recently updated pages have new status
SkalskiP Jul 15, 2025
873f249
Merge remote-tracking branch 'origin/refactor/split_detection_utils_t…
SkalskiP Jul 15, 2025
ab9d128
mark from_lmm as deprecated in docs
SkalskiP Jul 15, 2025
b8d646a
fix: 🐞 type annotations for internal.py vars
onuralpszr Jul 15, 2025
3ba5c12
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
8710bde
docs: 📝 add docstring to validate_vlm_parameters
onuralpszr Jul 15, 2025
334d8e6
fix: 🐞 correct possessive form in docstring for LMM and VLM enums
onuralpszr Jul 15, 2025
2dca99d
added mask_non_max_merge to quick imports
SkalskiP Jul 15, 2025
f9cdb93
Merge remote-tracking branch 'origin/refactor/split_detection_utils_t…
SkalskiP Jul 15, 2025
facc64b
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
14d3b79
fix: formula in box_iou docstring
soumik12345 Jul 15, 2025
1bc672a
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
d854e23
fix latex problems
SkalskiP Jul 15, 2025
0a33334
Merge remote-tracking branch 'origin/refactor/split_detection_utils_t…
SkalskiP Jul 15, 2025
a135bd6
add deprecation message to old mAP
SkalskiP Jul 15, 2025
c4ede20
add deprecation message to old mAP
SkalskiP Jul 15, 2025
5397031
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
880a9e8
fix double decorator bug
SkalskiP Jul 15, 2025
bbadfb3
Revert "fix double decorator bug"
SkalskiP Jul 15, 2025
2b47d8e
fix double decorator bug
SkalskiP Jul 15, 2025
5d6f5bf
fix(deprecated): change MeanAveragePrecision to frozen dataclass and …
onuralpszr Jul 15, 2025
5c1a5ea
Merge pull request #1890 from roboflow/refactor/split_detection_utils…
SkalskiP Jul 15, 2025
4e832b2
bump version from `0.26.0rc7` to `0.26.0rc8`
SkalskiP Jul 15, 2025
3ff1414
update: changelog
soumik12345 Jul 15, 2025
77c4535
chore: address feedback
soumik12345 Jul 15, 2025
6046e88
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
4948612
Merge branch 'develop' into docs/changelog-0.26.0
SkalskiP Jul 15, 2025
0f56a40
updates before `supervision-0.26.0` release
SkalskiP Jul 15, 2025
d1aa172
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jul 15, 2025
56a0ac5
Merge pull request #1888 from roboflow/docs/changelog-0.26.0
SkalskiP Jul 15, 2025
12e38da
docs: 📝 enhance prompt engineering tips for Qwen2.5-VL and Moondream …
onuralpszr Jul 15, 2025
462146b
docs: 📝 add prompt engineering tips for Qwen2.5-VL and Moondream mode…
onuralpszr Jul 16, 2025
78e5cd5
Merge pull request #1891 from roboflow/docs/vlm-improvements
SkalskiP Jul 16, 2025
a1e4029
bump version from `0.26.0rc8` to `0.26.0`
SkalskiP Jul 16, 2025
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
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These owners will be the default owners for everything in
# the repo. They will be requested for review when someone
# opens a pull request.
* @SkalskiP @onuralpszr
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
commit-message:
prefix: ⬆️
target-branch: "develop"
# Python
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
commit-message:
prefix: ⬆️
target-branch: "develop"
37 changes: 23 additions & 14 deletions .github/workflows/clear-cache.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,42 @@

name: Clear cache

on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
schedule:
- cron: "0 0 1 * *" # Run at midnight on the first day of every month
workflow_dispatch:

# Restrict permissions by default
permissions:
actions: write
actions: write # Required for cache management

jobs:
clear-cache:
name: Clear cache
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Clear cache
uses: actions/github-script@v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
console.log("About to clear")
console.log("Starting cache cleanup...")
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})

let deletedCount = 0
for (const cache of caches.data.actions_caches) {
console.log(cache)
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
console.log(`Deleting cache: ${cache.key} (${cache.size_in_bytes} bytes)`)
try {
await github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
deletedCount++
} catch (error) {
console.error(`Failed to delete cache ${cache.key}: ${error.message}`)
}
}
console.log("Clear completed")
console.log(`Cache cleanup completed. Deleted ${deletedCount} caches.`)
22 changes: 22 additions & 0 deletions .github/workflows/combine-dependabot-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Combine Dependabot PRs

on:
schedule:
- cron: "0 1 * * 3" # Wednesday at 01:00
workflow_dispatch: # allows you to manually trigger the workflow

permissions:
contents: write
pull-requests: write
checks: read

jobs:
combine-prs:
name: Combine
runs-on: ubuntu-latest
steps:
- name: combine-prs
id: combine-prs
uses: github/combine-prs@2909f404763c3177a456e052bdb7f2e85d3a7cb3 # v5.2.0
with:
labels: combined-pr
64 changes: 0 additions & 64 deletions .github/workflows/notebook-bot.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/poetry-test.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/publish-dev-docs.yml

This file was deleted.

72 changes: 72 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build and Publish Docs

on:
push:
branches:
- develop
workflow_dispatch:
release:
types: [published]

# Ensure only one concurrent deployment
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}}
cancel-in-progress: true

# Restrict permissions by default
permissions:
contents: write # Required for committing to gh-pages
pages: write # Required for deploying to Pages
pull-requests: write # Required for PR comments

jobs:
deploy:
name: Publish Docs
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0

- name: 🐍 Install uv and set Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
with:
python-version: ${{ matrix.python-version }}
activate-environment: true


- name: 🔑 Create GitHub App token (mkdocs)
id: mkdocs_token
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
with:
app-id: ${{ secrets.MKDOCS_APP_ID }}
private-key: ${{ secrets.MKDOCS_PEM }}
owner: roboflow
repositories: mkdocs-material-insiders

- name: 🏗️ Install dependencies
run: |
uv pip install -r pyproject.toml --group docs
# Install mkdocs-material-insiders using the GitHub App token
uv pip install "git+https://roboflow:${{ steps.mkdocs_token.outputs.token }}@github.com/roboflow/[email protected]#egg=mkdocs-material[imaging]"

- name: ⚙️ Configure git for github-actions
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"

- name: 🚀 Deploy Development Docs
if: (github.event_name == 'push' && github.ref == 'refs/heads/develop') || github.event_name == 'workflow_dispatch'
run: |
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} uv run mike deploy --push develop

- name: 🚀 Deploy Release Docs
if: github.event_name == 'release' && github.event.action == 'published'
run: |
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} uv run mike deploy --push --update-aliases $latest_tag latest
47 changes: 47 additions & 0 deletions .github/workflows/publish-pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Publish Supervision Pre-Releases to PyPI

on:
push:
tags:
- "[0-9]+.[0-9]+[0-9]+.[0-9]+a[0-9]"
- "[0-9]+.[0-9]+[0-9]+.[0-9]+b[0-9]"
- "[0-9]+.[0-9]+[0-9]+.[0-9]+rc[0-9]"
workflow_dispatch:

permissions: {} # Explicitly remove all permissions by default

jobs:
publish-pre-release:
name: Publish Pre-release Package
runs-on: ubuntu-latest
environment:
name: test
url: https://pypi.org/project/supervision/
timeout-minutes: 10
permissions:
id-token: write # Required for PyPI publishing
contents: read # Required for checkout
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: 🐍 Install uv and set Python version ${{ matrix.python-version }}
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
with:
python-version: ${{ matrix.python-version }}
activate-environment: true


- name: 🏗️ Build source and wheel distributions
run: |
uv pip install -r pyproject.toml --group build
uv build
uv run twine check --strict dist/*

- name: 🚀 Publish to PyPi
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
attestations: true
Loading
Loading