I'm using yolov5 for object detection and I want to remove bounding boxes that are almost contained within each other. In my case a small bbox is contained into a big bbox. So IoU is small and cannot be used to remove this case. Actually this happened while I had a small iou for inference, hence my question
I've seen that there is an agnostic parameter but as mentioned in a previous issue it's only for "different classes" and here my two bbox comes from the same class.
Any help is appreciated