title: word segmentation using opencv
body: <p>I am working on some scanned text images and I need to highlight all the words in that image.I know the problem is equivalent to finding subimages with extra whitespaces around them.</p>
  
  <p>OCR cannot be used and I just need to outline each word with a border.
  Can someone suggest how it might be done using OpenCV.</p>
  
  <p>I have tried reading about thresholding and segmenting.I am just looking for someone to point me to some relevant material.</p>