title: Windows 7 OCR API
body: <p>I have been reviewing replacements for the Office 2007 MODI OCR (OneNote's 2010 solution has lesser quality/results than 2007 :-( ). I notice that Windows 7 contains an OCR library once you install the <a href="http://technet.microsoft.com/en-us/library/dd755985%28WS.10%29.aspx" rel="noreferrer">optional tiff filter</a>   </p>
  
  <p>The OCR component gets installed to </p>
  
  <pre><code>%programfiles%\Common Files\microsoft shared\OCR\7.0\xocr3.psp.dll 
  </code></pre>
  
  <p>but I don't see any API for it?</p>
  
  <p>Does anyone see how this can be interfaced preferably in C#?</p>
  
  <p>ANSWER: Found the soluation, once the optional tiff ifilter win7 feature is installed, i can then get a textoutput of a screenshot using the code/exe on <a href="http://www.codeproject.com/KB/cs/IFilter.aspx" rel="noreferrer">http://www.codeproject.com/KB/cs/IFilter.aspx</a>. Also if add the same [HKEY_CLASSES_ROOT.tiff\PersistentHandler] for .png and .jpg then OCR also works for jpg and png's.</p>