title: How to install and run tesseract OCR using PHP
body: <p>I am a newbie when it comes to tesseract. I want to implement a text search from images based on user input. I heard about tesseract and I think it's a good open source solution for implementing the search. My idea is to scan the images, get out the text and its coordinates from the image and highlight the portion of the text which the user input.</p>
  
  <p>I have downloaded the source code from  <a href="http://code.google.com/p/tesseract-ocr/downloads/list" rel="nofollow">http://code.google.com/p/tesseract-ocr/downloads/list</a>, but I couldn't find a <code>tesseract</code> executable in any source code for using it on the command line. If someone could guide me how to proceed so that I can accomplish my task, that would be of great help. I have seen in another link that we can use the <code>exec</code> command. But when I downloaded the source code and tried to run it, it always produces:</p>
  
  <blockquote>
    <p>Tesseract is not recognized as an internal or external ...</p>
  </blockquote>