Issue with NMM Merging Mechanism for Dense Rice Grain Images #1361
Unanswered
SaiJeevanPuchakayala
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Unfortunately, this is a tricky case. Tweaking with the parameters is the right approach. You may also try Otherwise, you'll need a better-trained detection or instance segmentation model. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Question
Issue with the stitching mechanism of detected images using Non-Maximum Merging (NMM) in the supervision library. The merging mechanism does not seem to be working correctly on dense rice grain images. The code slices a high-resolution image into smaller 512x512 images for detection and attempts to merge them back to the original 2048x2048 image. However, the merging results are not accurate for densely packed objects.
Steps to Reproduce:
And here’s what I’m seeing: instead of nicely merged detections, I get overlapping and misaligned masks. The NMM just doesn't seem to handle these dense objects well.
Sample Image: The image used is a high-resolution dense rice grain image.
Expected Behavior: The sliced 512x512 images should be correctly merged back to the original 2048x2048 image with accurate detections.
Observed Behavior: The merging mechanism of NMM does not seem to work as expected on dense rice grain images. The detections are not accurately merged, leading to overlapping and misaligned masks.
What I’ve Tried:
Additional
No response
Beta Was this translation helpful? Give feedback.
All reactions