-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[weighted_box_fussion] - an alternative for box_non_max_suppression
#268
Comments
@hardikdava I have yet to hear of this post-processing approach. Looks interesting. IS it better than NMS? |
@SkalskiP yes, it is better in terms of accuracy but not in terms of speed. You can learn about it more and direct comparision on this blogpost: https://learnopencv.com/weighted-boxes-fusion/ |
@hardikdava Did you implement the WBF? Even if Supervision doesnt accept the feature, I could use it for my current project. |
@hardikdava, if you have that implemented somewhere already, I'd love to see it. I know that you are probably super busy, but some of the open-source contributors may be able to add it to our codebase. |
I found this: https://github.com/ZFTurbo/Weighted-Boxes-Fusion which does most of the work, we just need the detections coordinates to be as % instead of absolute pixel values. The packages also does NMS which would be a feature overlap with the existing Supervision code. I dont know how we should handle this:
My working version of Supervision has drifted quite a bit from the current release. Anything I do on my side would probably not be mergeable in main. |
@AlainPilon Yes, I took reference from that project. @SkalskiP I can not contribute to open source projects due to my company policy. but I haven't started working on it. It was just an idea. But from my knowledge, it does not make effect on accuracy. The detection accuracy can boost by using SAHI. |
Sad to hear it :/ We miss you! |
box_non_max_suppression
We're reviving this one. Some context for new contributors:
We are now looking at two methods to solve this:
We don't know which is better, how it compares to our current We'd like to test it with images, videos, also an example where no-detection is being merged with some-detections. For testing with different models, some inspiration can be found here: https://supervision.roboflow.com/develop/how_to/detect_small_objects/ Code-wise, the implementation would result in a |
@sharingan000, how does this sound? Would you have the time to help out? |
Search before asking
Description
Current object detection models removes overlapping boxes by
nms
which can reduce accuracy of the final results. It can be avoided byWeighted Box Fusion
which can accepts all the prediction whether from a single model or multiple models.Reference: Weighted Box Fusion
Original Implementation: ensemble-boxes
Use case
Additional
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: