From 226cccbcf6dcec2b275ed2bae25ebf881c08ab5a Mon Sep 17 00:00:00 2001 From: luanhailiang Date: Tue, 26 Sep 2023 19:07:59 +0800 Subject: [PATCH] conf --- app.py | 2 +- botsort.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 68f05bb..665d848 100644 --- a/app.py +++ b/app.py @@ -102,7 +102,7 @@ def worker(id,source,region=None,stream=False): print("Error opening video stream....") break continue - result = model.track(frame,show=False,stream=False,persist=True,device=int(id)%4,tracker='botsort.yaml') + result = model.track(frame,device=int(id)%4,tracker='botsort.yaml') use += " track:"+str((time.time()*1000) - bgn) del(ret) del(frame) diff --git a/botsort.yaml b/botsort.yaml index 83be25a..eba8d6b 100644 --- a/botsort.yaml +++ b/botsort.yaml @@ -6,13 +6,13 @@ track_high_thresh: 0.5 # threshold for the first association track_low_thresh: 0.1 # threshold for the second association new_track_thresh: 0.6 # threshold for init new track if the detection does not match any tracks track_buffer: 30 # buffer to calculate the time when to remove tracks -match_thresh: 0.8 # threshold for matching tracks +match_thresh: 0.3 # threshold for matching tracks # min_box_area: 10 # threshold for min box areas(for tracker evaluation, not used for now) # mot20: False # for tracker evaluation(not used for now) # BoT-SORT settings gmc_method: sparseOptFlow # method of global motion compensation # ReID model related thresh (not supported yet) -proximity_thresh: 0.5 +proximity_thresh: 0.2 appearance_thresh: 0.25 with_reid: False \ No newline at end of file