conf
parent
e1c0e16619
commit
226cccbcf6
2
app.py
2
app.py
|
@ -102,7 +102,7 @@ def worker(id,source,region=None,stream=False):
|
||||||
print("Error opening video stream....")
|
print("Error opening video stream....")
|
||||||
break
|
break
|
||||||
continue
|
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)
|
use += " track:"+str((time.time()*1000) - bgn)
|
||||||
del(ret)
|
del(ret)
|
||||||
del(frame)
|
del(frame)
|
||||||
|
|
|
@ -6,13 +6,13 @@ track_high_thresh: 0.5 # threshold for the first association
|
||||||
track_low_thresh: 0.1 # threshold for the second 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
|
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
|
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)
|
# 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)
|
# mot20: False # for tracker evaluation(not used for now)
|
||||||
|
|
||||||
# BoT-SORT settings
|
# BoT-SORT settings
|
||||||
gmc_method: sparseOptFlow # method of global motion compensation
|
gmc_method: sparseOptFlow # method of global motion compensation
|
||||||
# ReID model related thresh (not supported yet)
|
# ReID model related thresh (not supported yet)
|
||||||
proximity_thresh: 0.5
|
proximity_thresh: 0.2
|
||||||
appearance_thresh: 0.25
|
appearance_thresh: 0.25
|
||||||
with_reid: False
|
with_reid: False
|
Loading…
Reference in New Issue