title: Character recognition (OCR algorithm)
body: <p>I am working on a project in which I have to develop OCR Algorithm ( I have to read the text from Image and then convert it to different language ).So my first task is to get text from image.</p>
  
  <p>Steps to complete first task.</p>
  
  <ol>
  <li>Loading any image format (bmp, jpg, png) from given source.  Then convert the image to grayscale and binarize it using the threshold value (Otsu algorithm). //completed(How to remove noise from output Image???)</li>
  </ol>
  
  <p>Results</p>
  
  <p><img src="https://i.stack.imgur.com/vy4p9.jpg" alt="Input Image"></p>
  
  <p><img src="https://i.stack.imgur.com/Kx0iV.jpg" alt="Output Image"></p>
  
  <ol start="2">
  <li><p>Detecting image features like resolution and inversion. So that we can finally convert it to a straightened image for further processing.  (completed the code of rotation of Image but not able to detect Image angle about which we have to rotate the Image,So still working on angle detection part)                 </p></li>
  <li><p>Lines detection and removing. This step is required to improve page layout analysis, to achieve better recognition quality for underlined text, to detect tables, etc.(Decided To Complete that part in End) </p></li>
  <li><p>Page layout analysis. In this step I am trying to identify the text zones present in the image. So that only that portion is used for recognition and rest of the region is left out.</p></li>
  <li><p>Detection of text lines and words. Here we also need to take care of different font sizes and small spaces between words.</p></li>
  <li><p>Recognition of characters. This is the main algorithm of OCR; an image of every character must be converted to appropriate character code. Sometimes this algorithm produces several character codes for uncertain images. For instance, recognition of the image of "I" character can produce "I", "|" "1", "l" codes and the final character code will be selected later.</p></li>
  <li><p>Saving results to selected output format, for instance, searchable PDF, DOC, RTF, TXT. It is important to save original page layout: columns, fonts, colors, pictures, background and so on.</p></li>
  </ol>
  
  <p>So I need help in part6.I have completed line detection part (get n Images from a paragraph containing n lines) but stuck in next part getting words and character recognisation.If you know good links related to OCR and character recognisation part then please post Here.</p>
  
  <p>For character recognisation I am thinking to use asprise(Java library) <a href="http://asprise.com/product/ocr/index.php?lang=java">http://asprise.com/product/ocr/index.php?lang=java</a></p>