title: Error with 'tesseract/baseapi.h'
body: <p>When I run this program in opencv, I get the following error.</p>
  
  <blockquote>
    <p>fatal error C1083: Cannot open include file: 'tesseract/baseapi.h': No such file or directory</p>
  </blockquote>
  
  <pre><code>#include &lt;opencv2/imgproc/imgproc.hpp&gt;
  #include &lt;opencv2/highgui/highgui.hpp&gt;
  #include &lt;tesseract/baseapi.h&gt;
  #include &lt;iostream&gt;
  
  // Covert RGB to CMYK using the formula from
  void rgb2cmyk(cv::Mat&amp; src, std::vector&lt;cv::Mat&gt;&amp; cmyk)
  {
      CV_Assert(src.type() == CV_8UC3);
  
      cmyk.clear();
      for (int i = 0; i &lt; 4; ++i)
          cmyk.push_back(cv::Mat(src.size(), CV_32F));
  
      for (int i = 0; i &lt; src.rows; ++i)
      {
          for (int j = 0; j &lt; src.cols; ++j)
          {
              cv::Vec3b p = src.at&lt;cv::Vec3b&gt;(i,j);
  
              float r = p[2] / 255.;
              float g = p[1] / 255.;
              float b = p[0] / 255.;
              float k = (1 - std::max(std::max(r,g),b));
  
              cmyk[0].at&lt;float&gt;(i,j) = (1 - r - k) / (1 - k); 
              cmyk[1].at&lt;float&gt;(i,j) = (1 - g - k) / (1 - k);
              cmyk[2].at&lt;float&gt;(i,j) = (1 - b - k) / (1 - k);
              cmyk[3].at&lt;float&gt;(i,j) = k;
          }
      }
  }
  </code></pre>