Hello
I am using contours to detect the circles by their area. The problem arises when the balls are next to each other. I have tried the erode function but I can't get it right.
This is a sample picture:
This is the binary image I get after using inRange.
How would you guys tackle this problem? Would you use erode? In that case, which parameters would you give to the function? Is there any other way than erode, which is not very complex?