There is no function that is named "Connected Component Analysis", but on google, you can find many interesting things that may help you (e.g.: findContours, or moments)
There is no function that is named "Connected Component Analysis", but on google, you can find many interesting things that may help you (e.g.: findContours, or moments)moments)
BTW, I am mistaking: I have found it, but it seems that it is just in OpenCV 3.0, because it is unknown, maybe I have not the last version of 2.4