title: Recognize the characters of license plate
body: <p>I try to recognize the characters of license plates using OCR, but my licence plate have worse quality. <a href="https://i.stack.imgur.com/a3QZd.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/a3QZd.jpg" alt="enter image description here"></a></p>
  
  <p>I'm trying to somehow improve character recognition for OCR, but my best result is this:result. <a href="https://i.stack.imgur.com/AC0gz.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/AC0gz.jpg" alt="enter image description here"></a></p>
  
  <p>And even tesseract on this picture does not recognize any character. My code is:</p>
  
  <pre class="lang-c++ prettyprint-override"><code>#include &lt;cv.h&gt;         // open cv general include file
  #include &lt;highgui.h&gt;    // open cv GUI include file
  #include &lt;iostream&gt;     // standard C++ I/O
  #include &lt;opencv2/highgui/highgui.hpp&gt;
  #include &lt;opencv2/imgproc/imgproc.hpp&gt;
  #include &lt;string&gt;
  
  using namespace cv;
  
  int main( int argc, char** argv )
  {
      Mat src;
      Mat dst;
  
      Mat const structure_elem = getStructuringElement(
                           MORPH_RECT, Size(2,2));
  
      src = imread(argv[1], CV_LOAD_IMAGE_COLOR);   // Read the file
  
      cvtColor(src,src,CV_BGR2GRAY);
      imshow( "plate", src );
  
      GaussianBlur(src, src, Size(1,1), 1.5, 1.5);
      imshow( "blur", src );
  
      equalizeHist(src, src);
      imshow( "equalize", src );
  
      adaptiveThreshold(src, src, 255, ADAPTIVE_THRESH_GAUSSIAN_C, CV_THRESH_BINARY, 15, -1);
      imshow( "threshold", src );
  
      morphologyEx(src, src, MORPH_CLOSE, structure_elem);
      imshow( "morphological operation", src );
  
      imwrite("end.jpg", src);
  
      waitKey(0);
      return 0;
  }
  </code></pre>
  
  <p>And my question is, do you know how to achieve better results? More clear image? Despite having my licence plate worse quality, so that the result could read OCR (for example Tesseract).</p>
  
  <p>Thank you for answers. Really I do not know how to do it.</p>