title: Connected Character segmentation in OpenCV
body: <p>What is a good method to segment characters that are united as in the following figure, knowing that:</p>
  
  <ul>
  <li>characters have this font, but the font size varies based on the image size</li>
  <li>only isolated groups of characters from the image are connected</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/K94W3.png" alt="enter image description here"></p>
  
  <p>Also, how can i detect if in a given bounding box, there are 2 or more letters which are connected?</p>
  
  <p>I tried with checking for width > height for detecting connected characters but it doesn't work for the blue groups in the image. </p>
  
  <p>I also tried a segmentation method based on:
  <a href="http://cdn.intechopen.com/pdfs/40725/InTech-Preprocessing_for_images_captured_by_cameras.pdf" rel="noreferrer">Article section 3.4</a>
  for separating characters but got poor results.</p>