Multiple Object Problem with Siam Mask
berna-ylmz opened this issue · 0 comments
berna-ylmz commented
I try to use siam mask tracking. Firstly, I run single object and bounding box is true for the object. But same object has different bounding box(in same frame) with below code for multi object tracking. I create tracker list for multi object tracking.
trackers = []
#detect process...
for i in range(n_instances):
state = siamese_init(frame, target_pos, target_sz, siammask, cfg['hp'], device=deviceSiam)
trackers.append([state,label])
for state,class_name in trackers:
state = siamese_track(state, frame, mask_enable=True, refine_enable=True, device=deviceSiam)
.........
Where am I doing wrong ? Can you help me ,please ?