title: connected component labeling in python
body: <p>How to implement connected component labeling in python with open cv?
  This is an image example:</p>
  
  <p><img src="https://i.stack.imgur.com/eGaIy.jpg" /></p>
  
  <p>I need connected component labeling to separate objects on a black and white image.</p>