Reputation: 113
My goal is to separate all the objects from each other. After that I could use blob or detection so that I can measure the area of each one to make a Histogram with the size distribution of the objects.
Original image:
The problem is that the objects are merging with each other, mainly due to their shadow and/or their proximity to each other.
Final results - bounding box:
Binary image:
I have tried canny edge detection, holistically-nested-edge-detection, and still having this issue. What can I do to fix it?
Upvotes: 0
Views: 712
Reputation: 1
you can get the box coordinates for each detection and extract the detect image based on those coordinates and then apply your filter.
Check out this post on region of interest https://stackoverflow.com/a/58211775/14770223
Upvotes: 0