Hi
I am trying to detect objects (many small insects Ex:bugs) in the given image (having various dusts, leaves, etc...) & highlight those detected objects in red boxes. Tried with various methods like 1. Canny 2. findContours 3. matchShapes (using reference insect/bugs images) 4. rectangle (if matchShapes output < threshold)
But results are not impressive.
Attached the original input and expected output images. Please let me know if anyone achieved this.