title: help with OCR application - Matlab
body: <p>I'm really need your help, I'm desperate.</p>
  
  <p>I'm trying to build an OCR application and I'm facing some problems that I can't solve alone.
  for now I'm cutting the plate form the image and doing some filtering to reduce the noise.
  for example, this is the plate after cutting it from the image and after filtering:</p>
  
  <p><img src="https://i.stack.imgur.com/FdJcF.jpg" alt="enter image description here"></p>
  
  <p>now because that the plate is in angle and because that there is still noise (like above the numbers 9 and 3), the identification process(using corr2) is giving me the wrong numbers.</p>
  
  <p>eg:</p>
  
  <p><img src="https://i.stack.imgur.com/HwK7l.jpg" alt="enter image description here"></p>
  
  <p>as you see the only problem is in the numbers 9 and 3(at the left side) where the noise is disturbing.</p>
  
  <p>I thought to stretch the image so that each number will fit all the square (without the black lines at the top), but I can't find any method to do this that it will work for every image. </p>
  
  <p><strong>EDIT:</strong> this is the results from the corr2 function, I marked in red the results of the numbers 9 and 3.   <img src="https://i.stack.imgur.com/dP1Zf.jpg" alt="enter image description here"></p>
  
  <p>please give me an idea or working solution...</p>
  
  <p>any help will be greatly appreciated.</p>