1 | initial version |
What I am doing to stabilize my detections over time is keeping track of which bounding boxes have been there before. If the overlap of two bounding boxes is larger then lets say 95% (since it moves only 2-3 pixels) I do not draw the new detection but just confirm the already existing one. This does however request you for each frame to check against a set of bounding boxes, but since I am doing postprocessing I don't mind the extra time it takes.