Click here to Skip to main content
15,889,315 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using OpenCV 3.1 (C++). i need to find the overlapped objects counts in an image.

What I have tried:

I used find contours to get a separated object count in an image.
Posted
Updated 12-Mar-16 0:24am

1 solution

It's possible for simple objects, like circles or rectangles, but algorithms may not work with more complex objects.
Try this:
Count and segment overlapping objects with Watershed and Distance Transform | OpenCV Code[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900