I am trying to implement NMS (Non-Maxima Suppression) to solve the issue of multiple and overlapping bounding box when detecting an object. But, the NMS function that I am using require a list of bounding boxes as an input.
This is the NMS function that I am referring to,
However, the output that that I obtain from net.Detect are as shown below, which are not in the format that I can feed into the NMS function.
So, my questions are:
- How can I get all of the overlapping bounding boxes in a “LIST”? So that I can feed into the NMS function and ensure it works as expected.
- Is there any other method to apply NMS? Maybe via Jetson Inference Package or something?