ensemble-objdet
ensemble-objdet copied to clipboard
Bug in the code
dets = [
[ [5.0,5.01,1.0,1.0,0,0.9] ],
[[0.2, 0.1, 0.9, 1.1, 0, 0.8],[5.0, 5.0, 1.0 , 1.0, 0, 0.9]],
[[5.0,5.0,1.0,1.0,0,0.9]], [[5.0,5.0,1.0,1.0,0,0.9]], [[5.0,5.0,1.0,1.0,0,0.9]], [[5.0,5.0,1.0,1.0,0,0.9]]
]
For such a detection your code gives very low confidence for [5.0,5.01,1.0,1.0,0,0.9, 1] because of not in function of python because it considers these detections to be same. Ideally you should have an id for the input detectors for it to work correctly
like this :+1:
dets = [
[ [5.0,5.01,1.0,1.0,0,0.9, 1] ],
[[0.2, 0.1, 0.9, 1.1, 0, 0.8, 2],[5.0, 5.0, 1.0 , 1.0, 0, 0.9, 2]],
[[5.0,5.0,1.0,1.0,0,0.9, 3]], [[5.0,5.0,1.0,1.0,0,0.9, 4]], [[5.0,5.0,1.0,1.0,0,0.9, 5]], [[5.0,5.0,1.0,1.0,0,0.9, 6]]
]