title: How to do character matching in OpenCV
body: <p>I am trying to develop a character matching application which will take an image from a camera and match it with a provided image template. So far I have tried <code>matchShapes</code> of contours which is not working correctly on characters, it's working fine for simple shapes. I tried using <code>matchTemplate</code> but that's also not working correctly if I change size, font or rotation of character written in image captured from camera and try matching it with template image.</p>
  
  <p>I am now thinking I need to do feature extraction after segmenting the camera image in sets and compare these sets with a feature set of reference images. Can anyone please give me a starting off direction or suggestion.</p>
  
  <p>For example, this is an image from camera</p>
  
  <p><img src="https://i.stack.imgur.com/yEDDG.jpg" alt="enter image description here"></p>
  
  <p>and I need to find a template image</p>
  
  <p><img src="https://i.stack.imgur.com/OyaE5.png" alt="enter image description here"></p>