Skip to content

Commit

Permalink
update imported tracker name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikel Broström committed Oct 1, 2024
1 parent f112f71 commit e105138
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/performance/test_tracking_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from boxmot import (
StrongSort, BotSort, DeepOcSort, OcSort, ByteTrack, ImprAssocTrack, get_tracker_config, create_tracker,
)
from tests.test_config import MOTION_ONLY_TRACKING_METHODS, MOTION_N_APPEARANCE_TRACKING_METHODS
from tests.test_config import MOTION_ONLY_TRACKING_NAMES, MOTION_N_APPEARANCE_TRACKING_NAMES


@pytest.mark.parametrize("tracker_type", MOTION_ONLY_TRACKING_METHODS)
@pytest.mark.parametrize("tracker_type", MOTION_ONLY_TRACKING_NAMES)
def test_motion_tracker_update_time(tracker_type):
tracker_conf = get_tracker_config(tracker_type)
tracker = create_tracker(
Expand Down Expand Up @@ -40,7 +40,7 @@ def test_motion_tracker_update_time(tracker_type):
assert elapsed_time_per_iteration < max_allowed_time, f"Tracking algorithms processing time exceeds the allowed limit: {elapsed_time_per_iteration} > {max_allowed_time}"


@pytest.mark.parametrize("tracker_type", MOTION_N_APPEARANCE_TRACKING_METHODS)
@pytest.mark.parametrize("tracker_type", MOTION_N_APPEARANCE_TRACKING_NAMES)
def test_motion_n_appearance_tracker_update_time(tracker_type):
tracker_conf = get_tracker_config(tracker_type)
tracker = create_tracker(
Expand Down
4 changes: 2 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
StrongSort, BotSort, DeepOcSort, OcSort, ByteTrack, ImprAssocTrack, get_tracker_config, create_tracker,
)

MOTION_N_APPEARANCE_TRACKING_METHODS = ['botsort', 'deepocsort', 'strongsort', 'imprassoc']
MOTION_ONLY_TRACKING_METHODS = ['ocsort', 'bytetrack']
MOTION_N_APPEARANCE_TRACKING_NAMES = ['botsort', 'deepocsort', 'strongsort', 'imprassoc']
MOTION_ONLY_TRACKING_NAMES = ['ocsort', 'bytetrack']

MOTION_N_APPEARANCE_TRACKING_METHODS=[StrongSort, BotSort, DeepOcSort, ImprAssocTrack]
MOTION_ONLY_TRACKING_METHODS=[OcSort, ByteTrack]
Expand Down

0 comments on commit e105138

Please sign in to comment.