title: Tesseract detect lines
body: <p>I am working on an OCR Application in Objective-C. So far I have image recognition working fairly good but I am interested in detecting lines/rows for potentially better and nicer results.</p>
  
  <p>I have both the tesseract library and leptonica library in my project. I looked at the baseapi.h for tesseract and I believe what I am looking for is the function called</p>
  
  <pre><code>    Boxa* GetTextlines(Pixa** pixa, int** blockids);
  </code></pre>
  
  <p>I am not sure how to use this function within my project or whether it is the correct function I seek. Can anyone offer any insight on the matter?</p>
  
  <p>Thank you!</p>