title: Segment, crop (bounding boxes) and labelling characters with openCV
body: <p>l have a set of images which represent a sequence of characters. l'm wonderning whether OpenCV or other techniques can segment and crop each character from the image. for instance :</p>
  
  <p>l have as input  </p>
  
  <p><a href="https://i.stack.imgur.com/zhTqG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zhTqG.png" alt="enter image description here"></a></p>
  
  <p>l want to get  :</p>
  
  <p><a href="https://i.stack.imgur.com/O7tsc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O7tsc.png" alt="enter image description here"></a>        is  5</p>
  
  <p><a href="https://i.stack.imgur.com/bRzGL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bRzGL.png" alt="enter image description here"></a>        is  0</p>
  
  <p><a href="https://i.stack.imgur.com/Cqslf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cqslf.png" alt="enter image description here"></a>        is  4</p>
  
  <p><a href="https://i.stack.imgur.com/SCDcn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SCDcn.png" alt="enter image description here"></a>        is  1</p>
  
  <p><a href="https://i.stack.imgur.com/HAm1t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HAm1t.png" alt="enter image description here"></a>        is  9</p>
  
  <p><a href="https://i.stack.imgur.com/XNOsi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XNOsi.png" alt="enter image description here"></a>        is   2</p>