Skip to content

Commit

Permalink
Merge pull request #881 from roboflow/feat/expand-supervision-support…
Browse files Browse the repository at this point in the history
…-until-0.30.0

Expand supervision support to 0.30.0
  • Loading branch information
PawelPeczek-Roboflow authored Dec 13, 2024
2 parents cbbf7f3 + b90d566 commit 4acd85b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements/_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ prometheus-fastapi-instrumentator<=6.0.0
redis~=5.0.0
requests>=2.32.0,<3.0.0
rich>=13.0.0,<13.10.0
supervision>=0.21.0,<=0.22.0
supervision>=0.25.1,<=0.30.0
pybase64~=1.0.0
scikit-image>=0.19.0,<=0.24.0
requests-toolbelt~=1.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.cli.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ docker>=7.0.0,<8.0.0
typer>=0.9.0,<=0.12.5
rich>=13.0.0,<13.10.0
PyYAML~=6.0.0
supervision>=0.21.0,<=0.22.0
supervision>=0.25.1,<=0.30.0
opencv-python>=4.8.1.78,<=4.10.0.84
tqdm>=4.0.0,<5.0.0
nvidia-ml-py<13.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.sdk.http.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ requests>=2.32.0,<3.0.0
dataclasses-json~=0.6.0
opencv-python>=4.8.1.78,<=4.10.0.84
pillow>=9.0.0,<11.0
supervision>=0.21.0,<=0.22.0
supervision>=0.25.1,<=0.30.0
numpy<=1.26.4
aiohttp>=3.9.0,<=3.10.11
backoff~=2.2.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.test.unit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pytest-timeout>=2.2.0
httpx>=0.25.1,<0.28.0
uvicorn<=0.22.0
aioresponses>=0.7.6
supervision>=0.21.0,<=0.22.0
supervision>=0.25.1,<=0.30.0
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def slicer_callback(image_slice: np.ndarray):
callback=slicer_callback,
slice_wh=(640, 640),
overlap_ratio_wh=(0.2, 0.2),
overlap_filter_strategy=sv.OverlapFilter.NON_MAX_SUPPRESSION,
overlap_filter=sv.OverlapFilter.NON_MAX_SUPPRESSION,
iou_threshold=0.3,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def test_workflow_with_tracker(
first_crowd_frame_tracker_ids == second_crowd_frame_tracker_ids
), "The same image, expected no tracker IDs change"
assert first_license_plate_frame_tracker_ids == [
15,
16,
17,
], "External IDs for all trackers are global, hence we offset by numer of all ever generated tracker IDs"
1,
2,
3,
], "Expected tracker IDs to be generated sequentially, independent of other trackers"

0 comments on commit 4acd85b

Please sign in to comment.