In my number plate recognition application(UK number plates) I have done a rectangle detection and I am using several criterion such as width/length ratio of the number plate as well as a minimum width and length of a number plate. I have managed to reduce the non-number plate areas significantly. My last criterion would be to get the number of connected components for each candidate region so that I can verify the true number plate region of the vehicle image which I read this on a research paper.
I am using C# and Aforge.Net library. But how can I use ConnectedComponentsLabeling to obtain the number of connected Components in the number plate?